Feature – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add spoiler)
(Add Obsolete)
Line 8: Line 8:
|DAYZ= {{Messagebox|{{{2|}}}|{{Icon|dayz_alt}}|#000}}
|DAYZ= {{Messagebox|{{{2|}}}|{{Icon|dayz_alt}}|#000}}
|EDEN EDITOR
|EDEN EDITOR
|EDEN_EDITOR= {{Messagebox|{{{2|}}}|{{Icon|arma3eden|60}}|#988297}}
|EDEN_EDITOR= {{Messagebox|{{{2|}}}|{{Icon|arma3eden}}|#988297}}
|OBSOLETE= {{Messagebox|The following information is '''obsolete'''{{#if:{{{3|}}}|<nowiki/> as of {{Name|{{{3}}}}}{{#if:{{{4|}}}|<nowiki/> v{{{4}}}}}|}}.{{#if:{{{2|{{{message|}}}}}}|<nowiki/> Reason: {{{2|{{{message}}}}}}}}|'''🕖'''|#999}}
|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%">
|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>
<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|}}}
'''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}}|#8CF}}
|TKOH= {{Messagebox|{{{2|}}}|{{Icon|tkoh|60}}|#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.|
This page contains unofficial information.
This page contains unofficial information.
Line 23: Line 24:
The product itself and its usage may be violating rights of Bohemia Interactive and is in no way endorsed or recommended by 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 '''[[:Category:Official Tools|Official Tools]]'''.}}
See also '''[[:Category:Official Tools|Official Tools]]'''.}}
|YLANDS= {{Messagebox|{{{2|}}}|{{Icon|ylands}}|#AED2D8}}
|YLANDS= {{Messagebox|{{{2|}}}|{{Icon|ylands|60}}|#AED2D8}}
| -unknown feature ("{{{1}}}") defined-
| -unknown feature ("{{{1}}}") defined-
}}|-no feature defined-}}</includeonly><noinclude>
}}|-no feature defined-}}</includeonly><noinclude>
Line 37: Line 38:
** dayz: [[:Category:DayZ]] feature
** dayz: [[:Category:DayZ]] feature
** Eden Editor: [[Eden Editor]] feature
** Eden Editor: [[Eden Editor]] feature
** Obsolete: an obsolete part of the documentation, parameters (all optional):
*** message (obsolescence reason)
*** game (e.g arma3)
*** version (e.g 1.50)
** Spoiler: spoiler alert
** Spoiler: spoiler alert
** TKOH: [[{{tkoh}}]] feature
** TKOH: [[{{tkoh}}]] feature
Line 102: Line 107:
| <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|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|spoiler}}</nowiki>
| <nowiki>{{Feature|spoiler}}</nowiki>

Revision as of 16:11, 4 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|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|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!