Help:Game-specific templates
From modwiki
There are templates for use with game-specific pages, sections and notes, they look like this (the lines in codeboxes is the markup for the template immediately above:
Contents |
Page headers
These should only be used for pages that are entirely exclusive to one game, put it on the very top of the page:
The information on this page is specific to Doom 3.{{D3page}}
The information on this page is specific to Doom 3: Resurrection of Evil.{{D3ROEpage}}
The information on this page is specific to Quake 4.{{Q4page}}
The information on this page is specific to Prey.{{Preypage}}
The information on this page is specific to Enemy Territory: Quake Wars.{{ETQWpage}}
The information on this page is specific to Return to Castle Wolfenstein 2.{{RTCW2page}}
The information on this page is specific to Rage.{{Ragepage}}
Section headers
These should be used in cases where an entire section is valid to only one game, typically this would be used to indicate things that are different from the norm in the engine. Always include the game name in the section heading!
The template itself has two parameters, the first being the section header's text and the optional second parameter is used to create sub-sections.
For example:
Doom 3 things
- The information in this section is specific to Doom 3.
{{D3section| Doom 3 things}}
D3ROE things
- The information in this section is specific to Doom 3: Resurrection of Evil.
{{D3ROEsection| D3ROE things}}
Quake 4 things
- The information in this section is specific to Quake 4.
{{Q4section| Quake 4 things}}
Prey things
- The information in this section is specific to Prey.
{{Preysection| Prey things}}
ETQW things
- The information in this section is specific to Enemy Territory: Quake Wars.
{{ETQWsection| ETQW things}}
RTCW2 things
- The information in this section is specific to Return to Castle Wolfenstein 2.
{{RTCW2section| RTCW2 things}}
Rage things
- The information in this section is specific to Rage.
{{Ragesection| Rage things}}
Using the section templates for sub-sections
The second parameter to the section templates represents the section depth, which defaults to 2. This digit is equivalent to the number of '=' characters you would place to start a regular section or sub-section and can range from 1 to 5.
Let us look at an example, a Doom 3 sub-section with a D3ROE sub-sub-section in it. The difference might not be as obvious (the header font size only differs slightly) but the effect is clearly visible in the table of contents at the top.
A regular sub-section
Nothing new to see here.
=== A regular sub-section ===
A Doom 3 sub-section
- The information in this section is specific to Doom 3.
{{D3section| Doom 3 sub-section Example | 3}}
A Doom 3 ROE sub-sub-section
- The information in this section is specific to Doom 3: Resurrection of Evil.
{{D3ROEsection| Doom 3 ROE sub-sub-section | 4}}
Notes
For cases where the information is too small to have its own section, or where it applies directly to the info on a certain line, for example, one can use note templates:
{{D3note|note=(Important stuff)}}
{{D3ROEnote|note=Important stuff)}}
{{Q4note|note=(Important stuff)}}
{{Preynote|note=(Important stuff)}}
{{ETQWnote|note=(Important stuff)}}
{{RTCW2note|note=(Important stuff)}}
{{Ragenote|note=(Important stuff)}}
Please note that there is not yet any solution for pages that are valid to multiple games, but not all (apart from mentioning it in the article, or sectioning).

