Feature – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add Obsolete)
(Add Quote)
Line 9: Line 9:
|EDEN EDITOR
|EDEN EDITOR
|EDEN_EDITOR= {{Messagebox|{{{2|}}}|{{Icon|arma3eden}}|#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}}
|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}}
|QUOTE= {{Messagebox|{{#if:{{Trim|{{{2|}}}}}|«&nbsp;''{{Trim|{{{2}}}}}''&nbsp;»{{#if:{{{3|}}}|&nbsp;&ndash;&nbsp;{{{3}}}}}{{#if:{{{4|}}}|&nbsp;([{{Trim|{{{4}}}}} source])}}}}|«|#8C8}}
|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>
Line 42: Line 43:
*** game (e.g arma3)
*** game (e.g arma3)
*** version (e.g 1.50)
*** version (e.g 1.50)
** Quote: a quote, parameters (all but ''message'' optional):
*** message: quote
*** author
*** source (URL)
** Spoiler: spoiler alert
** Spoiler: spoiler alert
** TKOH: [[{{tkoh}}]] feature
** TKOH: [[{{tkoh}}]] feature
Line 119: Line 124:
| <nowiki>{{Feature|obsolete|Hello there!|arma2|1.03}}</nowiki>
| <nowiki>{{Feature|obsolete|Hello there!|arma2|1.03}}</nowiki>
| {{Feature|obsolete|Hello there!|arma2|1.03}}
| {{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>
| <nowiki>{{Feature|spoiler}}</nowiki>

Revision as of 20:10, 4 February 2021

Usage

{{Feature|name|message}}

  • name: (case-insensitive) can be one of:
  • 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|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|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|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}} 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!