Template:GameVersion/doc: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 1: Line 1:
;Description
;Description
:This template is used to signal when a page, or a section of a page, applies to a specific game version.
:This template is used to signal when a page, or a section of a page, applies to a specific game version. It uses the {{tl|msgbox}} template for formatting.
;Syntax
;Syntax
:Type <code><nowiki>{{GameVersion|version number|mini}}</nowiki></code> at the top of the section to which it applies.
:Type <code><nowiki>{{GameVersion|Version number|Section}}</nowiki></code> at the top of the section to which it applies.
;Parameters
;Parameters
: Version number '''(required)''': String. This is the version number that is displayed in the text.
:  
: mini (optional): Any. If this parameter is included, the box will be displayed as a mini version (per {{tl|msgbox}}).
{| class="wikitable"
|-
! Parameter !! Description !! Type !! Required
|-
| Version number || The relevant version number || String || Suggested
|-
| Section || Set this to anything if the messagebox applies to a section || Any || No
|}
;Sample output
;Sample output
:<code><nowiki>{{GameVersion|1.17}}</nowiki></code> gives...
:<code><nowiki>{{GameVersion|1.17}}</nowiki></code> gives...

Revision as of 20:19, 6 August 2022

Description
This template is used to signal when a page, or a section of a page, applies to a specific game version. It uses the {{msgbox}} template for formatting.
Syntax
Type {{GameVersion|Version number|Section}} at the top of the section to which it applies.
Parameters
Parameter Description Type Required
Version number The relevant version number String Suggested
Section Set this to anything if the messagebox applies to a section Any No
Sample output
{{GameVersion|1.17}} gives...

This page was last verified for Vintage Story version 1.17.


{{GameVersion|1.17|true}} gives...

This section was last verified for Vintage Story version 1.17.