Feature – Template
Jump to navigation
Jump to search
m (changed link of dayz) |
Lou Montana (talk | contribs) m (Add Template:Icon usage) |
||
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| | |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|48px]]|#3189C9}} | ||
|ARMA3= {{Messagebox|{{{2|}}}| | |ARMA3= {{Messagebox|{{{2|}}}|{{Icon|arma3}}|#ADBF83}} | ||
|ARMA3CONTACT= {{Messagebox|{{{2|This content is exclusive to the [[Arma 3 Contact]] Expansion.}}}| | |ARMA3CONTACT= {{Messagebox|{{{2|This content is exclusive to the [[Arma 3 Contact]] Expansion.}}}|{{Icon|arma3contact}}|#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.}}}| | |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|}}}| | |DAYZ= {{Messagebox|{{{2|}}}|{{Icon|dayz_alt}}|#000}} | ||
|EDEN EDITOR | |EDEN EDITOR | ||
|EDEN_EDITOR= {{Messagebox|{{{2|}}}| | |EDEN_EDITOR= {{Messagebox|{{{2|}}}|{{Icon|arma3eden|60}}|#988297}} | ||
|TKOH= {{Messagebox|{{{2|}}}| | |TKOH= {{Messagebox|{{{2|}}}|{{Icon|tkoh}}|#8CF}} | ||
|YLANDS= {{Messagebox|{{{2|}}}|{{Icon|ylands}}|#AED2D8}} | |||
| -unknown feature defined ("{{{1}}}")- | | -unknown feature defined ("{{{1}}}")- | ||
}}|-no feature defined-}}</includeonly><noinclude> | }}|-no feature defined-}}</includeonly><noinclude> | ||
Line 20: | Line 21: | ||
** Eden Editor: [[Eden Editor]] feature | ** Eden Editor: [[Eden Editor]] feature | ||
** TKOH: [[{{tkoh}}]] feature | ** TKOH: [[{{tkoh}}]] feature | ||
** Ylands: [[{{ylands}}]] feature | |||
* message: (Optional) the message to display | * message: (Optional) the message to display | ||
Line 74: | Line 76: | ||
| <nowiki>{{Feature|tkoh|Hello there!}}</nowiki> | | <nowiki>{{Feature|tkoh|Hello there!}}</nowiki> | ||
| {{Feature|tkoh|Hello there!}} | | {{Feature|tkoh|Hello there!}} | ||
|- | |||
| <nowiki>{{Feature|ylands}}</nowiki> | |||
| {{Feature|ylands}} | |||
|- | |||
| <nowiki>{{Feature|ylands|Hello there!}}</nowiki> | |||
| {{Feature|ylands|Hello there!}} | |||
|} | |} | ||
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude> | [[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude> |
Revision as of 23:05, 31 December 2020
Usage
{{Feature|name|message}}
- name: (case-insensitive) can be one of:
- AFM: Arma 3 Advanced Helicopter Flight Model feature
- arma3: Arma 3 feature
- arma3contact: Arma 3 Contact feature
- arma3oldman: Arma 3 Apex: Old Man feature
- dayz: Category:DayZ feature
- Eden Editor: Eden Editor feature
- TKOH: Take On Helicopters feature
- Ylands: Ylands feature
- message: (Optional) the message to display
Code | Result |
---|---|
{{Feature}} | -no feature defined- |
{{Feature|test}} | -unknown feature defined ("test")- |
{{Feature|afm}} | |
{{Feature|afm|Hello there!}} | |
{{Feature|arma3}} | |
{{Feature|arma3|Hello there!}} | |
{{Feature|arma3contact}} | |
{{Feature|arma3contact|Hello there!}} | |
{{Feature|arma3oldman}} | |
{{Feature|arma3oldman|Hello there!}} | |
{{Feature|dayz}} | |
{{Feature|dayz|Hello there!}} | |
{{Feature|eden editor}} | |
{{Feature|eden editor|Hello there!}} | |
{{Feature|tkoh}} | |
{{Feature|tkoh|Hello there!}} | |
{{Feature|ylands}} | |
{{Feature|ylands|Hello there!}} |