Name – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Greatly extended range of possible misconfigured inputs to handle. Added 3rd type of output. >> Unsure of correct "Zeus" convention(s) <<)
(Add Queen's Gambit, DayZ and Ylands)
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{2}}}}}
<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
-->
|bi
|bi
|bis
|bis
|bohemia interactive studio
|bistudio
|bohemia interactive studios={{#switch:{{lc:{{{1}}}}}|img=bi|short=BI|long=Bohemia Interactive|#default={{{2}}}}}
|bistudios
|aiv
|bohemiainteractive
|armaaiv
|bohemiainteractivestudio
|arma aiv
|bohemiainteractivestudios={{#switch:{{lc:{{{2}}}}}
|arma2aiv
    |img=bi
|arma2 aiv
    |image=bi
|arma 2aiv
    |short=BI
|arma 2 aiv
    |#default=Bohemia Interactive}}
|arma:aiv
<!--
|arma: aiv
OPERATION FLASHPOINT: COLD WAR CRISIS
|arma2:aiv
-->
|arma2: aiv
|ofp
|arma 2:aiv
|opf
|arma 2: aiv={{#switch:{{lc:{{{1}}}}}|img=aiv|short=AiV|long=Australians in Vietnam|#default={{{2}}}}}
|operationflashpoint={{#switch:{{lc:{{{2}}}}}
    |img=ofp
    |image=ofp
    |short=OFP
    |#default=Operation Flashpoint}}<!-- no "Cold War Crisis" -->
<!--
ARMA: COLD WAR ASSAULT (OFP v1.99)
-->
|a0
|arma0
|armacwa={{#switch:{{lc:{{{2}}}}}
    |img=ofp
    |image=ofp
    |short=Arma:CWA
    |#default=Arma: Cold War Assault}}
<!--
OPERATION FLASHPOINT: RESISTANCE
-->
|ofpr
|arma0r
|ofpresistance
|operationflashpointr
|operationflashpointresistance={{#switch:{{lc:{{{2}}}}}
    |img=ofpr
    |image=ofpr
    |short=OFP:R
    |#default=Operation Flashpoint: Resistance}}
<!--
OPERATION FLASHPOINT: ELITE
-->
|ofpe
|ofpelite
|operationflashpointe
|operationflashpointelite={{#switch:{{lc:{{{2}}}}}
    |img=ofpe
    |image=ofpe
    |short=OFP:E
    |#default=Operation Flashpoint: Elite}}
<!--
ARMA: ARMED ASSAULT
-->
|a1
|arma
|arma
|arma1
|arma1
|arma 1={{#switch:{{lc:{{{1}}}}}|img=arma|short=Arma|long=Armed Assault|#default={{{2}}}}}
|armedassault
|arma2
|armaarmedassault
|arma 2={{#switch:{{lc:{{{1}}}}}|img=arma2|short=Arma 2|long=Arma 2|#default={{{2}}}}}
|arma1armedassault
|oa
|armacombatops
|armaoa
|armacombatoperations
|arma oa
|combatops
|arma:oa
|combatoperations={{#switch:{{lc:{{{2}}}}}
|arma: oa
    |img=arma
    |image=arma
    |short=Arma
    |#default=Armed Assault}}
<!--
ARMA: QUEEN'S GAMBIT
-->
|a1qg
|a1queengambit
|a1queensgambit
|armaqg
|armaqueengambit
|armaqueensgambit
|arma1qg
|arma1queengambit
|arma1queensgambit={{#switch:{{lc:{{{2}}}}}
    |img=armaqg
    |image=armaqg
    |short=Arma:QG
    |#default=ArmA: Queen's Gambit}}
<!--
ARMA 2
-->
|a2
|arma2={{#switch:{{lc:{{{2}}}}}
    |img=arma2
    |image=arma2
    |short=Arma 2
    |#default=Arma 2}}
<!--
ARMA 2: OPERATION ARROWHEAD
-->
|a2oa
|arma2oa
|arma2oa
|arma2 oa
|operationarrowhead
|arma 2oa
|a2operationarrowhead
|arma 2 oa
|arma2operationarrowhead={{#switch:{{lc:{{{2}}}}}
|arma2:oa
    |img=arma2oa
|arma2: oa
    |image=arma2oa
|arma 2:oa
    |short=Arma 2:OA
|arma 2: oa={{#switch:{{lc:{{{1}}}}}|img=arma2oa|short=Arma 2:OA|long=Arma 2: Operation Arrowhead|#default={{{2}}}}}
    |#default=Arma 2: Operation Arrowhead}}
|baf
<!--
|armabaf
ARMA 2: BRITISH ARMED FORCES
|arma baf
-->
|arma:baf
|a2baf
|arma: baf
|arma2baf
|arma2baf
|arma2 baf
|britisharmedforces
|arma 2baf
|a2britisharmedforces
|arma 2 baf
|arma2britisharmedforces={{#switch:{{lc:{{{2}}}}}
|arma2:baf
    |img=arma2baf
|arma2: baf
    |image=arma2baf
|arma 2:baf
    |short=Arma 2:BAF
|arma 2: baf={{#switch:{{lc:{{{1}}}}}|img=arma2baf|short=Arma 2:BAF|long=Arma 2: British Armed Forces|#default={{{2}}}}}
    |#default=Arma 2: British Armed Forces}}
|pmc
<!--
|armapmc
ARMA2: PRIVATE MILITARY COMPANY
|arma pmc
-->
|arma:pmc
|a2pmc
|arma: pmc
|arma2pmc
|arma2pmc
|arma2 pmc
|a2privatemilitarycompany
|arma 2pmc
|arma2privatemilitarycompany={{#switch:{{lc:{{{2}}}}}
|arma 2 pmc
    |img=arma2pmc
|arma2:pmc
    |image=arma2pmc
|arma2: pmc
    |short=Arma 2:PMC
|arma 2:pmc
    |#default=Arma 2: Private Military Company}}
|arma 2: pmc={{#switch:{{lc:{{{1}}}}}|img=arma2pmc|short=Arma 2:PMC|long=Arma 2: Private Military Company|#default={{{2}}}}}
<!--
|arc
ARMA2: ARMY OF CZECH REPUBLIC
|armaarc
-->
|arma arc
|a2acr
|arma:arc
|arma2acr
|arma: arc
|armyofczechrepublic
|arma2arc
|a2armyofczechrepublic
|arma2 arc
|arma2armyofczechrepublic={{#switch:{{lc:{{{2}}}}}
|arma 2arc
    |img=arma2acr
|arma 2 arc
    |image=arma2acr
|arma2:arc
    |short=Arma 2:ACR
|arma2: arc
    |#default=Arma 2: Army of the Czech Republic}}
|arma 2:arc
<!--
|arma 2: arc={{#switch:{{lc:{{{1}}}}}|img=arma2arc|short=Arma 2:ARC|long=Arma 2: Army of Czech Republic|#default={{{2}}}}}
ARMA 3 (DEVELOPMENT BRANCH)
|arma3
-->
|arma 3={{#switch:{{lc:{{{1}}}}}|img=arma3|short=Arma 3|long=Arma 3|#default={{{2}}}}}
|a3dev
|arma3dev
|a3devbranch
|arma3devbranch
|a3developmentbranch
|arma3developmentbranch={{#switch:{{lc:{{{2}}}}}
    |img=arma3 dev
    |image=arma3 dev
    |short=Arma 3 DEV
    |#default=Arma 3 Development Branch}}
<!--
ARMA 3
-->
|a3
|arma3={{#switch:{{lc:{{{2}}}}}
    |img=arma3
    |image=arma3
    |short=Arma 3
    |#default=Arma 3}}
<!--
ARMA 3: ZEUS
-->
|zeus
|zeus
|arma zeus
|a3zeus
|arma3 zeus
|arma3zeus={{#switch:{{lc:{{{2}}}}}
|arma 3zeus
    |img=zeus
|arma 3 zeus
    |image=zeus
|arma3:zeus
    |short=Zeus
|arma3: zeus
    |#default=Arma 3: Zeus}}
|arma 3:zeus
<!--
|arma 3: zeus={{#switch:{{lc:{{{1}}}}}|img=zeus|short=Zeus|long=Arma 3: Zeus|#default={{{2}}}}}<!-- ?????????????????????? -->
DAYZ
|ofp
-->
|armaofp
|dayz={{#switch:{{lc:{{{2}}}}}
|arma ofp
    |img=dayz
|arma:ofp
    |image=dayz
|arma: ofp
    |short=DayZ
|arma2ofp
    |#default=DayZ}}
|arma2 ofp
<!--
|arma 2ofp
TAKE ON HELICOPTERS
|arma 2 ofp
-->
|arma2:ofp
|toh
|arma2: ofp
|tkoh
|arma 2:ofp
|takeonheli
|arma 2: ofp={{#switch:{{lc:{{{1}}}}}|img=ofp|short=OFP|long=|#default=Operation Flashpoint{{{2}}}}}
|takeonhelicopters={{#switch:{{lc:{{{2}}}}}
|ofpe
    |img=TKOH
|ofp e
    |image=TKOH
|ofp:e
    |short=TKOH
|ofp: e
    |#default=Take On Helicopters}}
|armaofpe
<!--
|arma ofpe
TAKE ON MARS
|arma:ofpe
-->
|arma: ofpe
|tom
|arma ofp e
|tkom
|arma: ofp e
|takeonmars={{#switch:{{lc:{{{2}}}}}
|arma:ofp:e
    |img=TKOM
|arma:ofp: e
    |image=TKOM
|arma: ofp:e
    |short=TKOM
|arma: ofp: e
    |#default=Take On Mars}}
|arma2ofpe
<!--
|arma2 ofpe
YLANDS
|arma2:ofpe
-->
|arma2: ofpe
|ylands={{#switch:{{lc:{{{2}}}}}
|arma2 ofp e
    |img=ylands
|arma2: ofp e
    |image=ylands
|arma2:ofp:e
    |short=Ylands
|arma2:ofp: e
    |#default=Ylands}}
|arma2: ofp:e
<!--
|arma2: ofp: e
 
|arma 2ofpe
 
|arma 2 ofpe
NON BOHEMIA INTERACTIVE GAME BELOW
|arma 2:ofpe
 
|arma 2: ofpe
 
|arma 2 ofp e
-->
|arma 2: ofp e
<!--
|arma 2:ofp:e
AUSTRALIANS IN VIETNAM
|arma 2:ofp: e
-->
|arma 2: ofp:e
|aiv
|arma 2: ofp: e={{#switch:{{lc:{{{1}}}}}|img=ofpe|short=OFP:E|long=Operation Flashpoint: Elite|#default={{{2}}}}}
|australiansinvietnam={{#switch:{{lc:{{{2}}}}}
|ofpr
    |img=aiv
|ofp r
    |image=aiv
|ofp:r
    |short=AiV
|ofp: r
    |#default=Australians in Vietnam}}
|armaofpr
<!--
|arma ofpr
VIRTUAL BATTLESPACE 1
|arma:ofpr
-->
|arma: ofpr
|vbs
|arma ofp r
|arma: ofp r
|arma:ofp:r
|arma:ofp: r
|arma: ofp:r
|arma: ofp: r
|arma2ofpr
|arma2 ofpr
|arma2:ofpr
|arma2: ofpr
|arma2 ofp r
|arma2: ofp r
|arma2:ofp:r
|arma2:ofp: r
|arma2: ofp:r
|arma2: ofp: r
|arma 2ofpr
|arma 2 ofpr
|arma 2:ofpr
|arma 2: ofpr
|arma 2 ofp r
|arma 2: ofp r
|arma 2:ofp:r
|arma 2:ofp: r
|arma 2: ofp:r
|arma 2: ofp: r={{#switch:{{lc:{{{1}}}}}|img=ofpr|short=OFP:R|long=Operation Flashpoint: Resistance|#default={{{2}}}}}
|vbs1
|vbs1
|vbs 1
|virtualbattlespace
|vbs:1
|virtualbattlespace1={{#switch:{{lc:{{{2}}}}}
|vbs: 1={{#switch:{{lc:{{{1}}}}}|img=vbs1|short=VBS1|long=Virtual Battlespace 1|#default={{{2}}}}}
    |img=vbs1
    |image=vbs1
    |short=VBS1
    |#default=Virtual Battlespace 1}}
<!--
VIRTUAL BATTLESPACE 2
-->
|vbs2
|vbs2
|vbs 2
|virtualbattlespace2={{#switch:{{lc:{{{2}}}}}
|vbs:2
    |img=vbs2
|vbs: 2={{#switch:{{lc:{{{1}}}}}|img=vbs2|short=VBS2|long=Virtual Battlespace 2|#default={{{2}}}}}
    |image=vbs2
    |short=VBS2
    |#default=Virtual Battlespace 2}}
<!--
VIRTUAL BATTLESPACE 3
-->
|vbs3
|vbs3
|vbs 3
|virtualbattlespace3={{#switch:{{lc:{{{2}}}}}
|vbs:3
    |img=vbs3
|vbs: 3={{#switch:{{lc:{{{1}}}}}|img=vbs3|short=VBS3|long=Virtual Battlespace 3|#default={{{2}}}}}
    |image=vbs3
|tkoh
    |short=VBS3
|toh={{#switch:{{lc:{{{1}}}}}|img=TKOH|short=TKOH|long=Take On Helicopters|#default={{{2}}}}}
    |#default=Virtual Battlespace 3}}
|tkom
<!--
|tom={{#switch:{{lc:{{{1}}}}}|img=TKOM|short=TKOM|long=Take On Mars|#default={{{2}}}}}
 
|#default={{{2}}}}}</includeonly><noinclude>
DEFAULT
{{Important|Not currently in use. Awaiting peer review and feedback, before including in {{Template|Command}} and {{Template|Function}} to correct badly formed entries.
 
-->
|#default='''[[Bohemia_Interactive_Community:Naming_Conventions|{{{1}}}]]'''}}</includeonly><noinclude>
 
== Usage ==
{{<nowiki/>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 [[Bohemia Interactive Community:Naming Conventions|Naming Conventions]].}}
 
{|class="wikitable"
|+ Examples
! Code
! Result
! Valid Identifiers
|-
| <nowiki>{{Name|unknown value}}</nowiki>
| {{Name|unknown value}}
| {{n/a}}
|-
|
{{<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>
| bi, bis, bistudio, bistudios, bohemiainteractive, bohemiainteractivestudio, bohemiainteractivestudios
|-
<!--
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>
| ofp, opf, operationflashpoint
|-
<!--
ARMA: COLD WAR ASSAULT (OFP v1.99)
-->
|
{{<nowiki/>Name|arma0}}<br>
{{<nowiki/>Name|arma0|short}}<br>
{{<nowiki/>Name|arma0|img}}<br>
|
{{Name|arma0}}<br>
{{Name|arma0|short}}<br>
{{Name|arma0|img}}<br>
| a0, arma0, armacwa
|-
<!--
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>
| ofpr, arma0r, ofpresistance, operationflashpointr, operationflashpointresistance
|-
<!--
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>
| ofpe, ofpelite, operationflashpointe, operationflashpointelite
|-
<!--
ARMA: ARMED ASSAULT
-->
|
{{<nowiki/>Name|arma}}<br>
{{<nowiki/>Name|arma|short}}<br>
{{<nowiki/>Name|arma|img}}<br>
|
{{Name|arma}}<br>
{{Name|arma|short}}<br>
{{Name|arma|img}}<br>
| a1, arma, arma1, armedassault, armaarmedassault, arma1armedassault, armacombatops, armacombatoperations, combatops, combatoperations
|-
<!--
ARMA: QUEEN'S GAMBIT
-->
|
{{<nowiki/>Name|arma1qg}}<br>
{{<nowiki/>Name|arma1qg|short}}<br>
{{<nowiki/>Name|arma1qg|img}}<br>
|
{{Name|arma1qg}}<br>
{{Name|arma1qg|short}}<br>
{{Name|arma1qg|img}}<br>
|a1qg, a1queengambit, a1queensgambit, armaqg, armaqueengambit, armaqueensgambit, arma1qg, arma1queengambit, arma1queensgambit
|-
<!--
ARMA 2
-->
|
{{<nowiki/>Name|arma2}}<br>
{{<nowiki/>Name|arma2|short}}<br>
{{<nowiki/>Name|arma2|img}}<br>
|
{{Name|arma2}}<br>
{{Name|arma2|short}}<br>
{{Name|arma2|img}}<br>
| a2, arma2
|-
<!--
ARMA 2: OPERATION ARROWHEAD
-->
|
{{<nowiki/>Name|arma2oa}}<br>
{{<nowiki/>Name|arma2oa|short}}<br>
{{<nowiki/>Name|arma2oa|img}}<br>
|
{{Name|arma2oa}}<br>
{{Name|arma2oa|short}}<br>
{{Name|arma2oa|img}}<br>
| a2oa, arma2oa, operationarrowhead, a2operationarrowhead, arma2operationarrowhead
|-
<!--
ARMA 2: BRITISH ARMED FORCES
-->
|
{{<nowiki/>Name|arma2baf}}<br>
{{<nowiki/>Name|arma2baf|short}}<br>
{{<nowiki/>Name|arma2baf|img}}<br>
|
{{Name|arma2baf}}<br>
{{Name|arma2baf|short}}<br>
{{Name|arma2baf|img}}<br>
| a2baf, arma2baf, britisharmedforces, a2britisharmedforces, arma2britisharmedforces
|-
<!--
ARMA2: PRIVATE MILITARY COMPANY
-->
|
{{<nowiki/>Name|arma2pmc}}<br>
{{<nowiki/>Name|arma2pmc|short}}<br>
{{<nowiki/>Name|arma2pmc|img}}<br>
|
{{Name|arma2pmc}}<br>
{{Name|arma2pmc|short}}<br>
{{Name|arma2pmc|img}}<br>
| a2pmc, arma2pmc, a2privatemilitarycompany, arma2privatemilitarycompany
|-
<!--
ARMA2: ARMY OF CZECH REPUBLIC
-->
|
{{<nowiki/>Name|arma2acr}}<br>
{{<nowiki/>Name|arma2acr|short}}<br>
{{<nowiki/>Name|arma2acr|img}}<br>
|
{{Name|arma2acr}}<br>
{{Name|arma2acr|short}}<br>
{{Name|arma2acr|img}}<br>
| a2acr, arma2acr, armyofczechrepublic, a2armyofczechrepublic, arma2armyofczechrepublic
|-
<!--
ARMA 3 (DEVELOPMENT BRANCH)
-->
|
{{<nowiki/>Name|arma3dev}}<br>
{{<nowiki/>Name|arma3dev|short}}<br>
{{<nowiki/>Name|arma3dev|img}}<br>
|
{{Name|arma3dev}}<br>
{{Name|arma3dev|short}}<br>
{{Name|arma3dev|img}}<br>
| a3dev, arma3dev, a3devbranch, arma3devbranch, a3developmentbranch, arma3developmentbranch
|-
<!--
ARMA 3
-->
|
{{<nowiki/>Name|arma3}}<br>
{{<nowiki/>Name|arma3|short}}<br>
{{<nowiki/>Name|arma3|img}}<br>
|
{{Name|arma3}}<br>
{{Name|arma3|short}}<br>
{{Name|arma3|img}}<br>
| a3, arma3
|-
<!--
ARMA 3: ZEUS
-->
|
{{<nowiki/>Name|arma3zeus}}<br>
{{<nowiki/>Name|arma3zeus|short}}<br>
{{<nowiki/>Name|arma3zeus|img}}<br>
|
{{Name|arma3zeus}}<br>
{{Name|arma3zeus|short}}<br>
{{Name|arma3zeus|img}}<br>
| zeus, a3zeus, arma3zeus
|-
<!--
DAYZ
-->
|
{{<nowiki/>Name|dayz}}<br>
{{<nowiki/>Name|dayz|short}}<br>
{{<nowiki/>Name|dayz|img}}<br>
|
{{Name|dayz}}<br>
{{Name|dayz|short}}<br>
{{Name|dayz|img}}<br>
| dayz
|-
<!--
TAKE ON HELICOPTERS
-->
|
{{<nowiki/>Name|tkoh}}<br>
{{<nowiki/>Name|tkoh|short}}<br>
{{<nowiki/>Name|tkoh|img}}<br>
|
{{Name|tkoh}}<br>
{{Name|tkoh|short}}<br>
{{Name|tkoh|img}}<br>
| toh, tkoh, takeonheli, takeonhelicopters
|-
<!--
TAKE ON MARS
-->
|
{{<nowiki/>Name|tkom}}<br>
{{<nowiki/>Name|tkom|short}}<br>
{{<nowiki/>Name|tkom|img}}<br>
|
{{Name|tkom}}<br>
{{Name|tkom|short}}<br>
{{Name|tkom|img}}<br>
| tom, tkom, takeonmars
|-
<!--
YLANDS
-->
|
{{<nowiki/>Name|ylands}}<br>
{{<nowiki/>Name|ylands|short}}<br>
{{<nowiki/>Name|ylands|img}}<br>
|
{{Name|ylands}}<br>
{{Name|ylands|short}}<br>
{{Name|ylands|img}}<br>
| ylands
|-
 
 
! colspan="3" | Non {{Name|bi}} products


Eventually this should replace multiple templates, providing a simple way to organise game naming convention.


Please add any switch cases omitted, or if unsure about how to do it, leave a message on [[Template talk:Game name|the talk page]].}}
|-
==Usage==
<!--
;Takes two parameters
AUSTRALIANS IN VIETNAM
:The first parameter is the format request. Either "''img''", "''short''" or "''long''"
-->
:The second parameter is the input string to be verified or corrected.
|
Will return the input string if no matches are found.
{{<nowiki/>Name|aiv}}<br>
===Examples===
{{<nowiki/>Name|aiv|short}}<br>
*{{Inline code|<nowiki>{{Game name|img|ArmA 2}}</nowiki>}} produces "{{Game name|img|ArmA 2}}"
{{<nowiki/>Name|aiv|img}}<br>
*{{Inline code|<nowiki>{{Game name|short|arma:arc}}</nowiki>}} produces "{{Game name|short|arma:arc}}"
|
*{{Inline code|<nowiki>{{Game name|long|ArmA 2: OFP: E}}</nowiki>}} produces "{{Game name|long|Arma 2: OFP: E}}"
{{Name|aiv}}<br>
''etc.''
{{Name|aiv|short}}<br>
{{Name|aiv|img}}<br>
| aiv, australiansinvietnam
|-
<!--
VIRTUAL BATTLESPACE 1
-->
|
{{<nowiki/>Name|vbs1}}<br>
{{<nowiki/>Name|vbs1|short}}<br>
{{<nowiki/>Name|vbs1|img}}<br>
|
{{Name|vbs1}}<br>
{{Name|vbs1|short}}<br>
{{Name|vbs1|img}}<br>
| vbs, vbs1, virtualbattlespace, virtualbattlespace1
|-
<!--
VIRTUAL BATTLESPACE 2
-->
|
{{<nowiki/>Name|vbs2}}<br>
{{<nowiki/>Name|vbs2|short}}<br>
{{<nowiki/>Name|vbs2|img}}<br>
|
{{Name|vbs2}}<br>
{{Name|vbs2|short}}<br>
{{Name|vbs2|img}}<br>
| vbs2, virtualbattlespace2
|-
<!--
VIRTUAL BATTLESPACE 3
-->
|
{{<nowiki/>Name|vbs3}}<br>
{{<nowiki/>Name|vbs3|short}}<br>
{{<nowiki/>Name|vbs3|img}}<br>
|
{{Name|vbs3}}<br>
{{Name|vbs3|short}}<br>
{{Name|vbs3|img}}<br>
| vbs3, virtualbattlespace3
|}


In other words, it takes a multitude of possible interpretations of how BI games should be named, and returns the conventionally correct version required, depending on circumstance.


[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>

Revision as of 00:25, 6 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
if no matches are found for identifier, the template will return the identifier string linked to Naming Conventions.
Examples
Code Result Valid Identifiers
{{Name|unknown value}} unknown value N/A

{{Name|bi}}
{{Name|bi|short}}
{{Name|bi|img}}

Bohemia Interactive
BI
bi

bi, bis, bistudio, bistudios, bohemiainteractive, bohemiainteractivestudio, bohemiainteractivestudios

{{Name|ofp}}
{{Name|ofp|short}}
{{Name|ofp|img}}

Operation Flashpoint
OFP
ofp

ofp, opf, operationflashpoint

{{Name|arma0}}
{{Name|arma0|short}}
{{Name|arma0|img}}

Arma: Cold War Assault
Arma:CWA
ofp

a0, arma0, armacwa

{{Name|ofpr}}
{{Name|ofpr|short}}
{{Name|ofpr|img}}

Operation Flashpoint: Resistance
OFP:R
ofpr

ofpr, arma0r, ofpresistance, operationflashpointr, operationflashpointresistance

{{Name|ofpe}}
{{Name|ofpe|short}}
{{Name|ofpe|img}}

Operation Flashpoint: Elite
OFP:E
ofpe

ofpe, ofpelite, operationflashpointe, operationflashpointelite

{{Name|arma}}
{{Name|arma|short}}
{{Name|arma|img}}

Armed Assault
Arma
arma

a1, arma, arma1, armedassault, armaarmedassault, arma1armedassault, armacombatops, armacombatoperations, combatops, combatoperations

{{Name|arma1qg}}
{{Name|arma1qg|short}}
{{Name|arma1qg|img}}

ArmA: Queen's Gambit
Arma:QG
armaqg

a1qg, a1queengambit, a1queensgambit, armaqg, armaqueengambit, armaqueensgambit, arma1qg, arma1queengambit, arma1queensgambit

{{Name|arma2}}
{{Name|arma2|short}}
{{Name|arma2|img}}

Arma 2
Arma 2
arma2

a2, arma2

{{Name|arma2oa}}
{{Name|arma2oa|short}}
{{Name|arma2oa|img}}

Arma 2: Operation Arrowhead
Arma 2:OA
arma2oa

a2oa, arma2oa, operationarrowhead, a2operationarrowhead, arma2operationarrowhead

{{Name|arma2baf}}
{{Name|arma2baf|short}}
{{Name|arma2baf|img}}

Arma 2: British Armed Forces
Arma 2:BAF
arma2baf

a2baf, arma2baf, britisharmedforces, a2britisharmedforces, arma2britisharmedforces

{{Name|arma2pmc}}
{{Name|arma2pmc|short}}
{{Name|arma2pmc|img}}

Arma 2: Private Military Company
Arma 2:PMC
arma2pmc

a2pmc, arma2pmc, a2privatemilitarycompany, arma2privatemilitarycompany

{{Name|arma2acr}}
{{Name|arma2acr|short}}
{{Name|arma2acr|img}}

Arma 2: Army of the Czech Republic
Arma 2:ACR
arma2acr

a2acr, arma2acr, armyofczechrepublic, a2armyofczechrepublic, arma2armyofczechrepublic

{{Name|arma3dev}}
{{Name|arma3dev|short}}
{{Name|arma3dev|img}}

Arma 3 Development Branch
Arma 3 DEV
arma3 dev

a3dev, arma3dev, a3devbranch, arma3devbranch, a3developmentbranch, arma3developmentbranch

{{Name|arma3}}
{{Name|arma3|short}}
{{Name|arma3|img}}

Arma 3
Arma 3
arma3

a3, arma3

{{Name|arma3zeus}}
{{Name|arma3zeus|short}}
{{Name|arma3zeus|img}}

Arma 3: Zeus
Zeus
zeus

zeus, a3zeus, arma3zeus

{{Name|dayz}}
{{Name|dayz|short}}
{{Name|dayz|img}}

DayZ
DayZ
dayz

dayz

{{Name|tkoh}}
{{Name|tkoh|short}}
{{Name|tkoh|img}}

Take On Helicopters
TKOH
TKOH

toh, tkoh, takeonheli, takeonhelicopters

{{Name|tkom}}
{{Name|tkom|short}}
{{Name|tkom|img}}

Take On Mars
TKOM
TKOM

tom, tkom, takeonmars

{{Name|ylands}}
{{Name|ylands|short}}
{{Name|ylands|img}}

Ylands
Ylands
ylands

ylands
Non Bohemia Interactive products


{{Name|aiv}}
{{Name|aiv|short}}
{{Name|aiv|img}}

Australians in Vietnam
AiV
aiv

aiv, australiansinvietnam

{{Name|vbs1}}
{{Name|vbs1|short}}
{{Name|vbs1|img}}

Virtual Battlespace 1
VBS1
vbs1

vbs, vbs1, virtualbattlespace, virtualbattlespace1

{{Name|vbs2}}
{{Name|vbs2|short}}
{{Name|vbs2|img}}

Virtual Battlespace 2
VBS2
vbs2

vbs2, virtualbattlespace2

{{Name|vbs3}}
{{Name|vbs3|short}}
{{Name|vbs3|img}}

Virtual Battlespace 3
VBS3
vbs3

vbs3, virtualbattlespace3