GVI – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add better per-game split) |
Lou Montana (talk | contribs) (Update to 2.16) |
||
Line 5: | Line 5: | ||
{{#ifexpr:{{{2}}} < 0.7|<nowiki/> gvi-alpha}} | {{#ifexpr:{{{2}}} < 0.7|<nowiki/> gvi-alpha}} | ||
{{#ifexpr:{{{2}}} >= 0.7 and {{{2}}} < 1|<nowiki/> gvi-beta}} | {{#ifexpr:{{{2}}} >= 0.7 and {{{2}}} < 1|<nowiki/> gvi-beta}} | ||
{{#ifexpr:{{{2}}} > 2. | {{#ifexpr:{{{2}}} > 2.16|<nowiki/> gvi-dev}} <!-- Arma 3 latest stable version is set here --> | ||
|<!-- not a x.yy version --> | |<!-- not a x.yy version --> | ||
{{#if:{{#pos:{{lc:{{{branch|}}}{{{2|}}}}}|dev}}|<nowiki/> gvi-dev}} | {{#if:{{#pos:{{lc:{{{branch|}}}{{{2|}}}}}|dev}}|<nowiki/> gvi-dev}} |
Revision as of 17:40, 26 March 2024
Template GVI standing for Game Version Icon - must appear inline 1.00 when in a paragraph.
It places the page in the GVI template usage error category if no game is provided.
Usage
{{GVI|game|version|size=}}
- game: identical to Name Identifiers
- version: (Optional, default 1.00) game version such as "1.75", two digits after the period
- branch: (Optional, named parameter, default empty) can be dev or diag for Development or Diagnostic Branch
- size: (Optional, named parameter, default 1) ratio size, ratio × 32px
Code | Result |
---|---|
{{GVI}} | -no game provided- |
{{GVI|ofp}} | ? |
{{GVI|ofp|1.30}} | 1.30 |
{{GVI|ofp|1.30|size=1}} | 1.30 |
{{GVI|ofp|1.30|size=.75}} | 1.30 |
{{GVI|ofp|1.30|size=2}} | 1.30 |
{{GVI|ofpr|1.80}} | 1.80 |
{{GVI|ofpe|1.00}} | 1.00 |
{{GVI|arma1|?}} | ? |
{{GVI|arma1|1}} | 1 |
{{GVI|arma1|1.1}} | 1.1 |
{{GVI|arma2|1.05}} | 1.05 |
{{GVI|arma2oa|1.60}} | 1.60 |
{{GVI|arma3|0.05}} | 0.05 |
{{GVI|arma3|0.50}} | 0.50 |
{{GVI|arma3|0.58}} | 0.58 |
{{GVI|arma3|0.70}} | 0.70 |
{{GVI|arma3|0.76}} | 0.76 |
{{GVI|arma3|1.14}} | 1.14 |
{{GVI|arma3|1.99}} | 1.99 |
{{GVI|arma3|2.00}} | 2.00 |
{{GVI|arma3|2.49}} | 2.49 |
{{GVI|arma3|2.50}} | 2.50 |
{{GVI|arma3|dev}} | DEV |
{{GVI|arma3|1.55|branch=dev}} | 1.55 |
{{GVI|arma3|diag}} | DIAG |
{{GVI|arma3|1.55|branch=diag}} | 1.55 |
{{GVI|carriercommand|1.00}} | 1.00 |
{{GVI|dayz|1.00}} | 1.00 |
{{GVI|tkoh|1.00}} | 1.00 |
{{GVI|tkom|1.00}} | 1.00 |
{{GVI|armaR|0.9.5}} | 0.9.5 |
{{GVI|armaR|1.0.0}} | 1.0.0 |
{{GVI|arma4|1.0.0}} | 1.0.0 |