Template:GameVersion/doc: Difference between revisions
From Vintage Story Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
: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. | ||
;Syntax | ;Syntax | ||
:Type <code><nowiki>{{GameVersion|version number}}</nowiki></code> at the top of the section to which it applies. | :Type <code><nowiki>{{GameVersion|version number|mini}}</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. | : 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}}). | |||
;Sample output | ;Sample output | ||
:<code><nowiki>{{GameVersion|1.17}}</nowiki></code> gives... | :<code><nowiki>{{GameVersion|1.17}}</nowiki></code> gives... | ||
{{GameVersion|1.17}} | {{GameVersion|1.17}} | ||
:<code><nowiki>{{GameVersion|1.17|true}}</nowiki></code> gives... | |||
{{GameVersion|1.17|true}} | |||
<includeonly>[[Category:Notice_templates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:Notice_templates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Revision as of 20:10, 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.
- Syntax
- Type
{{GameVersion|version number|mini}}
at the top of the section to which it applies. - 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
{{msgbox}}
). - 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.