Feature – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Template creation)
 
m (Add tkoh)
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]].}}}|[[File:BIS_Helicopter_DLC_Icon_v2.png|60px]]|#3189C9}}
|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]].}}}|[[File:BIS_Helicopter_DLC_Icon_v2.png|60px]]|#3189C9}}
|ARMA3= {{Messagebox|{{{2|}}}|[[File:Arma_3_logo_black.png|600px]]|#ADBF83}}
|ARMA3= {{Messagebox|{{{2|}}}|[[File:Arma_3_logo_black.png|60px]]|#ADBF83}}
|ARMA3CONTACT= {{Messagebox|{{{2|This content is exclusive to the [[Arma 3 Contact]] Expansion.}}}|[[File:arma3_Contact_logo_black.png|600px]]|#81AED3}}{{#ifeq:{{uc:{{FULLPAGENAME}}}}|TEMPLATE:FEATURE||[[Category:Arma 3 Contact]]}}
|ARMA3CONTACT= {{Messagebox|{{{2|This content is exclusive to the [[Arma 3 Contact]] Expansion.}}}|[[File:arma3_Contact_logo_black.png|600px]]|#81AED3}}{{#ifeq:{{uc:{{FULLPAGENAME}}}}|TEMPLATE:FEATURE||[[Category:Arma 3 Contact]]}}
|ARMA3OLDMAN= {{Messagebox|{{{2|This function is used by the [[Arma 3 Apex: Old Man]] content. It might only work properly inside this scenario.}}}|[[File:arma3apex oldman logo simplyfied white.png|60px]]|#1C732F}}
|ARMA3OLDMAN= {{Messagebox|{{{2|This function is used by the [[Arma 3 Apex: Old Man]] content. It might only work properly inside this scenario.}}}|[[File:arma3apex oldman logo simplyfied white.png|60px]]|#1C732F}}
|DAYZ= {{Messagebox|{{{2|}}}|[[File:dayz_logo_white.png|60px]]|#000}}
|DAYZ= {{Messagebox|{{{2|}}}|[[File:dayz_logo_white.png|60px]]|#000}}
|EDEN EDITOR
|EDEN EDITOR
|EDEN_EDITOR= {{Messagebox|{{{2|}}}|[[File:edenEditor logo.png|600px]]|#988297}}
|EDEN_EDITOR= {{Messagebox|{{{2|}}}|[[File:edenEditor logo.png|60px]]|#988297}}
|TKOH= {{Messagebox|{{{2|}}}|[[File:Logo TakOH.png|60px]]|#8CF}}
| -unknown feature defined ("{{{1}}}")-
| -unknown feature defined ("{{{1}}}")-
}}|-no feature defined-}}</includeonly><noinclude>
}}|-no feature defined-}}</includeonly><noinclude>
Line 18: Line 19:
** dayz: [[{{dayz}}]] feature
** dayz: [[{{dayz}}]] feature
** Eden Editor: [[Eden Editor]] feature
** Eden Editor: [[Eden Editor]] feature
** TKOH: [[{{tkoh}}]] feature
* message: (Optional) the message to display
* message: (Optional) the message to display


Line 66: Line 68:
| <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|tkoh}}</nowiki>
| {{Feature|tkoh}}
|-
| <nowiki>{{Feature|tkoh|Hello there!}}</nowiki>
| {{Feature|tkoh|Hello there!}}
|}
|}


[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>

Revision as of 18:54, 27 December 2020

Usage

{{Feature|name|message}}

Examples
Code Result
{{Feature}} -no feature defined-
{{Feature|test}} -unknown feature defined ("test")-
{{Feature|afm}}
BIS Helicopter DLC Icon v2.png
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.
{{Feature|afm|Hello there!}}
BIS Helicopter DLC Icon v2.png
Hello there!
{{Feature|arma3}}
Arma 3 logo black.png
-Text not defined-
{{Feature|arma3|Hello there!}}
Arma 3 logo black.png
Hello there!
{{Feature|arma3contact}}
arma3 Contact logo black.png
This content is exclusive to the Arma 3 Contact Expansion.
{{Feature|arma3contact|Hello there!}}
arma3 Contact logo black.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 logo white.png
-Text not defined-
{{Feature|dayz|Hello there!}}
dayz logo white.png
Hello there!
{{Feature|eden editor}}
edenEditor logo.png
-Text not defined-
{{Feature|eden editor|Hello there!}}
edenEditor logo.png
Hello there!
{{Feature|tkoh}}
Logo TakOH.png
-Text not defined-
{{Feature|tkoh|Hello there!}}
Logo TakOH.png
Hello there!