Feature – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) (Add Arma 1 feature) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{#switch:{{uc:{{{1|}}}}} | <includeonly>{{#if:{{{1|}}}|{{#switch:{{uc:{{{1|}}}}} | ||
|AFM= {{Messagebox|{{{2|For this command to have any effect, the [[Arma 3 Advanced Helicopter Flight Model]] (AFM) has to be enabled. AFM status can be checked with [[difficultyEnabledRTD]].}}}|{{Icon|afm|35}}|#3189C9}} | |AFM= {{Messagebox|{{{2|For this command to have any effect, the [[Arma 3 Advanced Helicopter Flight Model]] (AFM) has to be enabled. AFM status can be checked with [[difficultyEnabledRTD]].}}}|{{Icon|afm|35}}|#3189C9}} | ||
|ARMA1= {{Messagebox|{{{2|}}}|{{Icon|arma1}}|#FFDD7F}} | |||
|ARMA2= {{Messagebox|{{{2|}}}|{{Icon|arma2}}|#9DF17F}} | |ARMA2= {{Messagebox|{{{2|}}}|{{Icon|arma2}}|#9DF17F}} | ||
|ARMA2OA= {{Messagebox|{{{2|}}}|{{Icon|arma2oa}}|#E1D6A8}} | |ARMA2OA= {{Messagebox|{{{2|}}}|{{Icon|arma2oa}}|#E1D6A8}} | ||
Line 81: | Line 82: | ||
| <nowiki>{{Feature|afm|Hello there!}}</nowiki> | | <nowiki>{{Feature|afm|Hello there!}}</nowiki> | ||
| {{Feature|afm|Hello there!}} | | {{Feature|afm|Hello there!}} | ||
|- | |||
| <nowiki>{{Feature|arma1}}</nowiki> | |||
| {{Feature|arma1}} | |||
|- | |||
| <nowiki>{{Feature|arma1|Hello there!}}</nowiki> | |||
| {{Feature|arma1|Hello there!}} | |||
|- | |- | ||
| <nowiki>{{Feature|arma2}}</nowiki> | | <nowiki>{{Feature|arma2}}</nowiki> |
Revision as of 17:53, 17 July 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
- 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: Category: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|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}} | Spoiler Warning
The following text contains game spoilers such as story details or mission walkthroughs. Read at your own risk! |
{{Feature|spoiler|Hello there!}} | Spoiler Warning
The following text contains game spoilers such as story details or mission walkthroughs. Read at your own risk!The potential spoilers concern the following topic: 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!}} |