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> |