Feature/doc – Template
< Feature
Lou Montana (talk | contribs) m (Update documentation (adding Consoles, adding missing Steam, reordering, etc)) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 56: | Line 56: | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ Examples | |+ Examples | ||
|- class="sticky-top" | |||
! Code | ! Code | ||
! Result | ! Result | ||
|- | |||
<!-- | <!-- | ||
Line 63: | Line 65: | ||
--> | --> | ||
! colspan="3" style="height: 3em" | Errors | ! colspan="3" style="height: 3em" | Errors | ||
|- | |- | ||
Line 69: | Line 70: | ||
| {{Feature}} | | {{Feature}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|test}}</syntaxhighlight> | ||
| {{Feature|test}} | | {{Feature|test}} | ||
|- | |||
<!-- | <!-- | ||
Line 76: | Line 78: | ||
--> | --> | ||
! colspan="3" style="height: 3em" | Games | ! colspan="3" style="height: 3em" | Games | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|ofp}}</syntaxhighlight> | ||
| {{Feature|ofp}} | | {{Feature|ofp}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|ofp|Hello there!}}</syntaxhighlight> | ||
| {{Feature|ofp|Hello there!}} | | {{Feature|ofp|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma0}}</syntaxhighlight> | ||
| {{Feature|arma0}} | | {{Feature|arma0}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma0|Hello there!}}</syntaxhighlight> | ||
| {{Feature|arma0|Hello there!}} | | {{Feature|arma0|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|ofpe}}</syntaxhighlight> | ||
| {{Feature|ofpe}} | | {{Feature|ofpe}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|ofpe|Hello there!}}</syntaxhighlight> | ||
| {{Feature|ofpe|Hello there!}} | | {{Feature|ofpe|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma1}}</syntaxhighlight> | ||
| {{Feature|arma1}} | | {{Feature|arma1}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma1|Hello there!}}</syntaxhighlight> | ||
| {{Feature|arma1|Hello there!}} | | {{Feature|arma1|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma2}}</syntaxhighlight> | ||
| {{Feature|arma2}} | | {{Feature|arma2}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma2|Hello there!}}</syntaxhighlight> | ||
| {{Feature|arma2|Hello there!}} | | {{Feature|arma2|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma2oa}}</syntaxhighlight> | ||
| {{Feature|arma2oa}} | | {{Feature|arma2oa}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma2oa|Hello there!}}</syntaxhighlight> | ||
| {{Feature|arma2oa|Hello there!}} | | {{Feature|arma2oa|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma3}}</syntaxhighlight> | ||
| {{Feature|arma3}} | | {{Feature|arma3}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma3|Hello there!}}</syntaxhighlight> | ||
| {{Feature|arma3|Hello there!}} | | {{Feature|arma3|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|eden editor}}</syntaxhighlight> | ||
| {{Feature|eden editor}} | | {{Feature|eden editor}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|eden editor|Hello there!}}</syntaxhighlight> | ||
| {{Feature|eden editor|Hello there!}} | | {{Feature|eden editor|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|afm}}</syntaxhighlight> | ||
| {{Feature|afm}} | | {{Feature|afm}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|afm|Hello there!}}</syntaxhighlight> | ||
| {{Feature|afm|Hello there!}} | | {{Feature|afm|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma3contact}}</syntaxhighlight> | ||
| {{Feature|arma3contact}} | | {{Feature|arma3contact}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma3contact|Hello there!}}</syntaxhighlight> | ||
| {{Feature|arma3contact|Hello there!}} | | {{Feature|arma3contact|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma3oldman}}</syntaxhighlight> | ||
| {{Feature|arma3oldman}} | | {{Feature|arma3oldman}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma3oldman|Hello there!}}</syntaxhighlight> | ||
| {{Feature|arma3oldman|Hello there!}} | | {{Feature|arma3oldman|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|armaR}}</syntaxhighlight> | ||
| {{Feature|armaR}} | | {{Feature|armaR}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|armaR|Hello there!}}</syntaxhighlight> | ||
| {{Feature|armaR|Hello there!}} | | {{Feature|armaR|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma4}}</syntaxhighlight> | ||
| {{Feature|arma4}} | | {{Feature|arma4}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|arma4|Hello there!}}</syntaxhighlight> | ||
| {{Feature|arma4|Hello there!}} | | {{Feature|arma4|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|dayz}}</syntaxhighlight> | ||
| {{Feature|dayz}} | | {{Feature|dayz}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|dayz|Hello there!}}</syntaxhighlight> | ||
| {{Feature|dayz|Hello there!}} | | {{Feature|dayz|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|tkoh}}</syntaxhighlight> | ||
| {{Feature|tkoh}} | | {{Feature|tkoh}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|tkoh|Hello there!}}</syntaxhighlight> | ||
| {{Feature|tkoh|Hello there!}} | | {{Feature|tkoh|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|ylands}}</syntaxhighlight> | ||
| {{Feature|ylands}} | | {{Feature|ylands}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|ylands|Hello there!}}</syntaxhighlight> | ||
| {{Feature|ylands|Hello there!}} | | {{Feature|ylands|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|GVI}}</syntaxhighlight> | ||
| {{Feature|GVI}} | | {{Feature|GVI}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|GVI|ofp}}</syntaxhighlight> | ||
| {{Feature|GVI|ofp}} | | {{Feature|GVI|ofp}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|GVI|ofp|1.75}}</syntaxhighlight> | ||
| {{Feature|GVI|ofp|1.75}} | | {{Feature|GVI|ofp|1.75}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|GVI|ofp|1.75|Great game!}}</syntaxhighlight> | ||
| {{Feature|GVI|ofp|1.75|Great game!}} | | {{Feature|GVI|ofp|1.75|Great game!}} | ||
Line 194: | Line 195: | ||
! colspan="3" style="height: 3em" | Controls | ! colspan="3" style="height: 3em" | Controls | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|keyboard}}</syntaxhighlight> | ||
| {{Feature|keyboard}} | | {{Feature|keyboard}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|keyboard|Hello there!}}</syntaxhighlight> | ||
| {{Feature|keyboard|Hello there!}} | | {{Feature|keyboard|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|gamepad}}</syntaxhighlight> | ||
| {{Feature|gamepad}} | | {{Feature|gamepad}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|gamepad|Hello there!}}</syntaxhighlight> | ||
| {{Feature|gamepad|Hello there!}} | | {{Feature|gamepad|Hello there!}} | ||
Line 213: | Line 214: | ||
! colspan="3" style="height: 3em" | Platforms | ! colspan="3" style="height: 3em" | Platforms | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|consoles}}</syntaxhighlight> | ||
| {{Feature|consoles}} | | {{Feature|consoles}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|consoles|Hello there!}}</syntaxhighlight> | ||
| {{Feature|consoles|Hello there!}} | | {{Feature|consoles|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|playstation}}</syntaxhighlight> | ||
| {{Feature|playstation}} | | {{Feature|playstation}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|playstation|Hello there!}}</syntaxhighlight> | ||
| {{Feature|playstation|Hello there!}} | | {{Feature|playstation|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|xbox}}</syntaxhighlight> | ||
| {{Feature|xbox}} | | {{Feature|xbox}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|xbox|Hello there!}}</syntaxhighlight> | ||
| {{Feature|xbox|Hello there!}} | | {{Feature|xbox|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|PC}}</syntaxhighlight> | ||
| {{Feature|PC}} | | {{Feature|PC}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|PC|Hello there!}}</syntaxhighlight> | ||
| {{Feature|PC|Hello there!}} | | {{Feature|PC|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|steam}}</syntaxhighlight> | ||
| {{Feature|steam}} | | {{Feature|steam}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|steam|Hello there!}}</syntaxhighlight> | ||
| {{Feature|steam|Hello there!}} | | {{Feature|steam|Hello there!}} | ||
Line 250: | Line 251: | ||
! colspan="3" style="height: 3em" | Infoboxes | ! colspan="3" style="height: 3em" | Infoboxes | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|informative}}</syntaxhighlight> | ||
| {{Feature|informative}} | | {{Feature|informative}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|informative|Hello there!}}</syntaxhighlight> | ||
| {{Feature|informative|Hello there!}} | | {{Feature|informative|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|important}}</syntaxhighlight> | ||
| {{Feature|important}} | | {{Feature|important}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|important|Hello there!}}</syntaxhighlight> | ||
| {{Feature|important|Hello there!}} | | {{Feature|important|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|warning}}</syntaxhighlight> | ||
| {{Feature|warning}} | | {{Feature|warning}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|warning|Hello there!}}</syntaxhighlight> | ||
| {{Feature|warning|Hello there!}} | | {{Feature|warning|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|obsolete}}</syntaxhighlight> | ||
| {{Feature|obsolete}} | | {{Feature|obsolete}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|obsolete|Hello there!}}</syntaxhighlight> | ||
| {{Feature|obsolete|Hello there!}} | | {{Feature|obsolete|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|obsolete|Hello there!|arma2}}</syntaxhighlight> | ||
| {{Feature|obsolete|Hello there!|arma2}} | | {{Feature|obsolete|Hello there!|arma2}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|obsolete|Hello there!|arma2|1.03}}</syntaxhighlight> | ||
| {{Feature|obsolete|Hello there!|arma2|1.03}} | | {{Feature|obsolete|Hello there!|arma2|1.03}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|quote}}</syntaxhighlight> | ||
| {{Feature|quote}} | | {{Feature|quote}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|quote|Hello there!}}</syntaxhighlight> | ||
| {{Feature|quote|Hello there!}} | | {{Feature|quote|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|quote|Hello there!|General Kenobi}}</syntaxhighlight> | ||
| {{Feature|quote|Hello there!|General Kenobi}} | | {{Feature|quote|Hello there!|General Kenobi}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|quote|Hello there!|General Kenobi|Conversations}}</syntaxhighlight> | ||
| {{Feature|quote|Hello there!|General Kenobi|Conversations}} | | {{Feature|quote|Hello there!|General Kenobi|Conversations}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature | ||
| {{Feature|quote|Hello there!|General Kenobi| | |quote | ||
|Hello there! | |||
|General Kenobi | |||
|4= https://www.youtube.com/watch?v=rEq1Z0bjdwc | |||
}}</syntaxhighlight> | |||
| {{Feature|quote|Hello there!|General Kenobi|https://www.youtube.com/watch?v{{=}}rEq1Z0bjdwc}} | |||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|spoiler}}</syntaxhighlight> | ||
| {{Feature|spoiler}} | | {{Feature|spoiler}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|spoiler|Hello there!}}</syntaxhighlight> | ||
| {{Feature|spoiler|Hello there!}} | | {{Feature|spoiler|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|UnsupportedDoc}}</syntaxhighlight> | ||
| {{Feature|UnsupportedDoc}} | | {{Feature|UnsupportedDoc}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|UnsupportedDoc|Hello there!}}</syntaxhighlight> | ||
| {{Feature|UnsupportedDoc|Hello there!}} | | {{Feature|UnsupportedDoc|Hello there!}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|UnsupportedTool}}</syntaxhighlight> | ||
| {{Feature|UnsupportedTool}} | | {{Feature|UnsupportedTool}} | ||
|- | |- | ||
| < | | <syntaxhighlight lang="handlebars">{{Feature|UnsupportedTool|Hello there!}}</syntaxhighlight> | ||
| {{Feature|UnsupportedTool|Hello there!}} | | {{Feature|UnsupportedTool|Hello there!}} | ||
|} | |} | ||
[[Category:Templates|{{uc:{{PAGENAME}}}}]] | [[Category:Templates|{{uc:{{PAGENAME}}}}]] |
Latest revision as of 16:00, 23 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 | ||