Feature – Template
Lou Montana (talk | contribs) (Add "consoles" feature) |
Lou Montana (talk | contribs) m (Fix template) |
||
Line 12: | Line 12: | ||
|ARMA3CONTACT= {{Messagebox|{{{2|This content is exclusive to the [[Arma 3 Contact]] Expansion.}}}|{{Icon|arma3contact|32}}|class= feature-{{lc:{{{1}}}}}}} | |ARMA3CONTACT= {{Messagebox|{{{2|This content is exclusive to the [[Arma 3 Contact]] Expansion.}}}|{{Icon|arma3contact|32}}|class= feature-{{lc:{{{1}}}}}}} | ||
|ARMA3OLDMAN= {{Messagebox|{{{2|This function is used by the [[Arma 3 Apex: Old Man]] content. It might only work properly inside this scenario.}}}|{{Icon|arma3oldman_alt}}|class= feature-{{lc:{{{1}}}}}}} | |ARMA3OLDMAN= {{Messagebox|{{{2|This function is used by the [[Arma 3 Apex: Old Man]] content. It might only work properly inside this scenario.}}}|{{Icon|arma3oldman_alt}}|class= feature-{{lc:{{{1}}}}}}} | ||
|ARMAR= {{Messagebox|{{{2|This is an {{GameCategory|armaR|link=y}} feature.}}}|{{Icon|armaR}}|class= feature- | |ARMAR= {{Messagebox|{{{2|This is an {{GameCategory|armaR|link=y}} feature.}}}|{{Icon|armaR}}|class= feature-armaR}}<!-- armar != armaR --> | ||
|ARMA4= {{Messagebox|{{{2|This is an {{GameCategory|arma4|link=y}} feature.}}}|{{Icon|arma4}}|class= feature-{{lc:{{{1}}}}}}} | |ARMA4= {{Messagebox|{{{2|This is an {{GameCategory|arma4|link=y}} feature.}}}|{{Icon|arma4}}|class= feature-{{lc:{{{1}}}}}}} | ||
|CONSOLES= {{Messagebox|{{{2|This is a console feature.}}}|{{Icon|gamepad}}|class= feature-{{lc:{{{1}}}}}}} | |CONSOLES= {{Messagebox|{{{2|This is a console feature.}}}|{{Icon|gamepad}}|class= feature-{{lc:{{{1}}}}}}} |
Latest revision as of 11:58, 28 May 2025
Adds a feature messagebox. Adds the page to the Feature template usage error category if wrongly filled.
Usage
{{Feature|name|message}}
- name: (case-insensitive) can be one of:
- games:
- ofp/arma0: Operation Flashpoint feature
- ofp: Operation Flashpoint: Elite feature
- arma1: ArmA: Armed Assault feature
- arma2: Arma 2 feature
- arma2oa: Arma 2: Operation Arrowhead feature
- arma3: Arma 3 feature
- Eden Editor: Eden Editor feature
- AFM: Arma 3: Advanced Helicopter Flight Model feature
- arma3contact: Arma 3 Contact feature
- arma3oldman: Arma 3 Apex: Old Man feature
- armaR: Arma Reforger feature
- arma4: Arma 4 feature
- dayz: DayZ feature
- TKOH: Take On Helicopters feature
- ylands: Ylands feature
- GVI: a Game Version Information - see {{GVI}}
- game id
- game version (Optional, default "1.00")
- additional text (Optional, default "This feature was introduced with game vVersion")
- controls:
- keyboard: a keyboard-specific information
- gamepad: a gamepad-specific information
- platforms:
- consoles: any console
- playstation: a PlayStation feature
- xbox: an Xbox feature
- PC: a PC feature
- Steam: a Steam feature
- infoboxes:
- informative: an informative messagebox
- important: an important messagebox
- warning: a warning messagebox
- obsolete: an obsolete part of the documentation or documentation about an obsolete aspect of the product; parameters (all optional):
- message (obsolescence reason)
- game (e.g arma3)
- version (e.g 1.50)
- quote: a quote, parameters (all but message optional):
- message: quote
- author
- source (URL)
- spoiler: spoiler alert
- UnsupportedDoc: unsupported internal structure documentation (e.g PBO, save file etc)
- UnsupportedTool: unsupported, most likely unofficial tool
- games:
- message: (Optional) the message to display
Code | Result | |
---|---|---|
Errors | ||
{{Feature}} | -no feature defined- | |
-unknown feature ("test") defined- | ||
Games | ||
|
||
Controls | ||
|
||
Platforms | ||
|
||
Infoboxes | ||
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | 1 | name of the feature used for the messagebox
| String | required |
2 | 2 | no description | Unknown | optional |
3 | 3 | no description | Unknown | optional |
4 | 4 | no description | Unknown | optional |
message | message | no description | Unknown | optional |