Feature – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Fix Quote style & link) |
Lou Montana (talk | contribs) (Add Steam default text) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
|EDEN EDITOR= {{Messagebox|{{{2|This is an [[:Category:Eden Editor|Eden Editor]] feature.}}}|{{Icon|arma3eden}}|#988297}} | |EDEN EDITOR= {{Messagebox|{{{2|This is an [[:Category:Eden Editor|Eden Editor]] feature.}}}|{{Icon|arma3eden}}|#988297}} | ||
|GAMEPAD= {{Messagebox|{{{2|{{TemplateCase||[[Category:Feature template usage error]]}}}}}|<div style{{=}}"margin-top: -.25em">{{Icon|gamepad}}</div>|#676}} | |GAMEPAD= {{Messagebox|{{{2|{{TemplateCase||[[Category:Feature template usage error]]}}}}}|<div style{{=}}"margin-top: -.25em">{{Icon|gamepad}}</div>|#676}} | ||
|GVI= {{Messagebox|{{{4|{{#if:{{{2|}}}|This feature was introduced with {{Name|{{{2}}}}}{{#if:{{{3|}}}|<nowiki/> v{{{3}}}}}.|-no game provided-{{TemplateCase||[[Category:Feature template usage error]]}}}}}}}|{{#if:{{{2|}}}|<div style{{=}}"color: #333">{{GVI|{{{2}}}|{{{3|1.00}}}}}</div>|?}}|#5A8}} | |||
|IMPORTANT= {{Messagebox|{{{2|{{TemplateCase||[[Category:Feature template usage error]]}}}}}|⚠|#EA0}} | |IMPORTANT= {{Messagebox|{{{2|{{TemplateCase||[[Category:Feature template usage error]]}}}}}|⚠|#EA0}} | ||
|INFORMATIVE= {{Messagebox|{{{2|{{TemplateCase||[[Category:Feature template usage error]]}}}}}|ⓘ|#00BFFF}} | |INFORMATIVE= {{Messagebox|{{{2|{{TemplateCase||[[Category:Feature template usage error]]}}}}}|ⓘ|#00BFFF}} | ||
|KEYBOARD= {{Messagebox|{{{2|{{TemplateCase||[[Category:Feature template usage error]]}}}}}|<div style{{=}}"margin-top: -.25em">{{Icon|keyboard}}</div>|#676}} | |KEYBOARD= {{Messagebox|{{{2|{{TemplateCase||[[Category:Feature template usage error]]}}}}}|<div style{{=}}"margin-top: -.25em">{{Icon|keyboard}}</div>|#676}} | ||
|PC= {{Messagebox|{{{2|This is a PC feature.}}}|{{Icon|kbm}}|#333; background: linear-gradient(#333 0%, goldenrod 50%, #333 100%);}} | |||
|PLAYSTATION= {{Messagebox|{{{2|This is a PlayStation® feature.}}}|<div style{{=}}"margin-top: -.25em">{{Icon|playstation}}</div>|#006FCD}} | |PLAYSTATION= {{Messagebox|{{{2|This is a PlayStation® feature.}}}|<div style{{=}}"margin-top: -.25em">{{Icon|playstation}}</div>|#006FCD}} | ||
|OBSOLETE= {{Messagebox| | |OBSOLETE= {{Messagebox|This 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|}}}}}|<span class="feature-quote">« {{Trim|{{{2}}}}} »</span>{{#if:{{{3|}}}| – {{{3}}}}}{{#if:{{{4|}}}| ({{Link|{{{4}}}|source}})}}}}|«|#8C8}} | |QUOTE= {{Messagebox|{{#if:{{Trim|{{{2|}}}}}|<span class="feature-quote">« {{Trim|{{{2}}}}} »</span>{{#if:{{{3|}}}| – {{Trim|{{{3}}}}}}}{{#if:{{{4|}}}| ({{Link|{{{4}}}|source}})}}}}|«|#8C8}} | ||
|SPOILER= <div class="biki-messagebox-spoiler"> | |SPOILER= <div class="biki-messagebox-spoiler"> | ||
<div class="spoiler-title">Spoiler Warning</div> | <div class="spoiler-title">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> | ||
|STEAM= {{Messagebox|{{{2|This is a [[Steam]] feature.}}}|{{Icon|steam}}|#171D25}} | |||
|TKOH= {{Messagebox|{{{2|This is a {{GameCategory|tkoh|link=y}} feature.}}}|{{Icon|tkoh|32}}|#8CF}} | |TKOH= {{Messagebox|{{{2|This is a {{GameCategory|tkoh|link=y}} feature.}}}|{{Icon|tkoh|32}}|#8CF}} | ||
|UNSUPPORTEDDOC= {{Messagebox/BI|Disclaimer: This page describes internal undocumented structures of [[Bohemia Interactive]] software.| | |UNSUPPORTEDDOC= {{Messagebox/BI|Disclaimer: This page describes internal undocumented structures of [[Bohemia Interactive]] software.| | ||
This page contains unofficial information. | This page contains unofficial information. | ||
Some usage of this information may constitute a violation of the rights of Bohemia Interactive and is in no way endorsed or recommended by | Some usage of this information may constitute a violation of the rights of Bohemia Interactive and is in no way endorsed or recommended by {{Name|bi}}.<br><!-- | ||
--> | -->{{Name|bi}} is not willing to tolerate use of such tools if it contravenes any general licenses granted to end users of this community wiki or BI products. | ||
}} | }} | ||
|UNSUPPORTEDTOOL= {{Messagebox/BI|Disclaimer: This page describes an unofficial tool created without permission or support of [[ | |UNSUPPORTEDTOOL= {{Messagebox/BI|Disclaimer: This page describes an unofficial tool created without permission or support of [[{{Name|bi}}]].| | ||
The product itself and its usage may be violating rights of Bohemia Interactive and is in no way endorsed or recommended by | The product itself and its usage may be violating rights of Bohemia Interactive and is in no way endorsed or recommended by {{Name|bi}}. | ||
See also '''[[:Category:Official Tools|Official Tools]]'''.}} | See also '''[[:Category:Official Tools|Official Tools]]'''.}} | ||
|WARNING= {{Messagebox|{{{2|{{TemplateCase||[[Category:Feature template usage error]]}}}}}|⚠|#F00}} | |WARNING= {{Messagebox|{{{2|{{TemplateCase||[[Category:Feature template usage error]]}}}}}|⚠|#F00}} | ||
Line 40: | Line 43: | ||
|YLANDS= {{Messagebox|{{{2|This is a {{GameCategory|ylands|link=y}} feature.}}}|{{Icon|ylands|60}}|#AED2D8}} | |YLANDS= {{Messagebox|{{{2|This is a {{GameCategory|ylands|link=y}} feature.}}}|{{Icon|ylands|60}}|#AED2D8}} | ||
| -unknown [[Template:Feature|feature]] ("{{{1}}}") defined-{{TemplateCase||[[Category:Feature template usage error]]}} | | -unknown [[Template:Feature|feature]] ("{{{1}}}") defined-{{TemplateCase||[[Category:Feature template usage error]]}} | ||
}}|-no feature defined-{{TemplateCase||[[Category:Feature template usage error]]}}}}</includeonly><noinclude>{{Feature/doc}}</noinclude> | }}|-no feature defined-{{TemplateCase||[[Category:Feature template usage error]]}}}}</includeonly><noinclude>{{Feature/doc}}<templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"label": "name", | |||
"description": "name of the feature used for the messagebox", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"AFM", | |||
"ofp", | |||
"arma0", | |||
"ofpe", | |||
"arma1", | |||
"arma2", | |||
"arma2oa", | |||
"arma3", | |||
"arma3contact", | |||
"arma3oldman", | |||
"armaR", | |||
"arma4", | |||
"dayz", | |||
"Eden Editor", | |||
"gamepad", | |||
"GVI", | |||
"keyboard", | |||
"important", | |||
"informative", | |||
"obsolete", | |||
"quote", | |||
"playstation", | |||
"spoiler", | |||
"tkoh", | |||
"UnsupportedDoc", | |||
"UnsupportedTool", | |||
"warning", | |||
"xbox", | |||
"ylands" | |||
], | |||
"autovalue": "informative", | |||
"required": true | |||
}, | |||
"2": {}, | |||
"3": {}, | |||
"4": {}, | |||
"message": {} | |||
}, | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"message" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata></noinclude> |
Revision as of 19:32, 10 July 2024
Adds a feature messagebox. Adds the page to the Feature template usage error category if wrongly filled.
Usage
{{Feature|name|message}}
- name: (case-insensitive) can be one of:
- AFM: Arma 3: Advanced Helicopter Flight Model feature
- ofp/arma0: Operation Flashpoint feature
- ofp: Operation Flashpoint: Elite feature
- arma1: ArmA: Armed Assault feature
- arma2: Arma 2 feature
- arma2oa: Arma 2: Operation Arrowhead feature
- arma3: Arma 3 feature
- arma3contact: Arma 3 Contact feature
- arma3oldman: Arma 3 Apex: Old Man feature
- armaR: Arma Reforger feature
- arma4: Arma 4 feature
- dayz: DayZ feature
- Eden Editor: Eden Editor feature
- Gamepad: a gamepad-specific information
- GVI: a Game Version Information - see {{GVI}}
- game id
- game version (Optional, default "1.00")
- additional text (Optional, default "This feature was introduced with game vVersion")
- Keyboard: a keyboard-specific information
- Important: an important messagebox; parameters:
- message
- Informative: an informative messagebox; parameters:
- message
- Obsolete: an obsolete part of the documentation or documentation about an obsolete aspect of the product; parameters (all optional):
- message (obsolescence reason)
- game (e.g arma3)
- version (e.g 1.50)
- Quote: a quote, parameters (all but message optional):
- message: quote
- author
- source (URL)
- PC: a PC feature
- playstation: a PlayStation feature
- Spoiler: spoiler alert
- TKOH: Take On Helicopters feature
- UnsupportedDoc: unsupported internal structure documentation (e.g PBO, save file etc)
- UnsupportedTool: unsupported, most likely unofficial tool
- Warning: a warning messagebox; parameters:
- message
- xbox: an Xbox feature
- Ylands: Ylands feature
- message: (Optional) the message to display
Code | Result |
---|---|
{{Feature}} | -no feature defined- |
{{Feature|test}} | -unknown feature ("test") defined- |
{{Feature|afm}} | |
{{Feature|afm|Hello there!}} | |
{{Feature|ofp}} | |
{{Feature|ofp|Hello there!}} | |
{{Feature|arma0}} | |
{{Feature|arma0|Hello there!}} | |
{{Feature|ofpe}} | |
{{Feature|ofpe|Hello there!}} | |
{{Feature|arma1}} | |
{{Feature|arma1|Hello there!}} | |
{{Feature|arma2}} | |
{{Feature|arma2|Hello there!}} | |
{{Feature|arma2oa}} | |
{{Feature|arma2oa|Hello there!}} | |
{{Feature|arma3}} | |
{{Feature|arma3|Hello there!}} | |
{{Feature|arma3contact}} | |
{{Feature|arma3contact|Hello there!}} | |
{{Feature|arma3oldman}} | |
{{Feature|arma3oldman|Hello there!}} | |
{{Feature|armaR}} | |
{{Feature|armaR|Hello there!}} | |
{{Feature|arma4}} | |
{{Feature|arma4|Hello there!}} | |
{{Feature|dayz}} | |
{{Feature|dayz|Hello there!}} | |
{{Feature|eden editor}} | |
{{Feature|eden editor|Hello there!}} | |
{{Feature|gamepad}} | |
{{Feature|gamepad|Hello there!}} | |
{{Feature|GVI}} | |
{{Feature|GVI|ofp}} | |
{{Feature|GVI|ofp|1.75}} | |
{{Feature|GVI|ofp|1.75|Great game!}} | |
{{Feature|important}} | |
{{Feature|important|Hello there!}} | |
{{Feature|informative}} | |
{{Feature|informative|Hello there!}} | |
{{Feature|keyboard}} | |
{{Feature|keyboard|Hello there!}} | |
{{Feature|obsolete}} | |
{{Feature|obsolete|Hello there!}} | |
{{Feature|obsolete|Hello there!|arma2}} | |
{{Feature|obsolete|Hello there!|arma2|1.03}} | |
{{Feature|PC}} | |
{{Feature|PC|Hello there!}} | |
{{Feature|playstation}} | |
{{Feature|playstation|Hello there!}} | |
{{Feature|quote}} | |
{{Feature|quote|Hello there!}} | |
{{Feature|quote|Hello there!|General Kenobi}} | |
{{Feature|quote|Hello there!|General Kenobi|Conversations}} | |
{{Feature|quote|Hello there!|General Kenobi|http://www.youtube.com/watch?v{{=}}rEq1Z0bjdwc}} | |
{{Feature|spoiler}} | |
{{Feature|spoiler|Hello there!}} | |
{{Feature|steam}} | |
{{Feature|steam|Hello there!}} | |
{{Feature|tkoh}} | |
{{Feature|tkoh|Hello there!}} | |
{{Feature|UnsupportedDoc}} | |
{{Feature|UnsupportedDoc|Hello there!}} | |
{{Feature|UnsupportedTool}} | |
{{Feature|UnsupportedTool|Hello there!}} | |
{{Feature|warning}} | |
{{Feature|warning|Hello there!}} | |
{{Feature|xbox}} | |
{{Feature|xbox|Hello there!}} | |
{{Feature|ylands}} | |
{{Feature|ylands|Hello there!}} |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | 1 | name of the feature used for the messagebox
| String | required |
2 | 2 | no description | Unknown | optional |
3 | 3 | no description | Unknown | optional |
4 | 4 | no description | Unknown | optional |
message | message | no description | Unknown | optional |