Name – Template
Jump to navigation
Jump to search
m (dev image) |
Lou Montana (talk | contribs) (Typo support removal, full examples to come - we will take care of it from now on Fred, thanks for your wiki service o7) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{#replace:{{#replace:{{#replace:{{#replace:{{lc:{{{1}}}}}| |}}|:|}}|/|}}|-|}} | <includeonly>{{#switch:{{#replace:{{#replace:{{#replace:{{#replace:{{lc:{{{1}}}}}| |}}|:|}}|/|}}|-|}} | ||
<!-- | |||
BOHEMIA INTERACTIVE | |||
--> | |||
<!-- Missing: | |||
Operation Flashpoint: Red Hammer | |||
Operation Flashpoint: Gold Edition | |||
Operation Flashpoint: GOTY Edition | |||
Arma: Queen's Gambit | |||
Arma 2: Firing Range | |||
Arma 2: Combined Operations | |||
Arma 2: Reinforcements | |||
Carrier Command: Gaea Mission | |||
Arma Tactics | |||
Take On Helicopters: Hinds | |||
DayZ | |||
Ylands | |||
--> | |||
|bi | |bi | ||
|bis | |bis | ||
Line 11: | Line 28: | ||
|short=BI | |short=BI | ||
|#default=Bohemia Interactive}} | |#default=Bohemia Interactive}} | ||
<!-- | |||
OPERATION FLASHPOINT: COLD WAR CRISIS | |||
--> | |||
|ofp | |ofp | ||
| | |opf | ||
|operationflashpoint={{#switch:{{lc:{{{2}}}}} | |||
|operationflashpoint | |||
|img=ofp | |img=ofp | ||
|image=ofp | |image=ofp | ||
|short=OFP | |short=OFP | ||
|#default=Operation Flashpoint}} <!-- Cold War | |#default=Operation Flashpoint}} | ||
<!-- | |||
ARMA: COLD WAR ASSAULT (OFP v1.99) | |||
--> | |||
|arma0 | |||
|armacwa={{#switch:{{lc:{{{2}}}}} | |||
|img=ofp | |||
|image=ofp | |||
|short=Arma:CWA | |||
|#default=Arma: Cold War Assault}} | |||
<!-- | |||
OPERATION FLASHPOINT: RESISTANCE | |||
--> | |||
|ofpr | |ofpr | ||
| | |arma0r | ||
|ofpresistance | |ofpresistance | ||
|operationflashpointr | |operationflashpointr | ||
|operationflashpointresistance={{#switch:{{lc:{{{2}}}}} | |||
|operationflashpointresistance | |||
|img=ofpr | |img=ofpr | ||
|image=ofpr | |image=ofpr | ||
|short=OFP:R | |short=OFP:R | ||
|#default=Operation Flashpoint: Resistance}} | |#default=Operation Flashpoint: Resistance}} | ||
<!-- | |||
OPERATION FLASHPOINT: ELITE | |||
--> | |||
|ofpe | |ofpe | ||
|ofpelite | |ofpelite | ||
|operationflashpointe | |operationflashpointe | ||
|operationflashpointelite={{#switch:{{lc:{{{2}}}}} | |||
|operationflashpointelite | |||
|img=ofpe | |img=ofpe | ||
|image=ofpe | |image=ofpe | ||
|short=OFP:E | |short=OFP:E | ||
|#default=Operation Flashpoint: Elite}} | |#default=Operation Flashpoint: Elite}} | ||
<!-- | <!-- | ||
ARMA: ARMED ASSAULT | |||
--> | |||
|arma | |arma | ||
|arma1 | |arma1 | ||
|armedassault | |armedassault | ||
|armaarmedassault | |armaarmedassault | ||
|arma1armedassault | |arma1armedassault | ||
| | |armacombatops | ||
| | |armacombatoperations | ||
|combatops | |||
|combatoperations={{#switch:{{lc:{{{2}}}}} | |||
|img=arma | |img=arma | ||
|image=arma | |image=arma | ||
|short=Arma | |short=Arma | ||
|#default=Armed Assault}} <!-- | |#default=Armed Assault}} | ||
<!-- | |||
ARMA 2 | |||
--> | |||
|a2 | |a2 | ||
|arma2={{#switch:{{lc:{{{2}}}}} | |arma2={{#switch:{{lc:{{{2}}}}} | ||
Line 139: | Line 95: | ||
|short=Arma 2 | |short=Arma 2 | ||
|#default=Arma 2}} | |#default=Arma 2}} | ||
<!-- | <!-- | ||
ARMA 2: OPERATION ARROWHEAD | |||
--> | |||
|a2oa | |a2oa | ||
|arma2oa | |arma2oa | ||
|operationarrowhead | |operationarrowhead | ||
|a2operationarrowhead | |a2operationarrowhead | ||
|arma2operationarrowhead | |arma2operationarrowhead | ||
={{#switch:{{lc:{{{2}}}}} | |||
|img=arma2oa | |img=arma2oa | ||
|image=arma2oa | |image=arma2oa | ||
|short=Arma 2:OA | |short=Arma 2:OA | ||
|#default=Arma 2: Operation Arrowhead}} | |#default=Arma 2: Operation Arrowhead}} | ||
<!-- | |||
ARMA 2: BRITISH ARMED FORCES | |||
--> | |||
|a2baf | |a2baf | ||
|arma2baf | |arma2baf | ||
|britisharmedforces | |britisharmedforces | ||
|a2britisharmedforces | |a2britisharmedforces | ||
|arma2britisharmedforces={{#switch:{{lc:{{{2}}}}} | |||
|arma2britisharmedforces | |||
|img=arma2baf | |img=arma2baf | ||
|image=arma2baf | |image=arma2baf | ||
|short=Arma 2:BAF | |short=Arma 2:BAF | ||
|#default=Arma 2: British Armed Forces}} | |#default=Arma 2: British Armed Forces}} | ||
<!-- | |||
ARMA2: PRIVATE MILITARY COMPANY | |||
--> | |||
|a2pmc | |a2pmc | ||
|arma2pmc | |arma2pmc | ||
|a2privatemilitarycompany | |a2privatemilitarycompany | ||
|arma2privatemilitarycompany={{#switch:{{lc:{{{2}}}}} | |||
|arma2privatemilitarycompany | |||
|img=arma2pmc | |img=arma2pmc | ||
|image=arma2pmc | |image=arma2pmc | ||
|short=Arma 2:PMC | |short=Arma 2:PMC | ||
|#default=Arma 2: Private Military Company}} | |#default=Arma 2: Private Military Company}} | ||
<!-- | |||
ARMA2: ARMY OF CZECH REPUBLIC | |||
--> | |||
|a2acr | |a2acr | ||
|arma2acr | |arma2acr | ||
|armyofczechrepublic | |armyofczechrepublic | ||
|a2armyofczechrepublic | |a2armyofczechrepublic | ||
|arma2armyofczechrepublic | |arma2armyofczechrepublic | ||
={{#switch:{{lc:{{{2}}}}} | |||
|img=arma2acr | |img=arma2acr | ||
|image=arma2acr | |image=arma2acr | ||
|short=Arma 2:ACR | |short=Arma 2:ACR | ||
|#default=Arma 2: Army of the Czech Republic}} | |#default=Arma 2: Army of the Czech Republic}} | ||
<!-- | |||
ARMA 3 (DEVELOPMENT BRANCH) | |||
--> | |||
|a3dev | |a3dev | ||
|arma3dev | |arma3dev | ||
|a3devbranch | |a3devbranch | ||
|arma3devbranch | |arma3devbranch | ||
|a3developmentbranch | |a3developmentbranch | ||
|arma3developmentbranch={{#switch:{{lc:{{{2}}}}} | |arma3developmentbranch={{#switch:{{lc:{{{2}}}}} | ||
Line 260: | Line 157: | ||
|short=Arma 3 DEV | |short=Arma 3 DEV | ||
|#default=Arma 3 Development Branch}} | |#default=Arma 3 Development Branch}} | ||
<!-- | |||
ARMA 3 | |||
--> | |||
|a3 | |a3 | ||
|arma3={{#switch:{{lc:{{{2}}}}} | |arma3={{#switch:{{lc:{{{2}}}}} | ||
Line 266: | Line 166: | ||
|short=Arma 3 | |short=Arma 3 | ||
|#default=Arma 3}} | |#default=Arma 3}} | ||
<!-- | |||
ARMA 3: ZEUS | |||
--> | |||
|zeus | |zeus | ||
|a3zeus | |a3zeus | ||
|arma3zeus={{#switch:{{lc:{{{2}}}}} | |||
|arma3zeus | |||
|img=zeus | |img=zeus | ||
|image=zeus | |image=zeus | ||
|short=Zeus | |short=Zeus | ||
|#default=Arma 3: Zeus}} | |#default=Arma 3: Zeus}} | ||
<!-- | <!-- | ||
TAKE ON HELICOPTERS | |||
--> | |||
|toh | |toh | ||
|tkoh | |tkoh | ||
| | |takeonheli | ||
|takeonhelicopters={{#switch:{{lc:{{{2}}}}} | |||
|takeonhelicopters | |||
|img=TKOH | |img=TKOH | ||
|image=TKOH | |image=TKOH | ||
|short=TKOH | |short=TKOH | ||
|#default=Take On Helicopters}} | |#default=Take On Helicopters}} | ||
<!-- | <!-- | ||
TAKE ON MARS | |||
--> | |||
|tom | |tom | ||
|tkom | |tkom | ||
|takeonmars={{#switch:{{lc:{{{2}}}}} | |||
|takeonmars | |||
|img=TKOM | |img=TKOM | ||
|image=TKOM | |image=TKOM | ||
|short=TKOM | |short=TKOM | ||
|#default=Take On Mars}} | |#default=Take On Mars}} | ||
<!-- | |||
AUSTRALIANS IN VIETNAM | |||
--> | |||
|aiv | |aiv | ||
|australiansinvietnam={{#switch:{{lc:{{{2}}}}} | |||
|australiansinvietnam | |||
|img=aiv | |img=aiv | ||
|image=aiv | |image=aiv | ||
|short=AiV | |short=AiV | ||
|#default=Australians in Vietnam}} | |#default=Australians in Vietnam}} | ||
<!-- | |||
VIRTUAL BATTLESPACE 1 | |||
--> | |||
|vbs | |vbs | ||
|vbs1 | |vbs1 | ||
|virtualbattlespace | |virtualbattlespace | ||
|virtualbattlespace1 | |virtualbattlespace1={{#switch:{{lc:{{{2}}}}} | ||
|img=vbs1 | |img=vbs1 | ||
|image=vbs1 | |image=vbs1 | ||
|short=VBS1 | |short=VBS1 | ||
|#default=Virtual Battlespace 1}} | |#default=Virtual Battlespace 1}} | ||
<!-- | |||
VIRTUAL BATTLESPACE 2 | |||
--> | |||
|vbs2 | |vbs2 | ||
|virtualbattlespace2={{#switch:{{lc:{{{2}}}}} | |||
|virtualbattlespace2 | |||
|img=vbs2 | |img=vbs2 | ||
|image=vbs2 | |image=vbs2 | ||
|short=VBS2 | |short=VBS2 | ||
|#default=Virtual Battlespace 2}} | |#default=Virtual Battlespace 2}} | ||
<!-- | |||
VIRTUAL BATTLESPACE 3 | |||
--> | |||
|vbs3 | |vbs3 | ||
|virtualbattlespace3={{#switch:{{lc:{{{2}}}}} | |||
|virtualbattlespace3 | |||
|img=vbs3 | |img=vbs3 | ||
|image=vbs3 | |image=vbs3 | ||
|short=VBS3 | |short=VBS3 | ||
|#default=Virtual Battlespace 3}} | |#default=Virtual Battlespace 3}} | ||
|#default='''[[Bohemia_Interactive_Community:Naming_Conventions|{{{1}}}]]'''}}</includeonly><noinclude> | |#default='''[[Bohemia_Interactive_Community:Naming_Conventions|{{{1}}}]]'''}}</includeonly><noinclude> | ||
== Usage == | |||
{{<nowiki/>Name|'''''identifier'''''|'''''format'''''}} | |||
==Usage== | * identifier: short "identifier", such as "bi", "ofpr", "arma3" etc. It is case-insensitive. | ||
* format: (Optional) can be "img" (or "image") or "short". Anything else or nothing will return the long version of the name | |||
{{Informative | if no matches are found for '''''identifier''''', the template will return the '''''identifier''''' string linked to [[Bohemia Interactive Community:Naming Conventions|Naming Conventions]]. | |||
* | |||
{|class="wikitable" | |||
{| class=" | |+ Examples | ||
|+ | ! Code | ||
! Result | |||
! | |||
|- | |- | ||
| | | <nowiki>{{Name|unknown value}}</nowiki> | ||
| {{Name|unknown value}} | |||
|- | |- | ||
| | | | ||
{{<nowiki/>Name|bi}}<br> | |||
{{<nowiki/>Name|bi|short}}<br> | |||
{{<nowiki/>Name|bi|img}}<br> | |||
| | |||
{{Name|bi}}<br> | |||
{{Name|bi|short}}<br> | |||
{{Name|bi|img}}<br> | |||
|- | |- | ||
| | <!-- | ||
OPERATION FLASHPOINT: COLD WAR CRISIS | |||
--> | |||
| | |||
{{<nowiki/>Name|ofp}}<br> | |||
{{<nowiki/>Name|ofp|short}}<br> | |||
{{<nowiki/>Name|ofp|img}}<br> | |||
| | |||
{{Name|ofp}}<br> | |||
{{Name|ofp|short}}<br> | |||
{{Name|ofp|img}}<br> | |||
|- | |- | ||
| | <!-- | ||
OPERATION FLASHPOINT: RESISTANCE | |||
--> | |||
| | |||
{{<nowiki/>Name|ofpr}}<br> | |||
{{<nowiki/>Name|ofpr|short}}<br> | |||
{{<nowiki/>Name|ofpr|img}}<br> | |||
| | |||
{{Name|ofpr}}<br> | |||
{{Name|ofpr|short}}<br> | |||
{{Name|ofpr|img}}<br> | |||
|- | |- | ||
<!-- | |||
OPERATION FLASHPOINT: ELITE | |||
| | --> | ||
| | | | ||
| | {{<nowiki/>Name|ofpe}}<br> | ||
| | {{<nowiki/>Name|ofpe|short}}<br> | ||
| | {{<nowiki/>Name|ofpe|img}}<br> | ||
| | |||
{{Name|ofpe}}<br> | |||
{{Name|ofpe|short}}<br> | |||
{{Name|ofpe|img}}<br> | |||
|} | |} | ||
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude> | [[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude> |
Revision as of 22:24, 5 December 2019
Usage
{{Name|identifier|format}}
- identifier: short "identifier", such as "bi", "ofpr", "arma3" etc. It is case-insensitive.
- format: (Optional) can be "img" (or "image") or "short". Anything else or nothing will return the long version of the name
{{Informative | if no matches are found for identifier, the template will return the identifier string linked to Naming Conventions.
Code | Result |
---|---|
{{Name|unknown value}} | unknown value |
{{Name|bi}} |
Bohemia Interactive |
{{Name|ofp}} |
Operation Flashpoint |
{{Name|ofpr}} |
Operation Flashpoint: Resistance |
{{Name|ofpe}} |
Operation Flashpoint: Elite |