GVI – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add "?" possible version)
(Add usage of Template:GVI/version)
Line 1: Line 1:
<includeonly><div class="gvi">[[File:{{Name|{{{1}}}|img}} {{GVI/branch|{{{1}}}|{{{2|1.00}}}}} version.gif|link=Category:{{GVI/intro|{{{1}}}|{{{2|1.00}}}}}|alt={{GVI/intro
<includeonly><div class="gvi">[[File:{{Name|{{{1}}}|img}} {{GVI/branch|{{{1}}}|{{{2|1.00}}}}} version.gif|link=Category:{{GVI/intro | {{{1}}} | {{{2|1.00}}}}}|alt={{GVI/intro | {{{1}}} | {{{2|1.00}}}}}]]<span class="{{GVI/branch | {{{1}}} | {{{2|1.00}}}}}">{{GVI/version|{{{2|1.00}}}}}</span>{{#if:{{{3|}}} | [[Category:{{GVI/intro | {{{1}}} | {{{2|1.00}}}}} | {{uc:{{PAGENAME}}}}]] | }}</div></includeonly><noinclude>
|{{{1}}}}}
]]<span class="{{GVI/branch|{{{1}}}|{{{2|1.00}}}}}">{{#ifexpr: {{#len:{{{2|1.00}}}}} > 3 and {{#if:{{#pos:{{{2|thereisnopoint}}}|.}}|1|0}}
| {{#explode:{{{2|1.00}}}|.|0}}.{{#explode:{{{2|1.00}}}|.|1}}
| {{#ifeq:{{{2|?}}}|?|?|{{{2|}}}?}}
}}</span>{{#if:{{{3|}}} | [[Category:{{GVI/intro|{{{1}}}|{{{2|1.00}}}}} | {{uc:{{PAGENAME}}}}]] | }}</div></includeonly><noinclude>
Template '''''GVI''''' standing for '''''G'''ame '''V'''ersion '''I'''mage''.
Template '''''GVI''''' standing for '''''G'''ame '''V'''ersion '''I'''mage''.


Line 11: Line 6:
* game: identical to [[Template:Name|Template:Name Identifiers]]
* game: identical to [[Template:Name|Template:Name Identifiers]]
* version: (Optional, default <tt>1.00</tt>) game version such as "1.75", "?" (if unknown); '''two digits''' after the period
* version: (Optional, default <tt>1.00</tt>) game version such as "1.75", "?" (if unknown); '''two digits''' after the period
* categorise: (Optional) if set (usually "cat" or "category") categorises the page to <tt><nowiki>[[Category:Introduced in {{Name|game}} version]]</nowiki></tt>
* categorise: (Optional) if set (usually "cat" or "category") categorises the page to <tt>[[<nowiki/>Category:Introduced in ''game'' version ''version'']]</tt>


{| class="bikitable"
{| class="bikitable"

Revision as of 00:56, 26 December 2019

Template GVI standing for Game Version Image.

Usage

{{GVI|game|version|categorise}}

  • game: identical to Template:Name Identifiers
  • version: (Optional, default 1.00) game version such as "1.75", "?" (if unknown); two digits after the period
  • categorise: (Optional) if set (usually "cat" or "category") categorises the page to [[Category:Introduced in game version version]]
Examples
Code Result
{{GVI|arma0}}
Introduced with Arma: Cold War Assault version 1.001.00
{{GVI|ofp|1.30}}
Introduced with Operation Flashpoint version 1.301.30
{{GVI|ofpr|1.80}}
Introduced with Operation Flashpoint: Resistance version 1.801.80
{{GVI|arma|?}}
{{GVI|arma|1}}
{{GVI|arma|1.1}}
{{GVI|arma2|1.11}}
Introduced with Arma 2 version 1.111.11
{{GVI|a2oa|1.63}}
[[File:a2oa version.gif|link=Category:Introduced with a2oa version 1.63|alt=Introduced with a2oa version 1.63]]1.63
{{GVI|arma2oa|1.60}}
Introduced with Arma 2: Operation Arrowhead version 1.601.60
{{GVI|arma3|dev}}
Introduced with Arma 3 Development Branchdev?
{{GVI|arma3|0.50}}
Introduced with Arma 3 version 0.500.50
{{GVI|arma3|0.58}}
Introduced with Arma 3 version 0.580.58
{{GVI|arma3|0.76}}
Introduced with Arma 3 version 0.760.76
{{GVI|arma3|1.22}}
Introduced with Arma 3 version 1.221.22
{{GVI|tkoh|1.02}}
Introduced with Take On Helicopters version 1.021.02
{{GVI|vbs1|2.12.14}}
[[File:vbs1 version.gif|link=Category:Introduced with vbs1 version 2.12.14|alt=Introduced with vbs1 version 2.12.14]]2.12
{{GVI|vbs2|1.49}}
[[File:vbs2 version.gif|link=Category:Introduced with vbs2 version 1.49|alt=Introduced with vbs2 version 1.49]]1.49