Name – Template
Lou Montana (talk | contribs) m (Text replacement - "{|class" to "{| class") |
Lou Montana (talk | contribs) m (Fix example) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
|short=BI | |short=BI | ||
|cat=Bohemia Interactive | |cat=Bohemia Interactive | ||
|com=Bohemia Interactive s | |com=Bohemia Interactive a.s | ||
|#default=Bohemia Interactive}} | |#default=Bohemia Interactive}} | ||
<!-- | <!-- | ||
Line 142: | Line 142: | ||
|id=arma2 | |id=arma2 | ||
|img=arma2 | |img=arma2 | ||
|short | |short | ||
|cat | |cat | ||
|com | |com | ||
|#default=Arma 2}} | |#default=Arma 2}} | ||
Line 163: | Line 163: | ||
|img=arma2baf | |img=arma2baf | ||
|short=Arma 2:BAF | |short=Arma 2:BAF | ||
|cat=Arma 2: | |cat=Arma 2: Operation Arrowhead | ||
|com | |com | ||
|#default=Arma 2: British Armed Forces}} | |#default=Arma 2: British Armed Forces}} | ||
Line 173: | Line 173: | ||
|img=arma2pmc | |img=arma2pmc | ||
|short=Arma 2:PMC | |short=Arma 2:PMC | ||
|cat=Arma 2: | |cat=Arma 2: Operation Arrowhead | ||
|com | |com | ||
|#default=Arma 2: Private Military Company}} | |#default=Arma 2: Private Military Company}} | ||
Line 192: | Line 192: | ||
|id=arma3 | |id=arma3 | ||
|img=arma3 | |img=arma3 | ||
|short | |short | ||
|cat | |cat | ||
|com | |com | ||
|#default=Arma 3}} | |#default=Arma 3}} | ||
Line 320: | Line 320: | ||
|com | |com | ||
|#default=Arma 3 Apex: Old Man}} | |#default=Arma 3 Apex: Old Man}} | ||
<!-- | |||
ARGO | |||
--> | |||
|argo={{#switch:{{lc:{{{2}}}}} | |||
|id=argo | |||
|img=argo | |||
|short | |||
|cat | |||
|com | |||
|#default=Argo}} | |||
<!-- | |||
ARMA REFORGER | |||
--> | |||
|armar={{#switch:{{lc:{{{2}}}}} | |||
|id=armar | |||
|img=armareforger | |||
|short=Reforger | |||
|cat | |||
|com | |||
|#default=Arma Reforger}} | |||
<!-- | |||
ARMA 4 | |||
--> | |||
|arma4={{#switch:{{lc:{{{2}}}}} | |||
|id=arma4 | |||
|img=arma4 | |||
|short | |||
|cat | |||
|com | |||
|#default=Arma 4}} | |||
<!-- | <!-- | ||
DAYZ | DAYZ | ||
Line 366: | Line 396: | ||
|id=ylands | |id=ylands | ||
|img=ylands | |img=ylands | ||
|short | |short | ||
|cat | |cat | ||
|com | |com | ||
|#default=Ylands}} | |#default=Ylands}} | ||
<!-- | |||
VIGOR | |||
--> | |||
|vigor={{#switch:{{lc:{{{2}}}}} | |||
|id=vigor | |||
|img=vigor | |||
|short | |||
|cat | |||
|com | |||
|#default=Vigor}} | |||
<!-- | |||
SILICA | |||
--> | |||
|silica={{#switch:{{lc:{{{2}}}}} | |||
|id=silica | |||
|img=silica | |||
|short | |||
|cat | |||
|com | |||
|#default=Silica}} | |||
<!-- | <!-- | ||
CARRIER COMMAND | CARRIER COMMAND | ||
Line 399: | Line 449: | ||
|- | |- | ||
| {{Name|arma3|id}} || {{Name|arma3}} | | {{Name|arma3|id}} || {{Name|arma3}} | ||
|- | |||
| {{Name|armaR|id}} || {{Name|armaR}} | |||
|- | |||
| {{Name|arma4|id}} || {{Name|arma4}} | |||
|- | |- | ||
| {{Name|tkoh|id}} || {{Name|tkoh}} | | {{Name|tkoh|id}} || {{Name|tkoh}} | ||
Line 407: | Line 461: | ||
|- | |- | ||
| {{Name|ylands|id}} || {{Name|ylands}} | | {{Name|ylands|id}} || {{Name|ylands}} | ||
|- | |||
| {{Name|vigor|id}} || {{Name|vigor}} | |||
|- | |||
| {{Name|silica|id}} || {{silica}} | |||
|} | |} | ||
Provides a wiki-formatted game name/id. | Provides a wiki-formatted game name/id. | ||
Line 416: | Line 474: | ||
** "id": wiki id | ** "id": wiki id | ||
** "cat": wiki category name | ** "cat": wiki category name | ||
** "com": commercial name (e.g " | ** "com": commercial name (e.g "{{Name|ofp|com}}", "{{Name|bi|com}}") | ||
** "img": wiki image link | ** "img": wiki image link | ||
** "short": short name (e.g BI for Bohemia Interactive). | ** "short": short name (e.g BI for Bohemia Interactive). | ||
: Anything else or nothing will return the long version of the name. | : Anything else or nothing will return the long version of the name. | ||
{{Feature | | {{Feature|informative|if no matches are found for '''''identifier''''', the template will return the '''''identifier''''' string linked to [[Bohemia Interactive Community:Naming Conventions|Naming Conventions]] and add the page to [[:Category:Name template usage error]].}} | ||
{| class="wikitable | {{Clear}} | ||
{| class="wikitable" | |||
|+ Examples | |+ Examples | ||
! Code | ! Code | ||
Line 995: | Line 1,054: | ||
{{Name|arma3oldman|img}}<br> | {{Name|arma3oldman|img}}<br> | ||
| arma3oldman | | arma3oldman | ||
|- | |||
<!-- | |||
ARGO | |||
--> | |||
| | |||
{{<nowiki/>Name|argo}}<br> | |||
{{<nowiki/>Name|argo|com}}<br> | |||
{{<nowiki/>Name|argo|id}}<br> | |||
{{<nowiki/>Name|argo|cat}}<br> | |||
{{<nowiki/>Name|argo|short}}<br> | |||
{{<nowiki/>Name|argo|img}}<br> | |||
| | |||
{{Name|argo}}<br> | |||
{{Name|argo|com}}<br> | |||
{{Name|argo|id}}<br> | |||
{{Name|argo|cat}}<br> | |||
{{Name|argo|short}}<br> | |||
{{Name|argo|img}}<br> | |||
| argo | |||
|- | |||
<!-- | |||
ARMA REFORGER | |||
--> | |||
| | |||
{{<nowiki/>Name|armar}}<br> | |||
{{<nowiki/>Name|armar|com}}<br> | |||
{{<nowiki/>Name|armar|id}}<br> | |||
{{<nowiki/>Name|armar|cat}}<br> | |||
{{<nowiki/>Name|armar|short}}<br> | |||
{{<nowiki/>Name|armar|img}}<br> | |||
| | |||
{{Name|armar}}<br> | |||
{{Name|armar|com}}<br> | |||
{{Name|armar|id}}<br> | |||
{{Name|armar|cat}}<br> | |||
{{Name|armar|short}}<br> | |||
{{Name|armar|img}}<br> | |||
| armar | |||
|- | |||
<!-- | |||
ARMA 4 | |||
--> | |||
| | |||
{{<nowiki/>Name|arma4}}<br> | |||
{{<nowiki/>Name|arma4|com}}<br> | |||
{{<nowiki/>Name|arma4|id}}<br> | |||
{{<nowiki/>Name|arma4|cat}}<br> | |||
{{<nowiki/>Name|arma4|short}}<br> | |||
{{<nowiki/>Name|arma4|img}}<br> | |||
| | |||
{{Name|arma4}}<br> | |||
{{Name|arma4|com}}<br> | |||
{{Name|arma4|id}}<br> | |||
{{Name|arma4|cat}}<br> | |||
{{Name|arma4|short}}<br> | |||
{{Name|arma4|img}}<br> | |||
| arma4 | |||
|- | |- | ||
<!-- | <!-- | ||
Line 1,090: | Line 1,206: | ||
{{Name|ylands|img}}<br> | {{Name|ylands|img}}<br> | ||
| ylands | | ylands | ||
|- | |||
<!-- | |||
VIGOR | |||
--> | |||
| | |||
{{<nowiki/>Name|vigor}}<br> | |||
{{<nowiki/>Name|vigor|com}}<br> | |||
{{<nowiki/>Name|vigor|id}}<br> | |||
{{<nowiki/>Name|vigor|cat}}<br> | |||
{{<nowiki/>Name|vigor|short}}<br> | |||
{{<nowiki/>Name|vigor|img}}<br> | |||
| | |||
{{Name|vigor}}<br> | |||
{{Name|vigor|com}}<br> | |||
{{Name|vigor|id}}<br> | |||
{{Name|vigor|cat}}<br> | |||
{{Name|vigor|short}}<br> | |||
{{Name|vigor|img}}<br> | |||
| vigor | |||
|- | |||
<!-- | |||
SILICA | |||
--> | |||
| | |||
{{<nowiki/>Name|silica}}<br> | |||
{{<nowiki/>Name|silica|com}}<br> | |||
{{<nowiki/>Name|silica|id}}<br> | |||
{{<nowiki/>Name|silica|cat}}<br> | |||
{{<nowiki/>Name|silica|short}}<br> | |||
{{<nowiki/>Name|silica|img}}<br> | |||
| | |||
{{silica}}<br> | |||
{{Name|silica|com}}<br> | |||
{{Name|silica|id}}<br> | |||
{{Name|silica|cat}}<br> | |||
{{Name|silica|short}}<br> | |||
{{Name|silica|img}}<br> | |||
| silica | |||
|- | |- | ||
<!-- | <!-- |
Latest revision as of 21:34, 15 April 2024
Id | Title |
---|---|
bi | Bohemia Interactive |
arma1 | Armed Assault |
arma2 | Arma 2 |
arma2oa | Arma 2: Operation Arrowhead |
arma3 | Arma 3 |
armar | Arma Reforger |
arma4 | Arma 4 |
tkoh | Take On Helicopters |
tkom | Take On Mars |
dayz | DayZ |
ylands | Ylands |
vigor | Vigor |
silica | Silica |
Provides a wiki-formatted game name/id.
Usage
{{Name|identifier|format}}
- identifier: short "identifier", such as "bi", "ofpr", "arma3" etc. It is case-insensitive.
- format: (Optional) can be one of:
- "id": wiki id
- "cat": wiki category name
- "com": commercial name (e.g "Operation Flashpoint: Cold War Crisis", "Bohemia Interactive a.s")
- "img": wiki image link
- "short": short name (e.g BI for Bohemia Interactive).
- Anything else or nothing will return the long version of the name.
Code | Result | Valid Identifiers |
---|---|---|
{{Name}} | -no identifier defined- | N/A |
{{Name|}} | -no identifier defined- | N/A |
{{Name|1= }} | -no identifier defined- | N/A |
{{Name|unknown value}} | unknown value | N/A |
Companies | ||
{{Name|bi}} |
Bohemia Interactive |
bi, bohemiainteractive |
Engines | ||
{{Name|rv}} |
Real Virtuality |
rv, realvirtuality |
{{Name|enfusion}} |
Enfusion |
enfusion
|
Series | ||
{{Name|arma}} |
Arma | arma, armaseries |
Products | ||
{{Name|ofp}} |
Operation Flashpoint |
ofp |
{{Name|arma0}} |
Arma: Cold War Assault |
a0, arma0, armacwa |
{{Name|ofpr}} |
Operation Flashpoint: Resistance |
ofpr, arma0r |
{{Name|ofpe}} |
Operation Flashpoint: Elite |
ofpe |
{{Name|arma1}} |
Armed Assault |
arma1 |
{{Name|arma1co}} |
ArmA: Combat Operations |
arma1co |
{{Name|arma1qg}} |
ArmA: Queen's Gambit |
arma1qg |
{{Name|arma2}} |
Arma 2 |
arma2 |
{{Name|arma2oa}} |
Arma 2: Operation Arrowhead |
arma2oa |
{{Name|arma2baf}} |
Arma 2: British Armed Forces |
arma2baf |
{{Name|arma2pmc}} |
Arma 2: Private Military Company |
arma2pmc |
{{Name|arma2acr}} |
Arma 2: Army of the Czech Republic |
arma2acr |
{{Name|arma3}} |
Arma 3 |
arma3 |
{{Name|arma3zeus}} |
Arma 3 Zeus |
arma3zeus |
{{Name|arma3karts}} |
Arma 3 Karts |
arma3karts |
{{Name|arma3helicopters}} |
Arma 3 Helicopters |
arma3heli, arma3helicopters |
{{Name|arma3marksmen}} |
Arma 3 Marksmen |
arma3mark, arma3marksmen |
{{Name|arma3apex}} |
Arma 3 Apex |
arma3apex, arma3expansion |
{{Name|arma3jets}} |
Arma 3 Jets |
arma3jets |
{{Name|arma3malden}} |
Arma 3 Malden |
arma3malden |
{{Name|arma3lawsofwar}} |
Arma 3 Laws of War |
arma3low, arma3lawsofwar |
{{Name|arma3tacops}} |
Arma 3 Tac-Ops Mission Pack |
arma3tacops |
{{Name|arma3tanks}} |
Arma 3 Tanks |
arma3tanks |
{{Name|arma3contact}} |
Arma 3 Contact |
arma3contact |
{{Name|arma3oldman}} |
Arma 3 Apex: Old Man |
arma3oldman |
{{Name|argo}} |
Argo |
argo |
{{Name|armar}} |
Arma Reforger |
armar |
{{Name|arma4}} |
Arma 4 |
arma4 |
{{Name|dayz}} |
DayZ |
dayz |
{{Name|tkoh}} |
Take On Helicopters |
tkoh |
{{Name|tkohh}} |
Take On Helicopters: Hinds |
tkohh |
{{Name|tkom}} |
Take On Mars |
tkom |
{{Name|ylands}} |
Ylands |
ylands |
{{Name|vigor}} |
Vigor |
vigor |
{{Name|silica}} |
Silica |
silica |
{{Name|carriercommand}} |
Carrier Command |
carriercommand |