Template:T-aids

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(adj, ++{{LinkSubT}})
(add pipe parameter to match practices)
 
(One intermediate revision by one user not shown)
Line 17: Line 17:
 
{| <noinclude> style="border:2px solid blue;" </noinclude>
 
{| <noinclude> style="border:2px solid blue;" </noinclude>
 
|
 
|
{| bgcolor="#f9f9f9" border="1" cellspacing="2" cellpadding="1.3em"<!--
+
{| bgcolor="#f9f9f9" border="1" cellspacing="2" cellpadding="1.3em" vertical-align="center"<!--
  
  --> style="width:auto; float:center; padding:.3em;"<!--
+
  --> style="width:auto; float:center; padding:.3em; vertical-align:center; "<!--
  
 
  -->
 
  -->
 
|-bgcolor="white"
 
|-bgcolor="white"
|colspan="3"|
+
|colspan="2"|
 
{| style="background:#ffffaa; border:1px solid blue; text-align:left;" cellpadding="3" cellspacing="1" border=1
 
{| style="background:#ffffaa; border:1px solid blue; text-align:left;" cellpadding="3" cellspacing="1" border=1
 
!
 
!
Line 29: Line 29:
 
|}
 
|}
 
|-
 
|-
| <nowiki>{{</nowiki>[[Template:AutoTcat| AutoTcat]]<nowiki>}}</nowiki> || &nbsp;corresponding auto-category is &nbsp;||[[:Category:Auto-categorizing templates]]
+
!colspan="2" |<br/><big>{{center|Typing-aid/categorizing templates following the naming pattern}}</big>
 
|-
 
|-
| <nowiki>{{</nowiki>[[:Template:FormTemp| FormTemp]]<nowiki>}}</nowiki> || &nbsp;corresponding auto-category is &nbsp;||[[:Category:Formatting templates]]
+
! width="21%" | &nbsp;Template
 +
! width="44%" | &nbsp; corresponding auto-category is: &nbsp;  
 
|-
 
|-
 
+
| <nowiki>{{</nowiki>[[Template:AutoTcat| AutoTcat]]<nowiki>}}</nowiki> || &nbsp; [[:Category:Auto-categorizing templates]]
| <nowiki>{{</nowiki>[[:Template:HW2FUN|HW2FUN]]<nowiki>}}</nowiki> || &nbsp;corresponding auto-category is &nbsp;||[[:Category:How-to fundamentals]]
+
 
|-
 
|-
 
+
| <nowiki>{{</nowiki>[[:Template:FormTemp| FormTemp]]<nowiki>}}</nowiki> || &nbsp; [[:Category:Formatting templates]]
| <nowiki>{{</nowiki>[[:Template:LinkTemp| LinkTemp]]<nowiki>}}</nowiki> || &nbsp;corresponding auto-category is &nbsp;||[[:Category:internal link templates]]
+
 
|-
 
|-
| <nowiki>{{</nowiki>[[:Template:LinkSubT| LinkSubT]]<nowiki>}}</nowiki> || &nbsp;corresponding auto-category is &nbsp;||[[:Category:internal link sub-templates]]
+
| <nowiki>{{</nowiki>[[:Template:HW2FUN|HW2FUN]]<nowiki>}}</nowiki> || &nbsp; [[:Category:How-to fundamentals]]
 
|-
 
|-
 +
| <nowiki>{{</nowiki>[[:Template:LinkTemp| LinkTemp]]<nowiki>}}</nowiki> || &nbsp; [[:Category:internal link templates]]
 +
|-
 +
| <nowiki>{{</nowiki>[[:Template:LinkSubT| LinkSubT]]<nowiki>}}</nowiki> || &nbsp; [[:Category:internal link sub-templates]]
 +
|-
 +
| <nowiki>{{</nowiki>[[:Template:LinkTnav| LinkTnav]]<nowiki>}}</nowiki> || &nbsp; [[:Category:Link and Navigation templates]]
 +
|-
 +
| <nowiki>{{</nowiki>[[:Template:MainTemp|MainTemp]]<nowiki>}}</nowiki> || &nbsp; [[:Category:Maintenance templates]]
 +
|-
 +
| <nowiki>{{</nowiki>[[:Template:TypeTaid|TypeTaid]]<nowiki>}}</nowiki> || &nbsp; [[:Category:Typing-aid templates]]
 +
|-
 +
| <nowiki>{{</nowiki>[[:Template:SelfTdoc|SelfTdoc]]<nowiki>}}</nowiki> || &nbsp; [[:Category:Self-documenting templates]]
 +
|}
 +
|-
 +
| &nbsp;
 +
|
 +
|
 +
|-
 +
|
 +
{|  style="background:#ffffff; border:1px solid blue; text-align:left;" cellpadding="3" cellspacing="1" border=1<!--
  
 
+
-->
| <nowiki>{{</nowiki>[[:Template:LinkTnav| LinkTnav]]<nowiki>}}</nowiki> || &nbsp;corresponding auto-category is &nbsp;||[[:Category:Link and Navigation templates]]
+
!colspan="2" |<br/><big>{{center|Typing-aid/categorizing templates following a different naming pattern}}</big>
 +
|-
 +
! width="21%" |Template
 +
! width="44%" |{{center|&nbsp;corresponding auto-category is: &nbsp;}}
 
|-
 
|-
| <nowiki>{{</nowiki>[[:Template:MainTemp|MainTemp]]<nowiki>}}</nowiki> || &nbsp;corresponding auto-category is &nbsp;||[[:Category:Maintenance templates]]
+
| {{Tl|icons}}  
 +
| &nbsp; [[:Category:Icons]]
 
|-
 
|-
| <nowiki>{{</nowiki>[[:Template:TypeTaid|TypeTaid]]<nowiki>}}</nowiki> || &nbsp;corresponding auto-category is &nbsp;||[[:Category:Typing-aid templates]]
+
| {{Tl|TBKr}} || &nbsp; [[:Category:Trainz Basic Knowledge references]]
 
|-
 
|-
| <nowiki>{{</nowiki>[[:Template:SelfTdoc|SelfTdoc]]<nowiki>}}</nowiki> || &nbsp;corresponding auto-category is &nbsp;||[[:Category:Self-documenting templates]]
 
 
|}
 
|}
 
|} <!--
 
|} <!--
Line 59: Line 80:
 
