Lou Montana/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (GVI replacement first draft)
m (Add dev and diag)
Line 1: Line 1:
<includeonly><span class="gvi2"><span class="icon">{{Icon|{{Name|{{{1}}}|id}}|38}}</span><span class="version">[[:Category:Introduced with {{Name|{{{1}}}}} version {{{2|}}}|{{#if:{{{2|}}}|{{{2}}}|?}}]]</span></span></includeonly><noinclude>Template '''''GVI''''' standing for '''''G'''ame '''V'''ersion '''I'''con'' - should appear inline {{{{FULLPAGENAME}}|arma3|1.00}} when in a paragraph.
<includeonly><span class="gvi2{{#ifeq:{{Name|{{{1}}}|id}}|arma3
| {{#if:{{#pos:{{{2|}}}|.}}
| {{#ifeq:{{#expr: {{{2}}} > 2.02 or ({{{2}}} > 1 and {{{2}}} * 100 mod 2)}}|1|<nowiki/> gvi-dev}}
}}
| {{#if:{{#pos:{{{1}}}|dev}}|<nowiki/> gvi-dev}}
}}{{#if:{{#pos:{{{1}}}|diag}}|<nowiki/> gvi-diag}}"><span class="icon">{{Icon|{{Name|{{{1}}}|id}}|38}}</span><span class="version">[[:Category:Introduced with {{Name|{{{1}}}}} version {{{2|}}}|{{#if:{{{2|}}}|{{{2}}}|?}}]]</span></span></includeonly><noinclude>Template '''''GVI''''' standing for '''''G'''ame '''V'''ersion '''I'''con'' - should appear inline {{{{FULLPAGENAME}}|arma3|1.00}} when in a paragraph.


== Usage ==
== Usage ==
Line 52: Line 57:
| <tt><nowiki>{{GVI|arma3|1.22}}</nowiki></tt>
| <tt><nowiki>{{GVI|arma3|1.22}}</nowiki></tt>
| {{{{FULLPAGENAME}}|arma3|1.22}}
| {{{{FULLPAGENAME}}|arma3|1.22}}
|-
| <tt><nowiki>{{GVI|arma3|1.99}}</nowiki></tt>
| {{{{FULLPAGENAME}}|arma3|1.99}}
|-
| <tt><nowiki>{{GVI|arma3|2.00}}</nowiki></tt>
| {{{{FULLPAGENAME}}|arma3|2.00}}
|-
| <tt><nowiki>{{GVI|arma3|2.49}}</nowiki></tt>
| {{{{FULLPAGENAME}}|arma3|2.49}}
|-
| <tt><nowiki>{{GVI|arma3|2.50}}</nowiki></tt>
| {{{{FULLPAGENAME}}|arma3|2.50}}
|-
|-
| <tt><nowiki>{{GVI|arma3dev|1.00}}</nowiki></tt>
| <tt><nowiki>{{GVI|arma3dev|1.00}}</nowiki></tt>

Revision as of 22:25, 24 February 2021

Template GVI standing for Game Version Icon - should appear inline Arma 31.00 when in a paragraph.

Usage

{{GVI|game|version}}

  • game: identical to Name Identifiers
  • version: (Optional, default 1.00) game version such as "1.75", two digits after the period
Examples
Code Result
{{GVI|ofp}} Operation Flashpoint?
{{GVI|ofp|1.30}} Operation Flashpoint1.30
{{GVI|ofpr|1.80}} ofpr version.gif1.80
{{GVI|arma1|?}} Armed Assault?
{{GVI|arma1|1}} Armed Assault1
{{GVI|arma1|1.1}} Armed Assault1.1
{{GVI|arma2|1.05}} Arma 21.05
{{GVI|a2oa|1.63}} -wrong parameter ("a2oa") defined!-[[:Category:Introduced with a2oa version 1.63|1.63]]
{{GVI|arma2oa|1.60}} Arma 2: Operation Arrowhead1.60
{{GVI|arma3|dev}} Arma 3dev
{{GVI|arma3|0.50}} Arma 30.50
{{GVI|arma3|0.58}} Arma 30.58
{{GVI|arma3|0.76}} Arma 30.76
{{GVI|arma3|1.22}} Arma 31.22
{{GVI|arma3|1.99}} Arma 31.99
{{GVI|arma3|2.00}} Arma 32.00
{{GVI|arma3|2.49}} Arma 32.49
{{GVI|arma3|2.50}} Arma 32.50
{{GVI|arma3dev|1.00}} -wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.00|1.00]]
{{GVI|arma3diag|1.00}} -wrong parameter ("arma3diag") defined!-[[:Category:Introduced with arma3diag version 1.00|1.00]]
{{GVI|tkoh|1.01}} Take On Helicopters1.01