Template:TOL-bot
From TrainzOnline
(Difference between revisions)
(evolve with alternatives like similar templates, fix documentation) |
(Refactor fmt line) |
||
Line 1: | Line 1: | ||
− | + | <includeonly> | |
− | [[Category:{{{cat|{{{1|TrainzOnline asset how-to pages}}}}}}|{{{pipe|{{{2|{{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}} | ||
Line 8: | Line 8: | ||
;Usage | ;Usage | ||
This template auto-categorizes pages to the [[:Category:TrainzOnline asset how-to pages]] | This template auto-categorizes pages to the [[:Category:TrainzOnline asset how-to pages]] | ||
− | *or to the override category defined by the pass argument <code><nowiki>{{{cat|{{{1}}}}}}</nowiki></code> | + | *or to the override category defined by the pass argument <code><nowiki>{{{cat|{{{1}}} }}}</nowiki></code> |
* 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. | * 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.''' | * 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> | </noinclude></div> |
Latest revision as of 06:42, 18 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.