Name – Template
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) m (>.<) |
Fred Gandt (talk | contribs) (Update ready for {{GVI}} which uses this) |
||
Line 419: | Line 419: | ||
|image=vbs1 | |image=vbs1 | ||
|short=VBS1 | |short=VBS1 | ||
|#default=Virtual Battlespace}} | |#default=Virtual Battlespace 1}} | ||
|vbs2 | |vbs2 | ||
|avbs2 | |avbs2 | ||
Line 441: | Line 441: | ||
|image=vbs2 | |image=vbs2 | ||
|short=VBS2 | |short=VBS2 | ||
|#default=Virtual Battlespace}} | |#default=Virtual Battlespace 2}} | ||
|vbs3 | |vbs3 | ||
|avbs3 | |avbs3 | ||
Line 463: | Line 463: | ||
|image=vbs3 | |image=vbs3 | ||
|short=VBS3 | |short=VBS3 | ||
|#default=Virtual Battlespace}} | |#default=Virtual Battlespace 3}} | ||
<!-- DayZ --> | <!-- DayZ --> | ||
|#default='''[[Bohemia_Interactive_Community:Naming_Conventions|{{{1}}}]]'''}}</includeonly><noinclude> | |#default='''[[Bohemia_Interactive_Community:Naming_Conventions|{{{1}}}]]'''}}</includeonly><noinclude> | ||
{{Important| | {{Important|Please add any switch cases omitted, or if unsure about how to do it, leave a message on [[Template talk:Name|the talk page]].}} | ||
Please add any switch cases omitted, or if unsure about how to do it, leave a message on [[Template talk:Name|the talk page]].}} | |||
==Usage== | ==Usage== | ||
Line 491: | Line 487: | ||
===Handling=== | ===Handling=== | ||
{| class=" | {| class="bikitable" | ||
|+ The following naming conventions are handled (so far) | |+ The following naming conventions are handled (so far) | ||
|- | |- | ||
Line 526: | Line 522: | ||
| Australians in Vietnam || AiV || aiv | | Australians in Vietnam || AiV || aiv | ||
|- | |- | ||
| Virtual Battlespace | | Virtual Battlespace 1 || VBS1 || vbs1 | ||
|- | |- | ||
| Virtual Battlespace | | Virtual Battlespace 2 || VBS2 || vbs2 | ||
|- | |- | ||
| Virtual Battlespace | | Virtual Battlespace 3 || VBS3 || vbs3 | ||
|} | |} | ||
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude> | [[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude> |
Revision as of 18:48, 28 May 2014
Usage
- Takes two parameters
- The first parameter is the input string to be verified or corrected.
- The second (optional) parameter is the format request.
- Either "img" or "image", "short" or "long". The long name is returned by default if this parameter is omitted.
Will return the input string linked to Naming Conventions if no matches are found.
- e.g.
{{Name|wjhbvkwfk}}
produces "wjhbvkwfk".
Examples
{{Name|ArmA 2|img}}
produces "arma2"{{Name|arma:arc|short}}
produces "Arma 2:ACR" and correctly interprets a possible typo.{{Name|ArmA 2: OFP: E}}
produces "Operation Flashpoint: Elite"{{Name|A1 Zues}}
produces "Arma 3: Zeus" even though both "Zeus" is spelled incorrectly and is an Arma 3 DLC!
- etc. - You get the idea :-)
In other words, it takes a multitude of possible (slightly and wildly incorrect) interpretations (including several possible typos) of how BI games should be named, and returns the conventionally correct version required, depending on circumstance.
Handling
Full Name | Short Name | Image Link Prefix |
---|---|---|
Bohemia Interactive | BI | bi |
Operation Flashpoint | OFP | ofp |
Operation Flashpoint: Resistance | OFP:R | ofpr |
Operation Flashpoint: Elite | OFP:E | ofpe |
Armed Assault | Arma | arma |
Arma 2 | Arma 2 | arma2 |
Arma 2: Operation Arrowhead | Arma 2:OA | arma2oa |
Arma 2: British Armed Forces | Arma 2:BAF | arma2baf |
Arma 2: Private Military Company | Arma 2:PMC | arma2pmc |
Arma 2: Army of the Czech Republic | Arma 2:ACR | arma2acr |
Arma 3 | Arma 3 | arma3 |
Arma 3: Zeus | Zeus | zeus |
Take On Helicopters | TKOH | TKOH |
Take On Mars | TKOM | TKOM |
Australians in Vietnam | AiV | aiv |
Virtual Battlespace 1 | VBS1 | vbs1 |
Virtual Battlespace 2 | VBS2 | vbs2 |
Virtual Battlespace 3 | VBS3 | vbs3 |