Template:FUN-bot
From TrainzOnline
(Difference between revisions)
(genesis) |
(cc to proper filename) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | <div style="width:100%;background:# | + | <div style="width:100%;background:#9FdFb4; font-face:Verdana,Garamond,Times,Serif,Arial; font-size:10pt;"> |
− | + | ||
;Purpose | ;Purpose | ||
− | :This template is used with {{Tl|FUN-top}} to set off | + | :This template is used with {{Tl|FUN-top}} to set off Trainz Beginner oriented and organized TrainzOnline Wiki pages from ''[[:category:Trainz reference pages|Trainz reference classed topics]]'' on the N3V TrainzOnline Wiki. |
− | + | ||
− | + | ||
− | + | ||
− | '' | + | |
− | + | ||
− | * | + | * It will also auto-categorize the page to the [[:category:Trainz fundamentals pages]]. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | * It can be given the <code><nowiki>{{{1}}}</nowiki></code> default parameter to alter the sort order of the reference page as listed in that category. | ||
+ | | ||
+ | '''[[pipetrick]] Examples''' on a theoretical page title: "Session editing in Surveyor": | ||
+ | #<code><nowiki>{{FUN-bot||ABC}}</nowiki></code> ('|ABC' is called a pipe trick) will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'.<!-- | ||
+ | --- --- --- --- ---> | ||
+ | #<code><nowiki>{{FUN-bot|editing}}</nowiki></code> ('|editing' is called a pipe trick) will list the page under the ''''E'''' pages, before any page 'Errors' but after 'Ears'.<!-- | ||
+ | --- --- --- --- ---> | ||
+ | * Sorting Difference: <code><nowiki>{{FUN-bot|ABC}}</nowiki></code> will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'.<!-- | ||
+ | --- --- --- --- ---> | ||
+ | '''Contrasting Examples:'''<!-- | ||
+ | --- --- --- --- ---> | ||
+ | # <code><nowiki> {{FUN-bot}}</nowiki></code> on [[Help:Surveyor]] will alphabetize the article under ''''H'''', just as making a normal but ''long winded'' {{h|Links|Internal Category Link}} would do. (<code><nowiki>[[Category:Trainz fundamentals pages|{{PAGENAME}}]]</nowiki></code>)<!-- | ||
+ | --- --- --- --- ---> | ||
+ | # <code><nowiki> {{FUN-bot|inhibit=yes}}</nowiki></code> on [[Help:Driver]] ''will not categorize the page at all''.{{FAB-todo|ONLY IF ParserFunctions become available!}}<!-- | ||
+ | --- --- --- --- ---> | ||
+ | # <code><nowiki> {{FUN-bot|Engine}}</nowiki></code> on [[Help:Surveyor]] will alphabetize the article under ''''E''''.<!-- | ||
+ | --- --- --- --- ---> | ||
+ | # <code><nowiki> {{FUN-bot|cat=category-name|Engine}}</nowiki></code> on [[Help:Session]] will alphabetize the article under '''E''', but not on the [[:category:Trainz fundamentals pages|default category 'Trainz fundamentals pages']] just as a normal <code><nowiki>[[category:category-name|Engine]]</nowiki></code> line would do.<!-- | ||
+ | --- | ||
+ | --- --- --- --- ---> | ||
[[Category:Self-documenting templates|{{PAGENAME}}]] | [[Category:Self-documenting templates|{{PAGENAME}}]] | ||
[[Category:Trainz fundamentals pages|*{{PAGENAME}}]] | [[Category:Trainz fundamentals pages|*{{PAGENAME}}]] | ||
[[Category:Auto-categorizing templates|{{PAGENAME}}]]</noinclude> | [[Category:Auto-categorizing templates|{{PAGENAME}}]]</noinclude> | ||
− | + | <includeonly>[[Category:Trainz fundamentals pages|{{{1|{{PAGENAME}}}}}]]</includeonly></div> |
Revision as of 20:08, 3 July 2013
- Purpose
- This template is used with {{FUN-top}} to set off Trainz Beginner oriented and organized TrainzOnline Wiki pages from Trainz reference classed topics on the N3V TrainzOnline Wiki.
- It will also auto-categorize the page to the category:Trainz fundamentals pages.
- It can be given the
{{{1}}}
default parameter to alter the sort order of the reference page as listed in that category.
pipetrick Examples on a theoretical page title: "Session editing in Surveyor":
{{FUN-bot||ABC}}
('|ABC' is called a pipe trick) will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'.{{FUN-bot|editing}}
('|editing' is called a pipe trick) will list the page under the 'E' pages, before any page 'Errors' but after 'Ears'.
- Sorting Difference:
{{FUN-bot|ABC}}
will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'.
Contrasting Examples:
-
{{FUN-bot}}
on Help:Surveyor will alphabetize the article under 'H', just as making a normal but long winded Internal Category Link would do. ([[Category:Trainz fundamentals pages|{{PAGENAME}}]]
) -
{{FUN-bot|inhibit=yes}}
on Help:Driver will not categorize the page at all.∅ -
{{FUN-bot|Engine}}
on Help:Surveyor will alphabetize the article under 'E'. -
{{FUN-bot|cat=category-name|Engine}}
on Help:Session will alphabetize the article under E, but not on the default category 'Trainz fundamentals pages' just as a normal[[category:category-name|Engine]]
line would do.