Confirmedusers
1,783
edits
No edit summary |
(Marked this version for translation) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<languages /> | |||
:This template is used to signal when a page, or a section of a page, applies to a specific game version. | <translate> | ||
<!--T:1--> | |||
:Type <code><nowiki>{{GameVersion| | 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> | ||
{ | |||
"params": { | |||
"1": { | |||
"label": "Version number", | |||
"example": "1.18.0", | |||
"type": "string", | |||
"required": true, | |||
"description": "The relevant version number" | |||
}, | |||
"2": { | |||
"label": "Section", | |||
"description": "Whether or not the messagebox applies to a section", | |||
"example": "true", | |||
"type": "boolean" | |||
} | |||
}, | |||
"description": "" | |||
} | |||
</templatedata> | |||
== Usage == <!--T:3--> | |||
<!--T:4--> | |||
Type <code><nowiki>{{GameVersion|Version number|Section}}</nowiki></code> at the top of the section to which it applies. | |||
=== 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> | |||
<includeonly>[[Category:Notice_templates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:Notice_templates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |