Feature/doc – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Split Feature & doc) |
Lou Montana (talk | contribs) (Add ofp/arma0 doc, Fix links) |
||
Line 5: | Line 5: | ||
* name: (case-insensitive) can be one of: | * name: (case-insensitive) can be one of: | ||
** AFM: [[Arma 3: Advanced Helicopter Flight Model]] feature | ** AFM: [[Arma 3: Advanced Helicopter Flight Model]] feature | ||
** | ** ofp/arma0: {{GameCategory|ofp|link=y}} feature | ||
** arma2oa: | ** arma1: {{GameCategory|arma1|link=y}} feature | ||
** arma3: | ** arma2: {{GameCategory|arma2|link=y}} feature | ||
** arma2oa: {{GameCategory|arma2oa|link=y}} feature | |||
** arma3: {{GameCategory|arma3|link=y}} feature | |||
** arma3contact: [[Arma 3 Contact]] feature | ** arma3contact: [[Arma 3 Contact]] feature | ||
** arma3oldman: [[Arma 3 Apex: Old Man]] feature | ** arma3oldman: [[Arma 3 Apex: Old Man]] feature | ||
** dayz: | ** dayz: {{GameCategory|dayz|link=y}} feature | ||
** Eden Editor: [[Eden Editor]] feature | ** Eden Editor: [[Eden Editor]] feature | ||
** Important: an '''{{Color|#EA0|important}}''' messagebox; parameters: | ** Important: an '''{{Color|#EA0|important}}''' messagebox; parameters: | ||
Line 25: | Line 27: | ||
*** source (URL) | *** source (URL) | ||
** Spoiler: spoiler alert | ** Spoiler: spoiler alert | ||
** TKOH: | ** TKOH: {{GameCategory|tkoh|link=y}} feature | ||
** UnsupportedDoc: unsupported internal structure documentation (e.g PBO, save file etc) | ** UnsupportedDoc: unsupported internal structure documentation (e.g PBO, save file etc) | ||
** UnsupportedTool: unsupported, most likely unofficial tool | ** UnsupportedTool: unsupported, most likely unofficial tool | ||
Line 31: | Line 33: | ||
*** message | *** message | ||
** WIP: a [[:Category:WIP|work in progress]] page | ** WIP: a [[:Category:WIP|work in progress]] page | ||
** Ylands: | ** Ylands: {{GameCategory|ylands|link=y}} feature | ||
* message: (Optional) the message to display | * message: (Optional) the message to display | ||
Line 50: | Line 52: | ||
| <nowiki>{{Feature|afm|Hello there!}}</nowiki> | | <nowiki>{{Feature|afm|Hello there!}}</nowiki> | ||
| {{Feature|afm|Hello there!}} | | {{Feature|afm|Hello there!}} | ||
|- | |||
| <nowiki>{{Feature|ofp}}</nowiki> | |||
| {{Feature|ofp}} | |||
|- | |||
| <nowiki>{{Feature|ofp|Hello there!}}</nowiki> | |||
| {{Feature|ofp|Hello there!}} | |||
|- | |||
| <nowiki>{{Feature|arma0}}</nowiki> | |||
| {{Feature|arma0}} | |||
|- | |||
| <nowiki>{{Feature|arma0|Hello there!}}</nowiki> | |||
| {{Feature|arma0|Hello there!}} | |||
|- | |- | ||
| <nowiki>{{Feature|arma1}}</nowiki> | | <nowiki>{{Feature|arma1}}</nowiki> |
Revision as of 10:40, 26 August 2021
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:
- AFM: Arma 3: Advanced Helicopter Flight Model feature
- ofp/arma0: Operation Flashpoint feature
- arma1: ArmA: Armed Assault feature
- arma2: Arma 2 feature
- arma2oa: Arma 2: Operation Arrowhead feature
- arma3: Arma 3 feature
- arma3contact: Arma 3 Contact feature
- arma3oldman: Arma 3 Apex: Old Man feature
- dayz: DayZ feature
- Eden Editor: Eden Editor feature
- Important: an important messagebox; parameters:
- message
- Informative: an informative messagebox; parameters:
- message
- 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
- TKOH: Take On Helicopters feature
- UnsupportedDoc: unsupported internal structure documentation (e.g PBO, save file etc)
- UnsupportedTool: unsupported, most likely unofficial tool
- Warning: a warning messagebox; parameters:
- message
- WIP: a work in progress page
- Ylands: Ylands feature
- message: (Optional) the message to display
Code | Result |
---|---|
{{Feature}} | -no feature defined- |
{{Feature|test}} | -unknown feature ("test") defined- |
{{Feature|afm}} | |
{{Feature|afm|Hello there!}} | |
{{Feature|ofp}} | |
{{Feature|ofp|Hello there!}} | |
{{Feature|arma0}} | |
{{Feature|arma0|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|arma3contact}} | |
{{Feature|arma3contact|Hello there!}} | |
{{Feature|arma3oldman}} | |
{{Feature|arma3oldman|Hello there!}} | |
{{Feature|dayz}} | |
{{Feature|dayz|Hello there!}} | |
{{Feature|eden editor}} | |
{{Feature|eden editor|Hello there!}} | |
{{Feature|important}} | |
{{Feature|important|Hello there!}} | |
{{Feature|informative}} | |
{{Feature|informative|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|http://www.youtube.com/watch?v{{=}}rEq1Z0bjdwc}} | |
{{Feature|spoiler}} | |
{{Feature|spoiler|Hello there!}} | |
{{Feature|tkoh}} | |
{{Feature|tkoh|Hello there!}} | |
{{Feature|UnsupportedDoc}} | |
{{Feature|UnsupportedDoc|Hello there!}} | |
{{Feature|UnsupportedTool}} | |
{{Feature|UnsupportedTool|Hello there!}} | |
{{Feature|warning}} | |
{{Feature|warning|Hello there!}} | |
{{Feature|ylands}} | |
{{Feature|ylands|Hello there!}} |