Template:T-aids

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(fix cats)
(provide for 2nd auto-cat)
Line 2: Line 2:
 
[[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.<hr/>
+
;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>
 
</noinclude>
 
;usage
 
;usage
This template is a typing-aid template which is used only in the Template Namespace inside the documentation <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.<!--
  
 
  -->
 
  -->
 
{| bgcolor="#f9f9f9" border="3" cellspacing="2"<!--
 
{| bgcolor="#f9f9f9" border="3" cellspacing="2"<!--
  
  --> style="width:90%; float:center; padding:.3em;"<!--
+
  --> style="width:90%; float:center; padding:.3em;"
 
+
</noinclude><!--
--><!--
+
  
 
  -->
 
  -->
Line 26: Line 26:
 
| <nowiki>{{</nowiki>[[:Template:AutoTcat| tbdl]]<nowiki>}}</nowiki> || &mdash; auto-category= ||[[:Category:tbdl]]
 
| <nowiki>{{</nowiki>[[:Template:AutoTcat| tbdl]]<nowiki>}}</nowiki> || &mdash; auto-category= ||[[:Category:tbdl]]
 
|}
 
|}
</div>
+
</div><!--
 +
 
 +
--><includeonly>{{If:{{{1|}}}| [[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]] </includeonly>

Revision as of 23:05, 17 June 2013

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

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
Personal tools