GVI/branch – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add arma3diag)
m (Text replacement - "<tt>([^ =]+)<\/tt>" to "{{hl|$1}}")
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
|arma={{#ifeq:{{{2|1}}}|?|unknown|}}}}</includeonly><noinclude>
|arma={{#ifeq:{{{2|1}}}|?|unknown|}}}}</includeonly><noinclude>
Template [[Template:GVI/branch|GVI/branch]] stands for '''G'''ame '''V'''ersion '''I'''nformation: '''branch'''.
Template [[Template:GVI/branch|GVI/branch]] stands for '''G'''ame '''V'''ersion '''I'''nformation: '''branch'''.
{{Informative |
{{Feature | Informative |
* {{Template|GVI}} uses this template.
* {{Template|GVI}} uses this template.
* This template defines {{Template|GVI}} '''CSS styles''' (GVI frame colours, with &lt;span style{{=}}"''value''"&gt;), and '''icons''' such as [[File:arma3_beta_version.gif]] or [[File:arma_unknown_version.gif]] (versus [[File:arma_version.gif]]).
* This template defines {{Template|GVI}} '''CSS styles''' (GVI frame colours, with &lt;span style{{=}}"''value''"&gt;), and '''icons''' such as [[File:arma3_beta_version.gif]] or [[File:arma_unknown_version.gif]] (versus [[File:arma_version.gif]]).
* Only <tt>arma</tt> and <tt>arma3</tt> games are supported.
* Only {{hl|arma}} and {{hl|arma3}} games are supported.
}}
}}


Line 20: Line 20:
{{<nowiki/>GVI/branch|'''''game'''''|'''''version'''''}}
{{<nowiki/>GVI/branch|'''''game'''''|'''''version'''''}}
* game: in the [[Template:GVI]] format, e.g arma3, ofp, tkoh etc.
* game: in the [[Template:GVI]] format, e.g arma3, ofp, tkoh etc.
* version: (Optional, default <tt>1</tt>) game version in format '''<Major>.<Minor>''', e.g 1.00, 1.86 etc.
* version: (Optional, default {{hl|1}}) game version in format '''<Major>.<Minor>''', e.g 1.00, 1.86 etc.


{| class="wikitable"
{| class="wikitable"
Line 33: Line 33:
| {{GVI/branch|arma}}
| {{GVI/branch|arma}}
|-
|-
| <nowiki>{{GVI/branch|arma|?}}</nowiki>
| <nowiki>{{GVI/branch|arma1|?}}</nowiki>
| {{GVI/branch|arma|?}}
| {{GVI/branch|arma1|?}}
|-
|-
| <nowiki>{{GVI/branch|arma|0.75}}</nowiki>
| <nowiki>{{GVI/branch|arma1|0.75}}</nowiki>
| {{GVI/branch|arma|0.75}}
| {{GVI/branch|arma1|0.75}}
|-
|-
| <nowiki>{{GVI/branch|arma2|?}}</nowiki>
| <nowiki>{{GVI/branch|arma2|?}}</nowiki>

Latest revision as of 10:33, 16 November 2021

Template GVI/branch stands for Game Version Information: branch.

  • {{GVI}} uses this template.
  • This template defines {{GVI}} CSS styles (GVI frame colours, with <span style="value">), and icons such as arma3 beta version.gif or arma unknown version.gif (versus arma version.gif).
  • Only arma and arma3 games are supported.

Usage

{{GVI/branch|game|version}}

  • game: in the Template:GVI format, e.g arma3, ofp, tkoh etc.
  • version: (Optional, default 1) game version in format <Major>.<Minor>, e.g 1.00, 1.86 etc.
Examples
Code Result
{{GVI/branch}}
{{GVI/branch|arma}}
{{GVI/branch|arma1|?}} unknown
{{GVI/branch|arma1|0.75}}
{{GVI/branch|arma2|?}}
{{GVI/branch|arma2|0.50}}
{{GVI/branch|arma2|1.00}}
{{GVI/branch|arma3}} release
{{GVI/branch|arma3|0.00}} alpha
{{GVI/branch|arma3|0.25}} alpha
{{GVI/branch|arma3|0.50}} alpha
{{GVI/branch|arma3|0.74}} beta
{{GVI/branch|arma3|0.75}} beta
{{GVI/branch|arma3|0.99}} beta
{{GVI/branch|arma3|1.00}} release
{{GVI/branch|arma3|4.00}} release
{{GVI/branch|arma3|dev}} dev
{{GVI/branch|arma3|diag}} diag