Template:/doc

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(genesis)
 
(genesis, port unchanged from Meta-wiki+cat w/{{Meta-wiki})
 
Line 4: Line 4:
 
It also takes other category arguments in the numbered parameters, but the default category can only be overridden by specifying ''' '' '| other=' '' '''<!--
 
It also takes other category arguments in the numbered parameters, but the default category can only be overridden by specifying ''' '' '| other=' '' '''<!--
 
<includeonly>
 
<includeonly>
{{#if:{{{1}}}|[[category:{{{1|}}}|{{PAGENAME}}]] |}} {{#if:{{{2}}}|[[category:{{{2|}}}|{{PAGENAME}}]] |}} {{#if:{{{3}}}|[[category:{{{3|}}}|{{PAGENAME}}]] |}}</includeonly>  
+
{{#if:{{{1}}}|[[category:{{{1|}}}|{{PAGENAME}}]] |}} {{#if:{{{2}}}|[[category:{{{2|}}}|{{PAGENAME}}]] |}} {{#if:{{{3}}}|[[category:{{{3|}}}|{{PAGENAME}}]] |}}</includeonly> {{metawiki}}
 
--- example of category extra code is just above  
 
--- example of category extra code is just above  
 
---><noinclude>[[category:Template documentation pages]]</noinclude>
 
---><noinclude>[[category:Template documentation pages]]</noinclude>

Latest revision as of 02:06, 8 July 2013

Template:/doc (edit talk links history)
This is the documentation template, it auto-categorizes templates to the category:Templates unless given the parameter |other=some other category name since it's transcluded into each page which loads it.

It also takes other category arguments in the numbered parameters, but the default category can only be overridden by specifying '| other='

Personal tools