GVI/intro – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Fix DevBranch link)
m (Text replacement - "<tt>([^ =]+)<\/tt>" to "{{hl|$1}}")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|Introduced with {{Name|{{{1}}}}} {{#ifeq: {{uc:{{{2|}}}}} | DEV | Development Branch | version {{GVI/version | {{{2|}}} | category}} }} }}</includeonly><noinclude>
<includeonly>{{#if:{{{1|}}}|Introduced with {{Name|{{{1}}}}} {{#ifeq: {{uc:{{{2|}}}}} | DEV | Development Branch
|{{#ifeq: {{uc:{{{2|}}}}} | DIAG | Diagnostic Build
| version {{GVI/version | {{{2|}}} | category}}
}}
}}}}</includeonly><noinclude>
Template [[Template:GVI/intro|GVI/intro]] stands for '''G'''ame '''V'''ersion '''I'''nformation: '''intro'''duced ''with''.
Template [[Template:GVI/intro|GVI/intro]] stands for '''G'''ame '''V'''ersion '''I'''nformation: '''intro'''duced ''with''.
{{Informative |
{{Feature | Informative |
* {{Template|GVI}} uses this template.
* {{Template|GVI}} uses this template.
* This template defines '''Category names''', such as [[:Category:Introduced with Operation Flashpoint version 1.00]]}}
* This template defines '''Category names''', such as [[:Category:Introduced with Operation Flashpoint version 1.00]]}}
Line 8: Line 12:
{{<nowiki/>GVI/intro|'''''game'''''|'''''version'''''}}
{{<nowiki/>GVI/intro|'''''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>?</tt>) game version in format '''<Major>.<Minor>''', e.g 1.00, 1.86 etc.
* version: (Optional, default {{hl|?}}) game version in format '''<Major>.<Minor>''', e.g 1.00, 1.86 etc.


{| class="wikitable"
{| class="wikitable"
Line 29: Line 33:
| <nowiki>{{GVI/intro|arma3|dev}}</nowiki>
| <nowiki>{{GVI/intro|arma3|dev}}</nowiki>
| {{GVI/intro|arma3|dev}}
| {{GVI/intro|arma3|dev}}
|-
| <nowiki>{{GVI/intro|arma3|diag}}</nowiki>
| {{GVI/intro|arma3|diag}}
|-
|-
| <nowiki>{{GVI/intro|arma3|1.96.123456}}</nowiki>
| <nowiki>{{GVI/intro|arma3|1.96.123456}}</nowiki>

Latest revision as of 10:33, 16 November 2021

Template GVI/intro stands for Game Version Information: introduced with.

Usage

{{GVI/intro|game|version}}

  • game: in the Template:GVI format, e.g arma3, ofp, tkoh etc.
  • version: (Optional, default ?) game version in format <Major>.<Minor>, e.g 1.00, 1.86 etc.
Examples
Code Result
{{GVI/intro}}
{{GVI/intro|ofp}} Introduced with Operation Flashpoint version ?
{{GVI/intro|arma2|abc}} Introduced with Arma 2 version ?
{{GVI/intro|arma3|1.96}} Introduced with Arma 3 version 1.96
{{GVI/intro|arma3|dev}} Introduced with Arma 3 Development Branch
{{GVI/intro|arma3|diag}} Introduced with Arma 3 Diagnostic Build
{{GVI/intro|arma3|1.96.123456}} Introduced with Arma 3 version 1.96.123456