Template:T-aids: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Fabartus (talk | contribs)
provide for 2nd auto-cat
Fabartus (talk | contribs)
fix up
Line 1: Line 1:
<noinclude>{{Doc-page-head}}
<noinclude>{{Doc-page-head|border=3px solid blue}}
[[Category:Self-documenting templates|{{PAGENAME}}]]
[[Category:Self-documenting templates|{{PAGENAME}}]]
[[Category:Template documentation pages|{{PAGENAME}}]]
[[Category:Template documentation pages|{{PAGENAME}}]]
;This template provides the documentation message below for a number of templates.
:If the first auto-parameter <code><nowiki> {{{1}}} </nowiki></code> is given, that will also auto-categorize the template to  '''<code><nowiki> [[Category:{{{1}}} ]] </nowiki></code>'''.<hr/>
</noinclude>
;usage
;usage
:If the first auto-parameter <code><nowiki> {{{1}}} </nowiki></code> is given,
:that will also auto-categorize the <u>''calling template''</u> to  '''<code><nowiki> [[Category:{{{1}}} ]] </nowiki></code>'''.
;The purpose of this template is to provide the common documentation message below for a number of templates.<hr/>
</noinclude><includeonly>
;usage</includeonly>
This template is a typing-aid template which is used only in the Template Namespace inside the template documentation's <code> &lt;noinclude> {{...}} &lt;/noinclude> </code>block to automatically add the template to the [[:category:Typing-aid templates]] page.<!--
This template is a typing-aid template which is used only in the Template Namespace inside the template documentation's <code> &lt;noinclude> {{...}} &lt;/noinclude> </code>block to automatically add the template to the [[:category:Typing-aid templates]] page.<!--



Revision as of 13:11, 17 June 2013

usage
If the first auto-parameter {{{1}}} is given,
that will also auto-categorize the calling template to [[Category:{{{1}}} ]] .
The purpose of this template is to provide the common documentation message below for a number of templates.

This template is a typing-aid template which is used only in the Template Namespace inside the template documentation's <noinclude> … </noinclude> block to automatically add the template to the category:Typing-aid templates page.

This is one of series of TrainzOnline typing-aid and auto-categorization templates
which share the characteristics
 • a four letter mnemonic identifier
 • followed by capital 'T' as a middle character,
 • then another mnemonic as suffix.
{{ AutoTcat}} — auto-category= Category:Auto-categorizing templates
{{ LinkTnav}} — auto-category= Category:Link and Navigation templates
{{ tbdl1}} — auto-category= Category:Typing-aid templates
{{ tbdl}} — auto-category= Category:tbdl