GVI/intro – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Protected "Template:GVI/intro": High traffic page: Used by pivotal Templates Command and Function ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
(Add description and examples)
Line 1: Line 1:
<includeonly>Introduced with {{Name|{{{1}}}}} version</includeonly><noinclude>
<includeonly>{{#if:{{{1|}}}|Introduced with {{Name|{{{1}}}}} version {{{2|?}}}}}</includeonly><noinclude>
==Usage==
Template [[Template:GVI/intro|GVI/intro]] stands for '''G'''ame '''V'''ersion '''I'''nformation: '''intro'''duced ''with''.
;How do I use this Template?
{{Informative |
:You don't. {{Template|GVI}} does.
* {{Template|GVI}} uses this template.
* This template defines '''Category names''', such as [[:Category:Introduced with Operation Flashpoint version 1.00]]}}
 
== Usage ==
{{<nowiki/>GVI/intro|'''''game'''''|'''''version'''''}}
* 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.
 
{| class="wikitable"
|+ Examples
! Code
! Result
|-
| <nowiki>{{GVI/intro}}</nowiki>
| {{GVI/intro}}
|-
| <nowiki>{{GVI/intro|ofp}}</nowiki>
| {{GVI/intro|ofp}}
|-
| <nowiki>{{GVI/intro|arma2|abc}}</nowiki>
| {{GVI/intro|arma2|abc}}
|-
| <nowiki>{{GVI/intro|arma3|1.96}}</nowiki>
| {{GVI/intro|arma3|1.96}}
|}


<!-- Categories this template should belong to -->
[[Category:Templates|{{uc:{{PAGENAME}}}}]]
[[Category:Templates|{{uc:{{PAGENAME}}}}]]
</noinclude>
</noinclude>

Revision as of 00:41, 26 December 2019

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 abc
{{GVI/intro|arma3|1.96}} Introduced with Arma 3 version 1.96