Template:GameVersion/doc: Difference between revisions
From Vintage Story Wiki
(Add translate tags) |
(Marked this version for translation) |
||
Line 1: | Line 1: | ||
<languages /> | <languages /> | ||
<translate> | <translate> | ||
<!--T:1--> | |||
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|Messagebox}} template for formatting. | 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|Messagebox}} template for formatting. | ||
<!--T:2--> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 24: | Line 26: | ||
</templatedata> | </templatedata> | ||
== Usage == | == Usage == <!--T:3--> | ||
<!--T:4--> | |||
Type <code><nowiki>{{GameVersion|Version number|Section}}</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. | ||
=== Examples === | === Examples === <!--T:5--> | ||
<!--T:6--> | |||
:<code><nowiki>{{GameVersion|1.17}}</nowiki></code> gives... | :<code><nowiki>{{GameVersion|1.17}}</nowiki></code> gives... | ||
<!--T:7--> | |||
{{GameVersion|1.17}} | {{GameVersion|1.17}} | ||
<!--T:8--> | |||
:<code><nowiki>{{GameVersion|1.17|true}}</nowiki></code> gives... | :<code><nowiki>{{GameVersion|1.17|true}}</nowiki></code> gives... | ||
<!--T:9--> | |||
{{GameVersion|1.17|true}} | {{GameVersion|1.17|true}} | ||
</translate> | </translate> | ||
<includeonly>[[Category:Notice_templates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:Notice_templates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 21:31, 8 December 2023
This template is used to signal when a page, or a section of a page, applies to a specific game version. It uses the {{Messagebox}}
template for formatting.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Version number | 1 | The relevant version number
| String | required |
Section | 2 | Whether or not the messagebox applies to a section
| Boolean | optional |
Usage
Type {{GameVersion|Version number|Section}}
at the top of the section to which it applies.
Examples
{{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.