Template:Page

From Truck Simulator Wiki
Jump to navigation Jump to search
 
 Note: This page contains only information about in !
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Page/doc to edit this documentation. (How does this work?)

This template adds tabs for articles of a game feature (e.g. road or city) having different content across multiple games. It also shows a message reminding viewers which game's content / rendering the current page is for.

Syntax
{{Page|Page=(Mode)|(Article Name)|(Main game)|(Additional game 1)|(Addtional game 2)|...}}


Parameters
  • Page (mode): This is the only named parameter. It consists of a number with an optional suffix.
    • The number means which tab is the highlighted one. Usually this means where the current article is.
    • If the main aspect is to be put in Tab 1, no suffix needs to be added. Use suffix A if the main aspect is in tab 2, B if it is in tab 3, etc.
    • As an example, mode 1A means the current page is on the first tab, but it is not the main aspect (which is on tab 2).
  • (Article Name): This is the 1st unnamed parameter. Put the main article's name here.
  • (Main game): This is the 2nd unnamed parameter. This is the game which the un-suffixed article is about.
  • (Additional game #): Additional games should be put in subsequent unnamed parameters. The template will sort the tabs in exactly that order, but inserts the main game's tab at its designated place (according to parameter "page")


Notes

This template is not displayed on mobile view (Mercury) for the time being.