Template:LinkSubT: Difference between revisions
From TrainzOnline
Jump to navigationJump to search
genesis |
add automessage |
||
| Line 1: | Line 1: | ||
[[category:Internal link sub-templates|{{{1|{{PAGENAME}} }}}]]<noinclude> | <noinclude>{{doc-page-head}}</noinclude> | ||
{{SelfTdoc}}{{AutoTcat}} | ;This is a section of a parent template... leave alone! | ||
{{{altmsg|}}}<includeonly> | |||
[[category:Internal link sub-templates|{{{1|{{PAGENAME}} }}}]]</includeonly><noinclude> | |||
{{SelfTdoc}} | |||
{{AutoTcat}} | |||
<br/> | |||
| |||
;usage/purpose | ;usage/purpose | ||
: | : This template is used solely inside other templates to 1st present the message above. It is designed specifically to tag and categorize templates which are subtemplates of other templates. | ||
: 2nd - This template auto-categorizes a template page to [[:category:Internal link sub-templates]] under the standard <code>|<nowiki> {{{1|{{PAGENAME}} }}}]]</nowiki></code> sorting parameterization scheme. | |||
: 3rd It will display a named parameter {{{ altmsg }}} under the message "This is a section..." message as a provisional need. | |||
| | ||
{{T-aids|Internal link sub-templates}} | {{T-aids|Internal link sub-templates}} | ||
</div> | </div> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 11:18, 12 July 2013
- This is a section of a parent template... leave alone!
- usage/purpose
- This template is used solely inside other templates to 1st present the message above. It is designed specifically to tag and categorize templates which are subtemplates of other templates.
- 2nd - This template auto-categorizes a template page to category:Internal link sub-templates under the standard
| {{{1|{{PAGENAME}} }}}]]sorting parameterization scheme. - 3rd It will display a named parameter {{{ altmsg }}} under the message "This is a section..." message as a provisional need.
This documentation portion has been transcluded from Template:T-aids (edit talk links history)
- usage
- If the first auto-parameter
{{{1}}}is given, - that will also auto-categorize the calling template to
[[Category:{{{1}}} ]].
- Common usage
- This template is one of a few typing-aid templates which are used primarily in the Template, Help and Main Namespaces.
- When used in Template pages, they must be located inside the template documentation's
<noinclude> … </noinclude>block to automatically add the template to the category:Internal link sub-templates page. - When used in the any namespaces, each will take the parameter |cat= to override the default category listed below, and the 1st default parameter
{{{1}}}to pipetrick the page to the string given by|1=string(the equivalent call form).
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||