Template:T-aids

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(add general linking!)
(premature update)
Line 1: Line 1:
 
<noinclude>{{Doc-page-head|border=3px solid blue}}
 
<noinclude>{{Doc-page-head|border=3px solid blue}}
[[Category:Self-documenting templates|{{PAGENAME}}]]
 
[[Category:Template documentation pages|{{PAGENAME}}]]
 
 
;usage
 
;usage
 
:If the first auto-parameter <code><nowiki> {{{1}}} </nowiki></code> is given,  
 
:If the first auto-parameter <code><nowiki> {{{1}}} </nowiki></code> is given,  
Line 7: Line 5:
  
 
;The purpose of this template is to provide the common documentation message below for a number of templates.<hr/>
 
;The purpose of this template is to provide the common documentation message below for a number of templates.<hr/>
 +
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
;usage</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:{{{1|Typing-aid templates}}}]] page.<!--
+
:This template is a typing-aid template which is used only in the Template Namespace inside the template documentation's<br/><code> &lt;noinclude> {{...}} &lt;/noinclude> </code>block to automatically add the template to the [[:category:{{{1|Typing-aid templates}}}]] page.<!--
  
 
  -->
 
  -->
Line 31: Line 30:
  
 
  --><includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]] }} </includeonly>
 
  --><includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]] }} </includeonly>
</div>
+
</div><noinclude>
 +
[[Category:Self-documenting templates|{{PAGENAME}}]]
 +
[[Category:Template documentation pages|{{PAGENAME}}]]
 +
 
 +
</noinclude>

Revision as of 00:38, 6 July 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
{{TypeTaid}} — auto-category= Category:Typing-aid templates
{{SelfTdoc}} — auto-category= Category:Self-documenting templates
Personal tools