Template:TalkPageIntro: Difference between revisions

From electowiki
Content added Content deleted
(Fixed up the pagename parameter. TODO - make it work for pages outside the main namespace)
(Making the text that gets inserted a little bit clearer)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>This is the talk page for {{{page|{{PAGENAME}}}}}. Please visit [[Help:Talk]] to learn more about talk pages.
<includeonly>This is the discussion page (the "Talk:" page) for the page named "[[{{{page|{{BASEPAGENAME}}}}}]]". Please use this page to discuss the topic described in the corresponding page in the main namespace (i.e. the "[[{{{page|{{BASEPAGENAME}}}}}]]" page here on electowiki), or visit [[Help:Talk]] to learn more about talk pages.
</includeonly><noinclude>'''Template:TalkPageIntro''' is a template to insert at the top of a talk page.
</includeonly>
<noinclude>'''Template:TalkPageIntro''' is a template to insert at the top of a talk page.

This is an introductory section for a talk page. [[User:RobLa]] puts this on the top of some talk pages when he sees that folks don't understand how [[MediaWiki]] talk pages work. Visit [[mw:Help:Talk pages]] to see the official documentation for MediaWiki talk pages, or see [[Help:Talk pages]] to learn more about how they work here.


This is an introductory section for a talk page. [[User:RobLa]] puts this on the top of some talk pages when he sees that folks aren't following the norms for how [[MediaWiki]] talk pages work on places with lots of expert MediaWiki users (e.g. like [[English Wikipedia]]). Visit [[mw:Help:Talk pages]] to see the official documentation for MediaWiki talk pages, or see [[Help:Talk pages]] to learn more about how they work here on Electowiki.


== Examples ==
== Examples ==
Line 10: Line 8:
:<code><nowiki>{{TalkPageIntro}}</nowiki></code>
:<code><nowiki>{{TalkPageIntro}}</nowiki></code>
=== Result 1 ===
=== Result 1 ===
:<big><b>Talk:(''whatever page you put it on'')</b></big>
:<big><b>Talk:(''>>YOUR_PAGE_HERE<<'')</b></big>
:{{TalkPageIntro}}
:{{TalkPageIntro|page=(>>YOUR_PAGE_HERE<<)}}


=== Example 2 ===
=== Example 2 ===
Line 22: Line 20:
<templatedata>
<templatedata>
{
{
"params": {},
"params": {
"page": {
"suggested": true,
"description": "Page name",
"example": "{{TalkPageIntro|page=Example}}",
"default": "The BASEPAGENAME magic word from MediaWiki"
}
},
"description": "This is an introductory section for a talk page. See [[Help:Talk pages]] to learn more about talk pages."
"description": "This is an introductory section for a talk page. See [[Help:Talk pages]] to learn more about talk pages."
}
}

Latest revision as of 04:14, 2 December 2020

Template:TalkPageIntro is a template to insert at the top of a talk page.

This is an introductory section for a talk page. User:RobLa puts this on the top of some talk pages when he sees that folks aren't following the norms for how MediaWiki talk pages work on places with lots of expert MediaWiki users (e.g. like English Wikipedia). Visit mw:Help:Talk pages to see the official documentation for MediaWiki talk pages, or see Help:Talk pages to learn more about how they work here on Electowiki.

Examples

Example 1

{{TalkPageIntro}}

Result 1

Talk:(>>YOUR_PAGE_HERE<<)
This is the discussion page (the "Talk:" page) for the page named "[[(>>YOUR_PAGE_HERE<<)]]". Please use this page to discuss the topic described in the corresponding page in the main namespace (i.e. the "[[(>>YOUR_PAGE_HERE<<)]]" page here on electowiki), or visit Help:Talk to learn more about talk pages.


Example 2

{{TalkPageIntro|page=Example}}

Result 2

Talk:Example
This is the discussion page (the "Talk:" page) for the page named "Example". Please use this page to discuss the topic described in the corresponding page in the main namespace (i.e. the "Example" page here on electowiki), or visit Help:Talk to learn more about talk pages.


Parameters

This is an introductory section for a talk page. See [[Help:Talk pages]] to learn more about talk pages.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
pagepage

Page name

Default
The BASEPAGENAME magic word from MediaWiki
Example
{{TalkPageIntro|page=Example}}
Unknownsuggested