Feature – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Add ofp/arma0 feature, Add default game/eden text, Fix Arma 2's colour) |
Lou Montana (talk | contribs) m (Fix AFM link, Add game links) |
||
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|Advanced Flight Model]] (AFM) has to be enabled. AFM status can be checked with [[difficultyEnabledRTD]].}}}|{{Icon|afm|35}}|#3189C9}} | ||
|OFP | |OFP | ||
|ARMA0= {{Messagebox|{{{2|This is an {{Name|arma0}} feature.}}}|{{Icon|arma0}}|#AA8}} | |ARMA0= {{Messagebox|{{{2|This is an [[:Category:Operation Flashpoint|{{Name|arma0}}]] feature.}}}|{{Icon|arma0}}|#AA8}} | ||
|ARMA1= {{Messagebox|{{{2|This is an {{ | |ARMA1= {{Messagebox|{{{2|This is an {{GameCategory|arma1|link=y}} feature.}}}|{{Icon|arma1}}|#FFDD7F}} | ||
|ARMA2= {{Messagebox|{{{2|This is an {{ | |ARMA2= {{Messagebox|{{{2|This is an {{GameCategory|arma2|link=y}} feature.}}}|{{Icon|arma2}}|#6EA859}} | ||
|ARMA2OA= {{Messagebox|{{{2|This is an {{ | |ARMA2OA= {{Messagebox|{{{2|This is an {{GameCategory|arma2oa|link=y}} feature.}}}|{{Icon|arma2oa}}|#E1D6A8}} | ||
|ARMA3= {{Messagebox|{{{2|This is an {{ | |ARMA3= {{Messagebox|{{{2|This is an {{GameCategory|arma3|link=y}} feature.}}}|{{Icon|arma3}}|#ADBF83}} | ||
|ARMA3CONTACT= {{Messagebox|{{{2|This content is exclusive to the [[Arma 3 Contact]] Expansion.}}}|{{Icon|arma3contact|32}}|#81AED3}} | |ARMA3CONTACT= {{Messagebox|{{{2|This content is exclusive to the [[Arma 3 Contact]] Expansion.}}}|{{Icon|arma3contact|32}}|#81AED3}} | ||
|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}}|#1C732F}} | |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}}|#1C732F}} | ||
|DAYZ= {{Messagebox|{{{2|This is a {{ | |DAYZ= {{Messagebox|{{{2|This is a {{GameCategory|dayz|link=y}} feature.}}}|{{Icon|dayz_alt}}|#000}} | ||
|EDENEDITOR | |EDENEDITOR | ||
|EDEN EDITOR | |EDEN EDITOR | ||
|EDEN_EDITOR= {{Messagebox|{{{2|This is an Eden Editor feature.}}}|{{Icon|arma3eden}}|#988297}} | |EDEN_EDITOR= {{Messagebox|{{{2|This is an [[:Category:Eden Editor|Eden Editor]] feature.}}}|{{Icon|arma3eden}}|#988297}} | ||
|IMPORTANT= {{Messagebox|{{{2|}}}|⚠|#EA0}} | |IMPORTANT= {{Messagebox|{{{2|}}}|⚠|#EA0}} | ||
|INFORMATIVE= {{Messagebox|{{{2|}}}|ⓘ|#00BFFF}} | |INFORMATIVE= {{Messagebox|{{{2|}}}|ⓘ|#00BFFF}} | ||
Line 21: | Line 21: | ||
'''The following text contains game spoilers such as story details or mission walkthroughs. Read at your own risk!'''{{#if:{{{2|}}} | '''The following text contains game spoilers such as story details or mission walkthroughs. Read at your own risk!'''{{#if:{{{2|}}} | ||
|<br>The potential spoilers concern the following topic: {{{2}}}.}}</div> | |<br>The potential spoilers concern the following topic: {{{2}}}.}}</div> | ||
|TKOH= {{Messagebox|{{{2|This is a {{ | |TKOH= {{Messagebox|{{{2|This is a {{GameCategory|tkoh|link=y}} feature.}}}|{{Icon|tkoh|32}}|#8CF}} | ||
|UNSUPPORTEDDOC= {{Messagebox/BI|Disclaimer: This page describes internal undocumented structures of [[Bohemia Interactive]] software.| | |UNSUPPORTEDDOC= {{Messagebox/BI|Disclaimer: This page describes internal undocumented structures of [[Bohemia Interactive]] software.| | ||
This page contains unofficial information. | This page contains unofficial information. | ||
Line 32: | Line 32: | ||
See also '''[[:Category:Official Tools|Official Tools]]'''.}} | See also '''[[:Category:Official Tools|Official Tools]]'''.}} | ||
|WARNING= {{Messagebox|{{{2|}}}|⚠|#F00}} | |WARNING= {{Messagebox|{{{2|}}}|⚠|#F00}} | ||
|YLANDS= {{Messagebox|{{{2|This is a {{ | |YLANDS= {{Messagebox|{{{2|This is a {{GameCategory|ylands|link=y}} feature.}}}|{{Icon|ylands|60}}|#AED2D8}} | ||
| -unknown feature ("{{{1}}}") defined-{{TemplateCase||[[Category:Feature template usage error]]}} | | -unknown feature ("{{{1}}}") defined-{{TemplateCase||[[Category:Feature template usage error]]}} | ||
}}|-no feature defined-{{TemplateCase||[[Category:Feature template usage error]]}}}}</includeonly><noinclude>{{Feature/doc}}</noinclude> | }}|-no feature defined-{{TemplateCase||[[Category:Feature template usage error]]}}}}</includeonly><noinclude>{{Feature/doc}}</noinclude> |
Revision as of 23:35, 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
- ofp: Operation Flashpoint: Elite 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
- armaR: Arma Reforger feature
- arma4: Arma 4 feature
- dayz: DayZ feature
- Eden Editor: Eden Editor feature
- Gamepad: a gamepad-specific information
- 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")
- Keyboard: a keyboard-specific information
- 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)
- PC: a PC feature
- playstation: a PlayStation feature
- 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
- xbox: an Xbox feature
- 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|ofpe}} | -unknown feature ("ofpe") defined- |
{{Feature|ofpe|Hello there!}} | -unknown feature ("ofpe") defined- |
{{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|armaR}} | -unknown feature ("armaR") defined- |
{{Feature|armaR|Hello there!}} | -unknown feature ("armaR") defined- |
{{Feature|arma4}} | -unknown feature ("arma4") defined- |
{{Feature|arma4|Hello there!}} | -unknown feature ("arma4") defined- |
{{Feature|dayz}} | |
{{Feature|dayz|Hello there!}} | |
{{Feature|eden editor}} | |
{{Feature|eden editor|Hello there!}} | |
{{Feature|gamepad}} | -unknown feature ("gamepad") defined- |
{{Feature|gamepad|Hello there!}} | -unknown feature ("gamepad") defined- |
{{Feature|GVI}} | -unknown feature ("GVI") defined- |
{{Feature|GVI|ofp}} | -unknown feature ("GVI") defined- |
{{Feature|GVI|ofp|1.75}} | -unknown feature ("GVI") defined- |
{{Feature|GVI|ofp|1.75|Great game!}} | -unknown feature ("GVI") defined- |
{{Feature|important}} | |
{{Feature|important|Hello there!}} | |
{{Feature|informative}} | |
{{Feature|informative|Hello there!}} | |
{{Feature|keyboard}} | -unknown feature ("keyboard") defined- |
{{Feature|keyboard|Hello there!}} | -unknown feature ("keyboard") defined- |
{{Feature|obsolete}} | |
{{Feature|obsolete|Hello there!}} | |
{{Feature|obsolete|Hello there!|arma2}} | |
{{Feature|obsolete|Hello there!|arma2|1.03}} | |
{{Feature|PC}} | -unknown feature ("PC") defined- |
{{Feature|PC|Hello there!}} | -unknown feature ("PC") defined- |
{{Feature|playstation}} | -unknown feature ("playstation") defined- |
{{Feature|playstation|Hello there!}} | -unknown feature ("playstation") defined- |
{{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}} | 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|steam}} | -unknown feature ("steam") defined- |
{{Feature|steam|Hello there!}} | -unknown feature ("steam") defined- |
{{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|xbox}} | -unknown feature ("xbox") defined- |
{{Feature|xbox|Hello there!}} | -unknown feature ("xbox") defined- |
{{Feature|ylands}} | |
{{Feature|ylands|Hello there!}} |