Template:TalkPageIntro: Difference between revisions

From electowiki
(Fixed up the template a little bit)
(Making the text that gets inserted a little bit clearer)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>This is the talk page for {{{page|}}}. 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>This is an introductory section for a talk page. Go to [[Help:Talk]] to learn more about talk pages.
 
  +
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 ==
 
=== Example 1 ===
 
=== Example 1 ===
:<code><nowiki>{{TalkPageIntro|page=Example}}</nowiki></code>
+
:<code><nowiki>{{TalkPageIntro}}</nowiki></code>
 
=== Result 1 ===
 
=== Result 1 ===
  +
:<big><b>Talk:(''>>YOUR_PAGE_HERE<<'')</b></big>
  +
:{{TalkPageIntro|page=(>>YOUR_PAGE_HERE<<)}}
  +
  +
=== Example 2 ===
  +
:<code><nowiki>{{TalkPageIntro|page=Example}}</nowiki></code>
  +
=== Result 2 ===
 
:<big><b>Talk:Example</b></big>
 
:<big><b>Talk:Example</b></big>
 
:{{TalkPageIntro|page=Example}}
 
:{{TalkPageIntro|page=Example}}
Line 13: Line 20:
 
<templatedata>
 
<templatedata>
 
{
 
{
"params": {},
+
"params": {
  +
"page": {
"description": "This is an introductory section for a talk page. See [[Help:Talk]] to learn more about talk pages."
 
  +
"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."
 
}
 
}
 
</templatedata>
 
</templatedata>

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[edit | edit source]

Example 1[edit | edit source]

{{TalkPageIntro}}

Result 1[edit | edit source]

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[edit | edit source]

{{TalkPageIntro|page=Example}}

Result 2[edit | edit source]

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[edit | edit source]

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

Template parameters

ParameterDescriptionTypeStatus
pagepage

Page name

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