Template:TOL-bot
From TrainzOnline
(Difference between revisions)
m (+cat) |
(evolve with alternatives like similar templates, fix documentation) |
||
| Line 1: | Line 1: | ||
{{usage-style}}<includeonly> | {{usage-style}}<includeonly> | ||
| − | [[Category:TrainzOnline | + | [[Category:{{{cat|{{{1|TrainzOnline asset how-to pages}}}}}}|{{{pipe|{{{2|{{PAGENAME}}}}}}}}]]</includeonly><noinclude> |
[[Category:Self-documenting templates|{{PAGENAME}}]] | [[Category:Self-documenting templates|{{PAGENAME}}]] | ||
{{AutoTcat}} | {{AutoTcat}} | ||
[[Category:TrainzOnline templates|*{{PAGENAME}}]] | [[Category:TrainzOnline templates|*{{PAGENAME}}]] | ||
| − | [[Category:TrainzOnline | + | [[Category:TrainzOnline asset how-to pages|*{{PAGENAME}}]] |
| − | [[Category:Mbox templates|TOL | + | [[Category:Mbox templates|TOL-bot]] |
;Usage | ;Usage | ||
| − | This template auto-categorizes pages to the [[:Category:TrainzOnline | + | 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> |
| + | * 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> | </noinclude></div> | ||
Revision as of 00:32, 30 July 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.