Feature/doc – Template
< Feature
Lou Montana (talk | contribs) (Add Steam) |
Lou Montana (talk | contribs) m (Update documentation (adding Consoles, adding missing Steam, reordering, etc)) |
||
Line 4: | Line 4: | ||
{{<nowiki/>Feature|'''''name'''''|'''''message'''''}} | {{<nowiki/>Feature|'''''name'''''|'''''message'''''}} | ||
* name: (case-insensitive) can be one of: | * name: (case-insensitive) can be one of: | ||
** | ** '''games:''' <spoiler> | ||
* ofp/arma0: {{GameCategory|ofp|link=y}} feature | |||
* ofp: {{GameCategory|ofpe|link=y}} feature | |||
* arma1: {{GameCategory|arma1|link=y}} feature | |||
* arma2: {{GameCategory|arma2|link=y}} feature | |||
* arma2oa: {{GameCategory|arma2oa|link=y}} feature | |||
* arma3: {{GameCategory|arma3|link=y}} feature | |||
** arma3contact: [[Arma 3 Contact]] feature | * Eden Editor: [[:Category: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: {{GameCategory|armaR|link=y}} feature | |||
* | * arma4: {{GameCategory|arma4|link=y}} feature | ||
* | * dayz: {{GameCategory|dayz|link=y}} feature | ||
* TKOH: {{GameCategory|tkoh|link=y}} feature | |||
* ylands: {{GameCategory|ylands|link=y}} feature | |||
* GVI: a '''G'''ame '''V'''ersion '''I'''nformation - see {{Template|GVI}} | |||
** game id | |||
** | ** game version (Optional, default "1.00") | ||
** | ** additional text (Optional, default "This feature was introduced with ''game'' v''Version''") | ||
* | </spoiler> | ||
** '''controls:''' <spoiler> | |||
* | * keyboard: a keyboard-specific information | ||
* | * gamepad: a gamepad-specific information | ||
</spoiler> | |||
** '''platforms:''' <spoiler> | |||
* consoles: any console | |||
* | * playstation: a PlayStation feature | ||
* xbox: an Xbox feature | |||
* PC: a PC<!-- master race --> feature | |||
* Steam: a Steam feature | |||
* | </spoiler> | ||
** '''infoboxes:''' <spoiler> | |||
* informative: an '''{{Color|#00BFFF|informative}}''' messagebox | |||
* important: an '''{{Color|#EA0|important}}''' messagebox | |||
* warning: a '''{{Color|#F00|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 | |||
</spoiler> | |||
* message: (Optional) the message to display | * message: (Optional) the message to display | ||
Line 51: | Line 58: | ||
! Code | ! Code | ||
! Result | ! Result | ||
<!-- | |||
ERRORS | |||
--> | |||
|- | |||
! colspan="3" style="height: 3em" | Errors | |||
|- | |- | ||
| <nowiki>{{Feature}}</nowiki> | | <nowiki>{{Feature}}</nowiki> | ||
Line 57: | Line 71: | ||
| <nowiki>{{Feature|test}}</nowiki> | | <nowiki>{{Feature|test}}</nowiki> | ||
| {{Feature|test}} | | {{Feature|test}} | ||
<!-- | |||
GAMES | |||
--> | |||
|- | |- | ||
! colspan="3" style="height: 3em" | Games | |||
| | |||
|- | |- | ||
| <nowiki>{{Feature|ofp}}</nowiki> | | <nowiki>{{Feature|ofp}}</nowiki> | ||
Line 105: | Line 120: | ||
| <nowiki>{{Feature|arma3|Hello there!}}</nowiki> | | <nowiki>{{Feature|arma3|Hello there!}}</nowiki> | ||
| {{Feature|arma3|Hello there!}} | | {{Feature|arma3|Hello there!}} | ||
|- | |||
| <nowiki>{{Feature|eden editor}}</nowiki> | |||
| {{Feature|eden editor}} | |||
|- | |||
| <nowiki>{{Feature|eden editor|Hello there!}}</nowiki> | |||
| {{Feature|eden editor|Hello there!}} | |||
|- | |||
| <nowiki>{{Feature|afm}}</nowiki> | |||
| {{Feature|afm}} | |||
|- | |||
| <nowiki>{{Feature|afm|Hello there!}}</nowiki> | |||
| {{Feature|afm|Hello there!}} | |||
|- | |- | ||
| <nowiki>{{Feature|arma3contact}}</nowiki> | | <nowiki>{{Feature|arma3contact}}</nowiki> | ||
Line 136: | Line 163: | ||
| {{Feature|dayz|Hello there!}} | | {{Feature|dayz|Hello there!}} | ||
|- | |- | ||
| <nowiki>{{Feature| | | <nowiki>{{Feature|tkoh}}</nowiki> | ||
| {{Feature| | | {{Feature|tkoh}} | ||
|- | |- | ||
| <nowiki>{{Feature| | | <nowiki>{{Feature|tkoh|Hello there!}}</nowiki> | ||
| {{Feature| | | {{Feature|tkoh|Hello there!}} | ||
|- | |- | ||
| <nowiki>{{Feature| | | <nowiki>{{Feature|ylands}}</nowiki> | ||
| {{Feature| | | {{Feature|ylands}} | ||
|- | |- | ||
| <nowiki>{{Feature| | | <nowiki>{{Feature|ylands|Hello there!}}</nowiki> | ||
| {{Feature| | | {{Feature|ylands|Hello there!}} | ||
|- | |- | ||
| <nowiki>{{Feature|GVI}}</nowiki> | | <nowiki>{{Feature|GVI}}</nowiki> | ||
Line 159: | Line 186: | ||
| <nowiki>{{Feature|GVI|ofp|1.75|Great game!}}</nowiki> | | <nowiki>{{Feature|GVI|ofp|1.75|Great game!}}</nowiki> | ||
| {{Feature|GVI|ofp|1.75|Great game!}} | | {{Feature|GVI|ofp|1.75|Great game!}} | ||
<!-- | |||
CONTROLS | |||
--> | |||
|- | |||
! colspan="3" style="height: 3em" | Controls | |||
|- | |||
| <nowiki>{{Feature|keyboard}}</nowiki> | |||
| {{Feature|keyboard}} | |||
|- | |||
| <nowiki>{{Feature|keyboard|Hello there!}}</nowiki> | |||
| {{Feature|keyboard|Hello there!}} | |||
|- | |||
| <nowiki>{{Feature|gamepad}}</nowiki> | |||
| {{Feature|gamepad}} | |||
|- | |||
| <nowiki>{{Feature|gamepad|Hello there!}}</nowiki> | |||
| {{Feature|gamepad|Hello there!}} | |||
<!-- | |||
PLATFORMS | |||
--> | |||
|- | |||
! colspan="3" style="height: 3em" | Platforms | |||
|- | |||
| <nowiki>{{Feature|consoles}}</nowiki> | |||
| {{Feature|consoles}} | |||
|- | |||
| <nowiki>{{Feature|consoles|Hello there!}}</nowiki> | |||
| {{Feature|consoles|Hello there!}} | |||
|- | |||
| <nowiki>{{Feature|playstation}}</nowiki> | |||
| {{Feature|playstation}} | |||
|- | |||
| <nowiki>{{Feature|playstation|Hello there!}}</nowiki> | |||
| {{Feature|playstation|Hello there!}} | |||
|- | |- | ||
| <nowiki>{{Feature| | | <nowiki>{{Feature|xbox}}</nowiki> | ||
| {{Feature| | | {{Feature|xbox}} | ||
|- | |||
| <nowiki>{{Feature|xbox|Hello there!}}</nowiki> | |||
| {{Feature|xbox|Hello there!}} | |||
|- | |||
| <nowiki>{{Feature|PC}}</nowiki> | |||
| {{Feature|PC}} | |||
|- | |||
| <nowiki>{{Feature|PC|Hello there!}}</nowiki> | |||
| {{Feature|PC|Hello there!}} | |||
|- | |||
| <nowiki>{{Feature|steam}}</nowiki> | |||
| {{Feature|steam}} | |||
|- | |||
| <nowiki>{{Feature|steam|Hello there!}}</nowiki> | |||
| {{Feature|steam|Hello there!}} | |||
<!-- | |||
INFOBOXES | |||
--> | |||
|- | |- | ||
! colspan="3" style="height: 3em" | Infoboxes | |||
|- | |- | ||
| <nowiki>{{Feature|informative}}</nowiki> | | <nowiki>{{Feature|informative}}</nowiki> | ||
Line 172: | Line 256: | ||
| {{Feature|informative|Hello there!}} | | {{Feature|informative|Hello there!}} | ||
|- | |- | ||
| <nowiki>{{Feature| | | <nowiki>{{Feature|important}}</nowiki> | ||
| {{Feature| | | {{Feature|important}} | ||
|- | |||
| <nowiki>{{Feature|important|Hello there!}}</nowiki> | |||
| {{Feature|important|Hello there!}} | |||
|- | |||
| <nowiki>{{Feature|warning}}</nowiki> | |||
| {{Feature|warning}} | |||
|- | |- | ||
| <nowiki>{{Feature| | | <nowiki>{{Feature|warning|Hello there!}}</nowiki> | ||
| {{Feature| | | {{Feature|warning|Hello there!}} | ||
|- | |- | ||
| <nowiki>{{Feature|obsolete}}</nowiki> | | <nowiki>{{Feature|obsolete}}</nowiki> | ||
Line 189: | Line 279: | ||
| <nowiki>{{Feature|obsolete|Hello there!|arma2|1.03}}</nowiki> | | <nowiki>{{Feature|obsolete|Hello there!|arma2|1.03}}</nowiki> | ||
| {{Feature|obsolete|Hello there!|arma2|1.03}} | | {{Feature|obsolete|Hello there!|arma2|1.03}} | ||
|- | |- | ||
| <nowiki>{{Feature|quote}}</nowiki> | | <nowiki>{{Feature|quote}}</nowiki> | ||
Line 222: | Line 300: | ||
| <nowiki>{{Feature|spoiler|Hello there!}}</nowiki> | | <nowiki>{{Feature|spoiler|Hello there!}}</nowiki> | ||
| {{Feature|spoiler|Hello there!}} | | {{Feature|spoiler|Hello there!}} | ||
|- | |- | ||
| <nowiki>{{Feature|UnsupportedDoc}}</nowiki> | | <nowiki>{{Feature|UnsupportedDoc}}</nowiki> | ||
Line 246: | Line 312: | ||
| <nowiki>{{Feature|UnsupportedTool|Hello there!}}</nowiki> | | <nowiki>{{Feature|UnsupportedTool|Hello there!}}</nowiki> | ||
| {{Feature|UnsupportedTool|Hello there!}} | | {{Feature|UnsupportedTool|Hello there!}} | ||
|} | |} | ||
[[Category:Templates|{{uc:{{PAGENAME}}}}]] | [[Category:Templates|{{uc:{{PAGENAME}}}}]] |
Revision as of 15:44, 22 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- | |
{{Feature|test}} | -unknown feature ("test") defined-
| |
Games | ||
{{Feature|ofp}} | ||
{{Feature|ofp|Hello there!}} | ||
{{Feature|arma0}} | ||
{{Feature|arma0|Hello there!}} | ||
{{Feature|ofpe}} | ||
{{Feature|ofpe|Hello there!}} | ||
{{Feature|arma1}} | ||
{{Feature|arma1|Hello there!}} | ||
{{Feature|arma2}} | ||
{{Feature|arma2|Hello there!}} | ||
{{Feature|arma2oa}} | ||
{{Feature|arma2oa|Hello there!}} | ||
{{Feature|arma3}} | ||
{{Feature|arma3|Hello there!}} | ||
{{Feature|eden editor}} | ||
{{Feature|eden editor|Hello there!}} | ||
{{Feature|afm}} | ||
{{Feature|afm|Hello there!}} | ||
{{Feature|arma3contact}} | ||
{{Feature|arma3contact|Hello there!}} | ||
{{Feature|arma3oldman}} | ||
{{Feature|arma3oldman|Hello there!}} | ||
{{Feature|armaR}} | ||
{{Feature|armaR|Hello there!}} | ||
{{Feature|arma4}} | ||
{{Feature|arma4|Hello there!}} | ||
{{Feature|dayz}} | ||
{{Feature|dayz|Hello there!}} | ||
{{Feature|tkoh}} | ||
{{Feature|tkoh|Hello there!}} | ||
{{Feature|ylands}} | ||
{{Feature|ylands|Hello there!}} | ||
{{Feature|GVI}} | ||
{{Feature|GVI|ofp}} | ||
{{Feature|GVI|ofp|1.75}} | ||
{{Feature|GVI|ofp|1.75|Great game!}} |
|
|
Controls | ||
{{Feature|keyboard}} | ||
{{Feature|keyboard|Hello there!}} | ||
{{Feature|gamepad}} | ||
{{Feature|gamepad|Hello there!}} |
|
|
Platforms | ||
{{Feature|consoles}} | ||
{{Feature|consoles|Hello there!}} | ||
{{Feature|playstation}} | ||
{{Feature|playstation|Hello there!}} | ||
{{Feature|xbox}} | ||
{{Feature|xbox|Hello there!}} | ||
{{Feature|PC}} | ||
{{Feature|PC|Hello there!}} | ||
{{Feature|steam}} | ||
{{Feature|steam|Hello there!}} |
|
|
Infoboxes | ||
{{Feature|informative}} | ||
{{Feature|informative|Hello there!}} | ||
{{Feature|important}} | ||
{{Feature|important|Hello there!}} | ||
{{Feature|warning}} | ||
{{Feature|warning|Hello there!}} | ||
{{Feature|obsolete}} | ||
{{Feature|obsolete|Hello there!}} | ||
{{Feature|obsolete|Hello there!|arma2}} | ||
{{Feature|obsolete|Hello there!|arma2|1.03}} | ||
{{Feature|quote}} | ||
{{Feature|quote|Hello there!}} | ||
{{Feature|quote|Hello there!|General Kenobi}} | ||
{{Feature|quote|Hello there!|General Kenobi|Conversations}} | ||
{{Feature|quote|Hello there!|General Kenobi|http://www.youtube.com/watch?v{{=}}rEq1Z0bjdwc}} | ||
{{Feature|spoiler}} | ||
{{Feature|spoiler|Hello there!}} | ||
{{Feature|UnsupportedDoc}} | ||
{{Feature|UnsupportedDoc|Hello there!}} | ||
{{Feature|UnsupportedTool}} | ||
{{Feature|UnsupportedTool|Hello there!}} |