Template:ORP-bot
From TrainzOnline
(Difference between revisions)
m (Fabartus moved page Template:ORP-end to Template:ORP-bot: Using top-bot for article spaces, beg-end for category spaces, which should not have auto-categorization to the references pages category.) |
(+contrasting examples) |
||
Line 7: | Line 7: | ||
* It will also auto-categorize the page to the [[:category:Trainz reference pages]]. | * It will also auto-categorize the page to the [[:category:Trainz reference 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. | * 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. | ||
− | : | + | '''Example:''' |
+ | #<code><nowiki>{{ORP-end|ABC}}</nowiki></code> will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'. | ||
+ | category, just like {{tl|ORP-bot}}. | ||
+ | * Sorting Difference: <code><nowiki>{{ORP-bot|ABC}}</nowiki></code> will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'. | ||
+ | '''Contrasting Examples:''' | ||
+ | # <nowiki> {{ORP-end}}</nowiki> on [[KIND Engine]] will alphabetize the article under ''''K'''', just as a normal <nowiki>[[category:Trainz reference pages]]</nowiki> would do. | ||
+ | # <nowiki> {{ORP-bot}}</nowiki> on [[KIND Engine]] ''will not categorize the page at all''. | ||
+ | # <nowiki> {{ORP-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> {{ORP-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:Self-documenting templates|{{PAGENAME}}]] | [[Category:Self-documenting templates|{{PAGENAME}}]] |
Revision as of 16:38, 1 July 2013
- Purpose
- This template is used with {{ORP-top}} to set off official N3V Wiki reference pages from user maintained pages on the N3V TrainzOnline Wiki.
- This template closes a <div style=" ..."> HTML block initiated by {{ORP-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:
{{ORP-end|ABC}}
will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'.
category, just like {{ORP-bot}}.
- Sorting Difference:
{{ORP-bot|ABC}}
will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'.
Contrasting Examples:
- {{ORP-end}} on KIND Engine will alphabetize the article under 'K', just as a normal [[category:Trainz reference pages]] would do.
- {{ORP-bot}} on KIND Engine will not categorize the page at all.
- {{ORP-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.
- {{ORP-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.