Feature – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Add Obsolete) |
Lou Montana (talk | contribs) (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}}}}}}}}|'' | |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|}}}}}|« ''{{Trim|{{{2}}}}}'' »{{#if:{{{3|}}}| – {{{3}}}}}{{#if:{{{4|}}}| ([{{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 19:10, 4 February 2021
Usage
{{Feature|name|message}}
- name: (case-insensitive) can be one of:
- AFM: Arma 3 Advanced Helicopter Flight Model 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
- dayz: Category:DayZ 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)
- Quote: a quote, parameters (all but message optional):
- message: quote
- author
- source (URL)
- 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
- 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|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|dayz}} | |
{{Feature|dayz|Hello there!}} | |
{{Feature|eden editor}} | |
{{Feature|eden editor|Hello there!}} | |
{{Feature|obsolete}} | |
{{Feature|obsolete|Hello there!}} | |
{{Feature|obsolete|Hello there!|arma2}} | |
{{Feature|obsolete|Hello there!|arma2|1.03}} | |
{{Feature|quote}} | |
{{Feature|quote|Hello there!}} | |
{{Feature|quote|Hello there!|General Kenobi}} | |
{{Feature|quote|Hello there!|General Kenobi|http://www.youtube.com/watch?v{{=}}rEq1Z0bjdwc}} | |
{{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}} | |
{{Feature|tkoh|Hello there!}} | |
{{Feature|UnsupportedDoc}} | Template:BIMessagebox |
{{Feature|UnsupportedDoc|Hello there!}} | Template:BIMessagebox |
{{Feature|UnsupportedTool}} | Template:BIMessagebox |
{{Feature|UnsupportedTool|Hello there!}} | Template:BIMessagebox |
{{Feature|ylands}} | |
{{Feature|ylands|Hello there!}} |