Lou Montana/Sandbox – User
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add dev and diag) |
Lou Montana (talk | contribs) m (Add more examples, alpha, beta and fix 1.14 (rounding?) bug) |
||
Line 1: | Line 1: | ||
<includeonly><span class="gvi2{{# | <includeonly><span class="gvi2{{#if:{{#pos:{{{2|}}}|.}}| | ||
{{#ifeq:1|{{#expr: {{{2}}} < 0.75}}|<nowiki/> gvi-alpha}} | |||
{{#ifeq:1|{{#expr: {{{2}}} >= 0.75 and {{{2}}} < 1}}|<nowiki/> gvi-beta}} | |||
{{#ifeq:{{Name|{{{1}}}|id}}|arma3 | |||
| {{#ifeq:{{#expr: {{{2}}} > 2.02 or ({{{2}}} > 1 and {{#replace:{{{2}}}|.}} mod 2)}}|1|<nowiki/> gvi-dev}} | |||
}} | }} | ||
| {{#if:{{#pos:{{{1}}}|dev}}|<nowiki/> gvi-dev}} | | {{#if:{{#pos:{{{1}}}{{{2|}}}|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. | }}{{#if:{{#pos:{{{1}}}{{{2|}}}|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|}}}|{{uc:{{{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 24: | Line 26: | ||
| <tt><nowiki>{{GVI|ofpr|1.80}}</nowiki></tt> | | <tt><nowiki>{{GVI|ofpr|1.80}}</nowiki></tt> | ||
| {{{{FULLPAGENAME}}|ofpr|1.80}} | | {{{{FULLPAGENAME}}|ofpr|1.80}} | ||
|- | |||
| <tt><nowiki>{{GVI|ofpe|1.00}}</nowiki></tt> | |||
| {{{{FULLPAGENAME}}|ofpe|1.00}} | |||
|- | |- | ||
| <tt><nowiki>{{GVI|arma1|?}}</nowiki></tt> | | <tt><nowiki>{{GVI|arma1|?}}</nowiki></tt> | ||
Line 43: | Line 48: | ||
| {{{{FULLPAGENAME}}|arma2oa|1.60}} | | {{{{FULLPAGENAME}}|arma2oa|1.60}} | ||
|- | |- | ||
| <tt><nowiki>{{GVI|arma3| | | <tt><nowiki>{{GVI|arma3|0.05}}</nowiki></tt> | ||
| {{{{FULLPAGENAME}}|arma3| | | {{{{FULLPAGENAME}}|arma3|0.05}} | ||
|- | |- | ||
| <tt><nowiki>{{GVI|arma3|0.50}}</nowiki></tt> | | <tt><nowiki>{{GVI|arma3|0.50}}</nowiki></tt> | ||
Line 55: | Line 60: | ||
| {{{{FULLPAGENAME}}|arma3|0.76}} | | {{{{FULLPAGENAME}}|arma3|0.76}} | ||
|- | |- | ||
| <tt><nowiki>{{GVI|arma3|1. | | <tt><nowiki>{{GVI|arma3|1.14}}</nowiki></tt> | ||
| {{{{FULLPAGENAME}}|arma3|1. | | {{{{FULLPAGENAME}}|arma3|1.14}} | ||
|- | |- | ||
| <tt><nowiki>{{GVI|arma3|1.99}}</nowiki></tt> | | <tt><nowiki>{{GVI|arma3|1.99}}</nowiki></tt> | ||
Line 72: | Line 77: | ||
| <tt><nowiki>{{GVI|arma3dev|1.00}}</nowiki></tt> | | <tt><nowiki>{{GVI|arma3dev|1.00}}</nowiki></tt> | ||
| {{{{FULLPAGENAME}}|arma3dev|1.00}} | | {{{{FULLPAGENAME}}|arma3dev|1.00}} | ||
|- | |||
| <tt><nowiki>{{GVI|arma3|dev}}</nowiki></tt> | |||
| {{{{FULLPAGENAME}}|arma3|dev}} | |||
|- | |||
| <tt><nowiki>{{GVI|arma3dev}}</nowiki></tt> | |||
| {{{{FULLPAGENAME}}|arma3dev}} | |||
|- | |- | ||
| <tt><nowiki>{{GVI|arma3diag|1.00}}</nowiki></tt> | | <tt><nowiki>{{GVI|arma3diag|1.00}}</nowiki></tt> | ||
| {{{{FULLPAGENAME}}|arma3diag|1.00}} | | {{{{FULLPAGENAME}}|arma3diag|1.00}} | ||
|- | |- | ||
| <tt><nowiki>{{GVI|tkoh|1. | | <tt><nowiki>{{GVI|arma3|diag}}</nowiki></tt> | ||
| {{{{FULLPAGENAME}}|tkoh|1. | | {{{{FULLPAGENAME}}|arma3|diag}} | ||
|- | |||
| <tt><nowiki>{{GVI|carriercommand|1.00}}</nowiki></tt> | |||
| {{{{FULLPAGENAME}}|carriercommand|1.00}} | |||
|- | |||
| <tt><nowiki>{{GVI|dayz|1.00}}</nowiki></tt> | |||
| {{{{FULLPAGENAME}}|dayz|1.00}} | |||
|- | |||
| <tt><nowiki>{{GVI|tkoh|1.00}}</nowiki></tt> | |||
| {{{{FULLPAGENAME}}|tkoh|1.00}} | |||
|- | |||
| <tt><nowiki>{{GVI|tkom|1.00}}</nowiki></tt> | |||
| {{{{FULLPAGENAME}}|tkom|1.00}} | |||
|} | |} | ||
[[Category:Templates|{{uc:{{PAGENAME}}}}]] | [[Category:Templates|{{uc:{{PAGENAME}}}}]] | ||
</noinclude> | </noinclude> |
Revision as of 00:07, 25 February 2021
Template GVI standing for Game Version Icon - should appear inline 1.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
Code | Result |
---|---|
{{GVI|ofp}} | ? |
{{GVI|ofp|1.30}} | 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|a2oa|1.63}} | -wrong parameter ("a2oa") defined!-[[:Category:Introduced with a2oa version 1.63|1.63]] |
{{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.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|arma3dev|1.00}} | -wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.00|1.00]] |
{{GVI|arma3|dev}} | DEV |
{{GVI|arma3dev}} | -wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version |?]] |
{{GVI|arma3diag|1.00}} | -wrong parameter ("arma3diag") defined!-[[:Category:Introduced with arma3diag version 1.00|1.00]] |
{{GVI|arma3|diag}} | DIAG |
{{GVI|carriercommand|1.00}} | 1.00 |
{{GVI|dayz|1.00}} | 1.00 |
{{GVI|tkoh|1.00}} | 1.00 |
{{GVI|tkom|1.00}} | 1.00 |