Template:TOL-bot: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Fabartus (talk | contribs)
genesis - template half-pair to list in auto-category for listing all usage pages
 
Fabartus (talk | contribs)
Refactor fmt line
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
</div><includeonly>
<includeonly>
[[Category:TrainzOnline usage pages|{{PAGENAME}}]]</includeonly><noinclude>
[[Category:{{{cat|{{{1|TrainzOnline asset how-to pages}}}}}}|{{{pipe|{{{2|{{PAGENAME}}}}}}}}]]</includeonly><noinclude>{{usage-style}}
[[Category:Self-documenting templates|{{PAGENAME}}]]
[[Category:Self-documenting templates|{{PAGENAME}}]]
{{AutoTcat}}
{{AutoTcat}}
[[Category:TrainzOnline templates|*{{PAGENAME}}]]
[[Category:TrainzOnline templates|*{{PAGENAME}}]]
[[Category:TrainzOnline usage pages|*{{PAGENAME}}]]
[[Category:TrainzOnline asset how-to pages|*{{PAGENAME}}]]
[[Category:Mbox templates|TOL-bot]]
;Usage
;Usage
This template auto-categorizes pages to the [[:Category:TrainzOnline usage pages]] <br/>''and must be placed '''on the page bottom''' as the last line or item.'''
This template auto-categorizes pages to the [[:Category:TrainzOnline asset how-to pages]]  
* It closes the HTML formatting introduced by hanging the template: {{tl|TOL-top}}
*or to the override category defined by the pass argument <code><nowiki>{{{cat|{{{1}}} }}}</nowiki></code>
</noinclude>
* The page sorting order may be altered by giving either |pipe= or |2= as parameters (Coded: <code><nowiki>{{{cat|{{{2|{{PAGENAME}} }}} }}}</nowiki></code>), and as can be seen asserts the {{h|magic word}} <code><nowiki>{{PAGENAME}}</nowiki></code> as a default.
* It closes the HTML formatting introduced by hanging the template: {{tl|TOL-beg}} or {tl|TOL-top}}<br/>''and should be placed '''on the page bottom''' as the last line or item.'''
</noinclude></div>

Latest revision as of 20:42, 17 August 2013

Usage

This template auto-categorizes pages to the Category:TrainzOnline asset how-to pages

  • or to the override category defined by the pass argument {{{cat|{{{1}}} }}}
  • The page sorting order may be altered by giving either |pipe= or |2= as parameters (Coded: {{{cat|{{{2|{{PAGENAME}} }}} }}}), and as can be seen asserts the magic word {{PAGENAME}} as a default.
  • It closes the HTML formatting introduced by hanging the template: {{TOL-beg}} or {tl|TOL-top}}
    and should be placed on the page bottom' as the last line or item.