Template:FUN-end
From TrainzOnline
(Difference between revisions)
(genesis) |
(+cat) |
||
Line 16: | Line 16: | ||
# <nowiki> {{FUN-bot|Engine}}</nowiki> on [[KIND Engine]] will alphabetize the article under ''''E'''', if and only if cat=category-name is also defined. In the given example, Engine has no effect, so the same result as case 2. | # <nowiki> {{FUN-bot|Engine}}</nowiki> on [[KIND Engine]] will alphabetize the article under ''''E'''', if and only if cat=category-name is also defined. In the given example, Engine has no effect, so the same result as case 2. | ||
# <nowiki> {{FUN-bot|cat=category-name|Engine}}</nowiki> on [[KIND Engine]] will alphabetize the article under '''E''', just as a normal <nowiki>[[category:category-name|Engine]]</nowiki> call would do. | # <nowiki> {{FUN-bot|cat=category-name|Engine}}</nowiki> on [[KIND Engine]] will alphabetize the article under '''E''', just as a normal <nowiki>[[category:category-name|Engine]]</nowiki> call would do. | ||
− | + | [[Category:mbox templates|{{PAGENAME}}]] | |
[[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> | ||
</div><includeonly>[[Category:Trainz fundamentals pages|{{{1|{{PAGENAME}}}}}]]</includeonly> | </div><includeonly>[[Category:Trainz fundamentals pages|{{{1|{{PAGENAME}}}}}]]</includeonly> |
Latest revision as of 03:24, 27 July 2013
- Purpose
- This template is used with {{FUN-top}} to set off mixed user written/user maintained pages and semi-official N3V staff written Wiki pages AIMED AT HELPING BEGINNERS, Trainz Newcomers, on the N3V TrainzOnline Wiki.
- This template closes a <div style=" ..."> HTML block initiated by {{FUN-top}}.
- It will also auto-categorize the page to the category:Trainz reference pages.
- It can be given the
{{{1}}}
default parameter to alter the sort order of the reference page as listed in that category.
Example:
{{FUN-end|ABC}}
will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'.
category, just like {{FUN-bot}}.
- Sorting Difference:
{{FUN-bot|ABC}}
will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'.
Contrasting Examples:
- {{FUN-end}} on KIND Engine will alphabetize the article under 'K', just as a normal [[category:Trainz reference pages]] would do.
- {{FUN-bot}} on KIND Engine will not categorize the page at all.
- {{FUN-bot|Engine}} on KIND Engine will alphabetize the article under 'E', if and only if cat=category-name is also defined. In the given example, Engine has no effect, so the same result as case 2.
- {{FUN-bot|cat=category-name|Engine}} on KIND Engine will alphabetize the article under E, just as a normal [[category:category-name|Engine]] call would do.