Template:T-aids

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(tweak)
(autocats)
Line 49: Line 49:
 
|} <!--
 
|} <!--
  
  --><includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]] }} </includeonly>
+
  -->
 
</div>
 
</div>
 
[[Category:Self-documenting templates|{{PAGENAME}}]]
 
[[Category:Self-documenting templates|{{PAGENAME}}]]
Line 55: Line 55:
 
[[Category:Template documentation pages|{{PAGENAME}}]]
 
[[Category:Template documentation pages|{{PAGENAME}}]]
  
</noinclude>
+
</noinclude><includeonly>
 +
{{#if:{{{1|}}}|[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]] }}
 +
{{TypeTaid}}
 +
{{AutoTcat}}</includeonly>

Revision as of 00:02, 11 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 documentation page is to provide the common documentation message below for a number of templates.

 

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:Typing-aid 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).


This is one of series of TrainzOnline typing-aid and auto-categorization templates
most of which share the characteristics
 • a four letter mnemonic identifier
 • followed by capital 'T' as a middle character,
 • then another mnemonic as suffix.
{{ AutoTcat}}  corresponding auto-category is   Category:Auto-categorizing templates
{{ FormTemp}}  corresponding auto-category is   Category:Formatting templates
{{HW2FUN}}  corresponding auto-category is   Category:How-to fundamentals
{{ LinkTemp}}  corresponding auto-category is   Category:internal link templates
{{ LinkTnav}}  corresponding auto-category is   Category:Link and Navigation templates
{{MainTemp}}  corresponding auto-category is   Category:Maintenance templates
{{TypeTaid}}  corresponding auto-category is   Category:Typing-aid templates
{{SelfTdoc}}  corresponding auto-category is   Category:Self-documenting templates
Views
Personal tools
Navigation
Toolbox