Template:ORP-bot

From TrainzOnline
Revision as of 16:38, 1 July 2013 by Fabartus (Talk | contribs)

Jump to: navigation, search
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:

  1. {{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:

  1. {{ORP-end}} on KIND Engine will alphabetize the article under 'K', just as a normal [[category:Trainz reference pages]] would do.
  2. {{ORP-bot}} on KIND Engine will not categorize the page at all.
  3. {{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.
  4. {{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.
Personal tools