GVI/branch – Template
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) m (Protected "Template:GVI/branch": High traffic page: Used by pivotal Templates Command and Function ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
Lou Montana (talk | contribs) m (Add examples) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{Name|{{{1}}}|img}}|arma3={{#ifeq:{{lc:{{{2}}}}}|dev|dev|{{#ifexpr:{{{2}}} < 0.7|alpha|{{#ifexpr:{{{2}}} < 1.0|beta|release}}}}}}|arma={{#ifeq:{{{2}}}|?|unknown|}}}}</includeonly><noinclude> | <includeonly>{{#switch:{{Name|{{{1}}}|img}} | ||
==Usage== | |arma3={{#ifeq:{{lc:{{{2|1}}}}}|dev|dev | ||
|{{#ifexpr:{{{2|1}}} < 0.7|alpha | |||
: | |{{#ifexpr:{{{2|1}}} < 1.0|beta | ||
|release | |||
}} | |||
}} | |||
}} | |||
|arma={{#ifeq:{{{2|1}}}|?|unknown|}}}}</includeonly><noinclude> | |||
Template [[Template:GVI/branch|GVI/branch]] stands for '''G'''ame '''V'''ersion '''I'''nformation: '''branch'''. | |||
{{Informative | | |||
* {{Template|GVI}} uses this template. | |||
* This template defines {{Template|GVI}} '''CSS styles''' (GVI frame colours, with <span style{{=}}"''value''">), 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. | |||
}} | |||
== Usage == | |||
{{<nowiki/>GVI/branch|'''''game'''''|'''''version'''''}} | |||
* 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. | |||
{| class="wikitable" | |||
|+ Examples | |||
! Code | |||
! Result | |||
|- | |||
| <nowiki>{{GVI/branch}}</nowiki> | |||
| {{GVI/branch}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma}}</nowiki> | |||
| {{GVI/branch|arma}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma|?}}</nowiki> | |||
| {{GVI/branch|arma|?}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma|0.75}}</nowiki> | |||
| {{GVI/branch|arma|0.75}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma2|?}}</nowiki> | |||
| {{GVI/branch|arma2|?}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma2|0.50}}</nowiki> | |||
| {{GVI/branch|arma2|0.50}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma2|1.00}}</nowiki> | |||
| {{GVI/branch|arma2|1.00}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma3}}</nowiki> | |||
| {{GVI/branch|arma3}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma3|0.00}}</nowiki> | |||
| {{GVI/branch|arma3|0.00}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma3|0.25}}</nowiki> | |||
| {{GVI/branch|arma3|0.25}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma3|0.50}}</nowiki> | |||
| {{GVI/branch|arma3|0.50}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma3|0.74}}</nowiki> | |||
| {{GVI/branch|arma3|0.74}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma3|0.75}}</nowiki> | |||
| {{GVI/branch|arma3|0.75}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma3|0.99}}</nowiki> | |||
| {{GVI/branch|arma3|0.99}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma3|1.00}}</nowiki> | |||
| {{GVI/branch|arma3|1.00}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma3|4.00}}</nowiki> | |||
| {{GVI/branch|arma3|4.00}} | |||
|- | |||
| <nowiki>{{GVI/branch|arma3|dev}}</nowiki> | |||
| {{GVI/branch|arma3|dev}} | |||
|} | |||
[[Category:Templates|{{uc:{{PAGENAME}}}}]] | [[Category:Templates|{{uc:{{PAGENAME}}}}]] | ||
</noinclude> | </noinclude> |
Revision as of 00:49, 6 August 2020
Template GVI/branch stands for Game Version Information: branch.
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.
Code | Result |
---|---|
{{GVI/branch}} | |
{{GVI/branch|arma}} | |
{{GVI/branch|arma|?}} | |
{{GVI/branch|arma|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 |