Feature – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[{{arma3}}]]" to "{{arma3}}")
(Split Feature & doc)
Line 5: Line 5:
|ARMA2OA= {{Messagebox|{{{2|}}}|{{Icon|arma2oa}}|#E1D6A8}}
|ARMA2OA= {{Messagebox|{{{2|}}}|{{Icon|arma2oa}}|#E1D6A8}}
|ARMA3= {{Messagebox|{{{2|}}}|{{Icon|arma3}}|#ADBF83}}
|ARMA3= {{Messagebox|{{{2|}}}|{{Icon|arma3}}|#ADBF83}}
|ARMA3CONTACT= {{Messagebox|{{{2|This content is exclusive to the [[Arma 3 Contact]] Expansion.}}}|{{Icon|arma3contact|30}}|#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|}}}|{{Icon|dayz_alt}}|#000}}
|DAYZ= {{Messagebox|{{{2|}}}|{{Icon|dayz_alt}}|#000}}
Line 19: Line 19:
'''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|}}}|{{Icon|tkoh|60}}|#8CF}}
|TKOH= {{Messagebox|{{{2|}}}|{{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:
|YLANDS= {{Messagebox|{{{2|}}}|{{Icon|ylands|60}}|#AED2D8}}
|YLANDS= {{Messagebox|{{{2|}}}|{{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>Adds a feature messagebox. Adds the page to the [[:Category:Feature template usage error|Feature template usage error]] category if wrongly filled.
}}|-no feature defined-{{TemplateCase||[[Category:Feature template usage error]]}}}}</includeonly><noinclude>{{Feature/doc}}</noinclude>
== Usage ==
{{<nowiki/>Feature|'''''name'''''|'''''message'''''}}
* name: (case-insensitive) can be one of:
** AFM: [[Arma 3 Advanced Helicopter Flight Model]] feature
** arma2: [[:Category:Arma 2|{{arma2}}]] feature
** arma2oa: [[{{arma2oa}}]] feature
** arma3: [[:Category:Arma 3|{{arma3}}]] feature
** arma3contact: [[Arma 3 Contact]] feature
** arma3oldman: [[Arma 3 Apex: Old Man]] feature
** dayz: [[:Category:DayZ]] feature
** Eden Editor: [[Eden Editor]] feature
** Important: an '''{{Color|#EA0|important}}''' messagebox; parameters:
*** message
** Informative: an '''{{Color|#00BFFF|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: [[{{tkoh}}]] feature
** UnsupportedDoc: unsupported internal structure documentation (e.g PBO, save file etc)
** UnsupportedTool: unsupported, most likely unofficial tool
** Warning: a '''{{Color|#F00|warning}}''' messagebox; parameters:
*** message
** WIP: a [[:Category:WIP|work in progress]] page
** Ylands: [[{{ylands}}]] feature
* message: (Optional) the message to display
 
{| class="wikitable"
|+ Examples
! Code
! Result
|-
| <nowiki>{{Feature}}</nowiki>
| {{Feature}}
|-
| <nowiki>{{Feature|test}}</nowiki>
| {{Feature|test}}
|-
| <nowiki>{{Feature|afm}}</nowiki>
| {{Feature|afm}}
|-
| <nowiki>{{Feature|afm|Hello there!}}</nowiki>
| {{Feature|afm|Hello there!}}
|-
| <nowiki>{{Feature|arma1}}</nowiki>
| {{Feature|arma1}}
|-
| <nowiki>{{Feature|arma1|Hello there!}}</nowiki>
| {{Feature|arma1|Hello there!}}
|-
| <nowiki>{{Feature|arma2}}</nowiki>
| {{Feature|arma2}}
|-
| <nowiki>{{Feature|arma2|Hello there!}}</nowiki>
| {{Feature|arma2|Hello there!}}
|-
| <nowiki>{{Feature|arma2oa}}</nowiki>
| {{Feature|arma2oa}}
|-
| <nowiki>{{Feature|arma2oa|Hello there!}}</nowiki>
| {{Feature|arma2oa|Hello there!}}
|-
| <nowiki>{{Feature|arma3}}</nowiki>
| {{Feature|arma3}}
|-
| <nowiki>{{Feature|arma3|Hello there!}}</nowiki>
| {{Feature|arma3|Hello there!}}
|-
| <nowiki>{{Feature|arma3contact}}</nowiki>
| {{Feature|arma3contact}}
|-
| <nowiki>{{Feature|arma3contact|Hello there!}}</nowiki>
| {{Feature|arma3contact|Hello there!}}
|-
| <nowiki>{{Feature|arma3oldman}}</nowiki>
| {{Feature|arma3oldman}}
|-
| <nowiki>{{Feature|arma3oldman|Hello there!}}</nowiki>
| {{Feature|arma3oldman|Hello there!}}
|-
| <nowiki>{{Feature|dayz}}</nowiki>
| {{Feature|dayz}}
|-
| <nowiki>{{Feature|dayz|Hello there!}}</nowiki>
| {{Feature|dayz|Hello there!}}
|-
| <nowiki>{{Feature|eden editor}}</nowiki>
| {{Feature|eden editor}}
|-
| <nowiki>{{Feature|eden editor|Hello there!}}</nowiki>
| {{Feature|eden editor|Hello there!}}
|-
| <nowiki>{{Feature|important}}</nowiki>
| {{Feature|important}}
|-
| <nowiki>{{Feature|important|Hello there!}}</nowiki>
| {{Feature|important|Hello there!}}
|-
| <nowiki>{{Feature|informative}}</nowiki>
| {{Feature|informative}}
|-
| <nowiki>{{Feature|informative|Hello there!}}</nowiki>
| {{Feature|informative|Hello there!}}
|-
| <nowiki>{{Feature|obsolete}}</nowiki>
| {{Feature|obsolete}}
|-
| <nowiki>{{Feature|obsolete|Hello there!}}</nowiki>
| {{Feature|obsolete|Hello there!}}
|-
| <nowiki>{{Feature|obsolete|Hello there!|arma2}}</nowiki>
| {{Feature|obsolete|Hello there!|arma2}}
|-
| <nowiki>{{Feature|obsolete|Hello there!|arma2|1.03}}</nowiki>
| {{Feature|obsolete|Hello there!|arma2|1.03}}
|-
| <nowiki>{{Feature|quote}}</nowiki>
| {{Feature|quote}}
|-
| <nowiki>{{Feature|quote|Hello there!}}</nowiki>
| {{Feature|quote|Hello there!}}
|-
| <nowiki>{{Feature|quote|Hello there!|General Kenobi}}</nowiki>
| {{Feature|quote|Hello there!|General Kenobi}}
|-
| <nowiki>{{Feature|quote|Hello there!|General Kenobi|http://www.youtube.com/watch?v{{=}}rEq1Z0bjdwc}}</nowiki>
| {{Feature|quote|Hello there!|General Kenobi|http://www.youtube.com/watch?v{{=}}rEq1Z0bjdwc}}
|-
| <nowiki>{{Feature|spoiler}}</nowiki>
| {{Feature|spoiler}}
|-
| <nowiki>{{Feature|spoiler|Hello there!}}</nowiki>
| {{Feature|spoiler|Hello there!}}
|-
| <nowiki>{{Feature|tkoh}}</nowiki>
| {{Feature|tkoh}}
|-
| <nowiki>{{Feature|tkoh|Hello there!}}</nowiki>
| {{Feature|tkoh|Hello there!}}
|-
| <nowiki>{{Feature|UnsupportedDoc}}</nowiki>
| {{Feature|UnsupportedDoc}}
|-
| <nowiki>{{Feature|UnsupportedDoc|Hello there!}}</nowiki>
| {{Feature|UnsupportedDoc|Hello there!}}
|-
| <nowiki>{{Feature|UnsupportedTool}}</nowiki>
| {{Feature|UnsupportedTool}}
|-
| <nowiki>{{Feature|UnsupportedTool|Hello there!}}</nowiki>
| {{Feature|UnsupportedTool|Hello there!}}
|-
| <nowiki>{{Feature|warning}}</nowiki>
| {{Feature|warning}}
|-
| <nowiki>{{Feature|warning|Hello there!}}</nowiki>
| {{Feature|warning|Hello there!}}
|-
| <nowiki>{{Feature|ylands}}</nowiki>
| {{Feature|ylands}}
|-
| <nowiki>{{Feature|ylands|Hello there!}}</nowiki>
| {{Feature|ylands|Hello there!}}
|}
 
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>

Revision as of 16:18, 9 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)
    • 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
Examples
Code Result
{{Feature}} -no feature defined-
{{Feature|test}} -unknown feature ("test") defined-
{{Feature|afm}}
Advanced Helicopter Flight Model
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.
{{Feature|afm|Hello there!}}
Advanced Helicopter Flight Model
Hello there!
{{Feature|ofp}} -unknown feature ("ofp") defined-
{{Feature|ofp|Hello there!}} -unknown feature ("ofp") defined-
{{Feature|arma0}} -unknown feature ("arma0") defined-
{{Feature|arma0|Hello there!}} -unknown feature ("arma0") defined-
{{Feature|ofpe}} -unknown feature ("ofpe") defined-
{{Feature|ofpe|Hello there!}} -unknown feature ("ofpe") defined-
{{Feature|arma1}}
Armed Assault
-Text not defined-
{{Feature|arma1|Hello there!}}
Armed Assault
Hello there!
{{Feature|arma2}}
Arma 2
-Text not defined-
{{Feature|arma2|Hello there!}}
Arma 2
Hello there!
{{Feature|arma2oa}}
Arma 2: Operation Arrowhead
-Text not defined-
{{Feature|arma2oa|Hello there!}}
Arma 2: Operation Arrowhead
Hello there!
{{Feature|arma3}}
Arma 3
-Text not defined-
{{Feature|arma3|Hello there!}}
Arma 3
Hello there!
{{Feature|arma3contact}}
enoch icon ca.png
This content is exclusive to the Arma 3 Contact Expansion.
{{Feature|arma3contact|Hello there!}}
enoch icon ca.png
Hello there!
{{Feature|arma3oldman}}
arma3apex oldman logo simplyfied white.png
This function is used by the Arma 3 Apex: Old Man content. It might only work properly inside this scenario.
{{Feature|arma3oldman|Hello there!}}
arma3apex oldman logo simplyfied white.png
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}}
DayZ
-Text not defined-
{{Feature|dayz|Hello there!}}
DayZ
Hello there!
{{Feature|eden editor}}
Eden Editor
-Text not defined-
{{Feature|eden editor|Hello there!}}
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}}
-Text not defined-
{{Feature|important|Hello there!}}
Hello there!
{{Feature|informative}}
-Text not defined-
{{Feature|informative|Hello there!}}
Hello there!
{{Feature|keyboard}} -unknown feature ("keyboard") defined-
{{Feature|keyboard|Hello there!}} -unknown feature ("keyboard") defined-
{{Feature|obsolete}}
🕖
The following information is obsolete.
{{Feature|obsolete|Hello there!}}
🕖
The following information is obsolete. Reason: Hello there!
{{Feature|obsolete|Hello there!|arma2}}
🕖
The following information is obsolete as of Arma 2. Reason: Hello there!
{{Feature|obsolete|Hello there!|arma2|1.03}}
🕖
The following information is obsolete as of Arma 2 v1.03. Reason: Hello there!
{{Feature|playstation}} -unknown feature ("playstation") defined-
{{Feature|playstation|Hello there!}} -unknown feature ("playstation") defined-
{{Feature|quote}}
«
-Text not defined-
{{Feature|quote|Hello there!}}
«
« Hello there! »
{{Feature|quote|Hello there!|General Kenobi}}
«
« Hello there! » – General Kenobi
{{Feature|quote|Hello there!|General Kenobi|Conversations}}
«
« Hello there! » – General Kenobi ([Conversations source])
{{Feature|quote|Hello there!|General Kenobi|http://www.youtube.com/watch?v{{=}}rEq1Z0bjdwc}}
«
« Hello there! » – General Kenobi (source)
{{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}}
Take On Helicopters
-Text not defined-
{{Feature|tkoh|Hello there!}}
Take On Helicopters
Hello there!
{{Feature|UnsupportedDoc}}
bi symbol white.png
Disclaimer: This page describes internal undocumented structures of Bohemia Interactive software.

This page contains unofficial information.

Some usage of this information may constitute a violation of the rights of Bohemia Interactive and is in no way endorsed or recommended by Bohemia Interactive.
Bohemia Interactive is not willing to tolerate use of such tools if it contravenes any general licenses granted to end users of this community wiki or BI products.
{{Feature|UnsupportedDoc|Hello there!}}
bi symbol white.png
Disclaimer: This page describes internal undocumented structures of Bohemia Interactive software.

This page contains unofficial information.

Some usage of this information may constitute a violation of the rights of Bohemia Interactive and is in no way endorsed or recommended by Bohemia Interactive.
Bohemia Interactive is not willing to tolerate use of such tools if it contravenes any general licenses granted to end users of this community wiki or BI products.
{{Feature|UnsupportedTool}}
bi symbol white.png
Disclaimer: This page describes an unofficial tool created without permission or support of Bohemia Interactive.

The product itself and its usage may be violating rights of Bohemia Interactive and is in no way endorsed or recommended by Bohemia Interactive.

See also Official Tools.
{{Feature|UnsupportedTool|Hello there!}}
bi symbol white.png
Disclaimer: This page describes an unofficial tool created without permission or support of Bohemia Interactive.

The product itself and its usage may be violating rights of Bohemia Interactive and is in no way endorsed or recommended by Bohemia Interactive.

See also Official Tools.
{{Feature|warning}}
-Text not defined-
{{Feature|warning|Hello there!}}
Hello there!
{{Feature|xbox}} -unknown feature ("xbox") defined-
{{Feature|xbox|Hello there!}} -unknown feature ("xbox") defined-
{{Feature|ylands}}
Ylands
-Text not defined-
{{Feature|ylands|Hello there!}}
Ylands
Hello there!