Template:FUN-bot

From Wikibooks, open books for an open world
Jump to: navigation, search
logo
Fundamentals for Trainz Trainees

Setting up Trainz properly for yourself
Trainz | Introductory Trainz  | Trainz AM&C | Creation  | Appendixes  |  References  • Containers • Kinds • Tags • Index
 Glossary
 HKeys-CM
 HKeys-DVR
 HKeys-SUR
 HKeys-WIN
 Mouse use
 Notations
Purpose
This template is used with {{FUN-top}} to set off Trainz Beginner oriented and organized Wiki pages from intermediate topics, content creation, and Trainz reference classed topics on the Wiki.
  • Given either the defined parameters 'IT', the page is auto=categorized as well in category:Introductory Trainz.
  • Parameter 'ref2' or 'both' also asserts the auto-category: Trainz references for use on pages like how to set up Trainz topics, that have a valid life in appendices or references as well.
  • 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":

  1. {{FUN-bot||ABC}} ('|ABC' is called a pipe trick) will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'.
  2. {{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:

  1. {{FUN-bot}} on H will alphabetize the article under 'H'... ([[Category:Trainz fundamentals pages|{{PAGENAME}}]])
  2. {{FUN-bot|inhibit=yes}} on Driver will not categorize the page at all.
  3. {{FUN-bot|Engine}} on Surveyor will alphabetize the article under 'E'.
  4. {{FUN-bot|cat=category-name|Engine}} on 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.
</includeonly>