[[Category:Template documentation pages|{{PAGENAME}}]]
 
[[Category:Template documentation pages|{{PAGENAME}}]]
  
</noinclude><includeonly>
+
</noinclude><includeonly><!--
 
{{#if:{{{1|}}}|[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]] }}  
 
{{#if:{{{1|}}}|[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]] }}  
 +
--->[[Category:{{{1}}}|{{{pipe|{{{2|{{PAGENAME}} }}} }}}]]
 
{{TypeTaid}}
 
{{TypeTaid}}
 
{{AutoTcat}}</includeonly>
 
{{AutoTcat}}</includeonly>

Latest revision as of 07:04, 18 August 2013

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}}} ]] .
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.

Typing-aid/categorizing templates following the naming pattern
 Template   corresponding auto-category is:  
{{ AutoTcat}}   Category:Auto-categorizing templates
{{ FormTemp}}   Category:Formatting templates
{{HW2FUN}}   Category:How-to fundamentals
{{ LinkTemp}}   Category:internal link templates
{{ LinkSubT}}   Category:internal link sub-templates
{{ LinkTnav}}   Category:Link and Navigation templates
{{MainTemp}}   Category:Maintenance templates
{{TypeTaid}}   Category:Typing-aid templates
{{SelfTdoc}}   Category:Self-documenting templates
 

Typing-aid/categorizing templates following a different naming pattern
Template
 corresponding auto-category is:  
{{icons}}   Category:Icons
{{TBKr}}   Category:Trainz Basic Knowledge references
Views
Personal tools
Navigation
Toolbox