Feature – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (remove auto category from contact)
(Add spoiler)
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. If AFM is enabled can be checked with [[difficultyEnabledRTD]].}}}|{{Icon|afm}}|#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}}|#3189C9}}
|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 9: Line 9:
|EDEN EDITOR
|EDEN EDITOR
|EDEN_EDITOR= {{Messagebox|{{{2|}}}|{{Icon|arma3eden|60}}|#988297}}
|EDEN_EDITOR= {{Messagebox|{{{2|}}}|{{Icon|arma3eden|60}}|#988297}}
|SPOILER= <div style="background-color:#FAA; border: 0.25em solid #D00; box-shadow: 0 0 1em 0 rgba(0,0,0,0.25); margin: 2em auto; padding: 0.25em; text-align: center; width: 60em; min-width: 30em; max-width: 100%">
<div style="font-size: large; font-weight: bold">Spoiler Warning</div>
'''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>
|TKOH= {{Messagebox|{{{2|}}}|{{Icon|tkoh}}|#8CF}}
|TKOH= {{Messagebox|{{{2|}}}|{{Icon|tkoh}}|#8CF}}
|UNSUPPORTEDDOC= {{BIMessagebox|Disclaimer: This page describes internal undocumented structures of [[Bohemia Interactive]] software.|
|UNSUPPORTEDDOC= {{BIMessagebox|Disclaimer: This page describes internal undocumented structures of [[Bohemia Interactive]] software.|
Line 26: Line 30:
* 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
** arma2: {{arma2}} feature
** arma2: [[{{arma2}}]] feature
** arma2oa: {{arma2oa}} feature
** arma2oa: [[{{arma2oa}}]] feature
** arma3: {{arma3}} feature
** arma3: [[{{arma3}}]] 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: [[:Category:DayZ]] feature
** dayz: [[:Category:DayZ]] feature
** Eden Editor: [[Eden Editor]] feature
** Eden Editor: [[Eden Editor]] feature
** Spoiler: spoiler alert
** TKOH: [[{{tkoh}}]] feature
** TKOH: [[{{tkoh}}]] 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
** Ylands: [[{{ylands}}]] feature
** Ylands: [[{{ylands}}]] feature
* message: (Optional) the message to display
* message: (Optional) the message to display
Line 96: Line 102:
| <nowiki>{{Feature|eden editor|Hello there!}}</nowiki>
| <nowiki>{{Feature|eden editor|Hello there!}}</nowiki>
| {{Feature|eden editor|Hello there!}}
| {{Feature|eden editor|Hello there!}}
|-
| <nowiki>{{Feature|spoiler}}</nowiki>
| {{Feature|spoiler}}
|-
| <nowiki>{{Feature|spoiler|Hello there!}}</nowiki>
| {{Feature|spoiler|Hello there!}}
|-
|-
| <nowiki>{{Feature|tkoh}}</nowiki>
| <nowiki>{{Feature|tkoh}}</nowiki>

Revision as of 22:10, 1 February 2021

Usage

{{Feature|name|message}}

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|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|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|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}} Template:BIMessagebox
{{Feature|UnsupportedDoc|Hello there!}} Template:BIMessagebox
{{Feature|UnsupportedTool}} Template:BIMessagebox
{{Feature|UnsupportedTool|Hello there!}} Template:BIMessagebox
{{Feature|ylands}}
Ylands
-Text not defined-
{{Feature|ylands|Hello there!}}
Ylands
Hello there!