Template:T-aids: Difference between revisions
From TrainzOnline
Jump to navigationJump to search
tweak |
add pipe parameter to match practices |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Doc-page-head|border=3px solid blue}} | {{Doc-page-head|border=3px solid blue}} | ||
This documentation portion {{wp|Wikipedia:transcluded|has been transcluded}} from {{Lts|T-aids}}<br/> | |||
;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 14: | Line 15: | ||
<br/> | <br/> | ||
{| style="border:2px solid blue;" | {| <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=" | |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 28: | Line 29: | ||
|} | |} | ||
|- | |- | ||
| < | !colspan="2" |<br/><big>{{center|Typing-aid/categorizing templates following the naming pattern}}</big> | ||
|- | |- | ||
| | ! width="21%" | Template | ||
! width="44%" | corresponding auto-category is: | |||
|- | |- | ||
| <nowiki>{{</nowiki>[[Template:AutoTcat| AutoTcat]]<nowiki>}}</nowiki> || [[:Category:Auto-categorizing templates]] | |||
| <nowiki>{{</nowiki>[[:Template:HW2FUN|HW2FUN]]<nowiki>}}</nowiki> || | |- | ||
| <nowiki>{{</nowiki>[[:Template:FormTemp| FormTemp]]<nowiki>}}</nowiki> || [[:Category:Formatting templates]] | |||
|- | |||
| <nowiki>{{</nowiki>[[:Template:HW2FUN|HW2FUN]]<nowiki>}}</nowiki> || [[:Category:How-to fundamentals]] | |||
|- | |||
| <nowiki>{{</nowiki>[[:Template:LinkTemp| LinkTemp]]<nowiki>}}</nowiki> || [[:Category:internal link templates]] | |||
|- | |||
| <nowiki>{{</nowiki>[[:Template:LinkSubT| LinkSubT]]<nowiki>}}</nowiki> || [[:Category:internal link sub-templates]] | |||
|- | |||
| <nowiki>{{</nowiki>[[:Template:LinkTnav| LinkTnav]]<nowiki>}}</nowiki> || [[:Category:Link and Navigation templates]] | |||
|- | |||
| <nowiki>{{</nowiki>[[:Template:MainTemp|MainTemp]]<nowiki>}}</nowiki> || [[:Category:Maintenance templates]] | |||
|- | |||
| <nowiki>{{</nowiki>[[:Template:TypeTaid|TypeTaid]]<nowiki>}}</nowiki> || [[:Category:Typing-aid templates]] | |||
|- | |||
| <nowiki>{{</nowiki>[[:Template:SelfTdoc|SelfTdoc]]<nowiki>}}</nowiki> || [[:Category:Self-documenting templates]] | |||
|} | |||
|- | |||
| | |||
| | |||
| | |||
|- | |- | ||
| | |||
{| style="background:#ffffff; border:1px solid blue; text-align:left;" cellpadding="3" cellspacing="1" border=1<!-- | |||
| < | --> | ||
!colspan="2" |<br/><big>{{center|Typing-aid/categorizing templates following a different naming pattern}}</big> | |||
|- | |- | ||
! width="21%" |Template | |||
| | ! width="44%" |{{center| corresponding auto-category is: }} | ||
|- | |- | ||
| | | {{Tl|icons}} | ||
| [[:Category:Icons]] | |||
|- | |- | ||
| | | {{Tl|TBKr}} || [[:Category:Trainz Basic Knowledge references]] | ||
|- | |- | ||
|} | |} | ||
|} <!-- | |} <!-- | ||
-- | --> | ||
</div> | </div> | ||
[[Category:Self-documenting templates|{{PAGENAME}}]] | [[Category:Self-documenting templates|{{PAGENAME}}]] | ||
| Line 55: | Line 80: | ||
[[Category:Template documentation pages|{{PAGENAME}}]] | [[Category:Template documentation pages|{{PAGENAME}}]] | ||
</noinclude> | </noinclude><includeonly><!-- | ||
{{#if:{{{1|}}}|[[Category:{{{1}}}|{{{2|{{PAGENAME}}}}}]] }} | |||
--->[[Category:{{{1}}}|{{{pipe|{{{2|{{PAGENAME}} }}} }}}]] | |||
{{TypeTaid}} | |||
{{AutoTcat}}</includeonly> | |||
Latest revision as of 21:04, 17 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).
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||