Template:GameVersion: Difference between revisions

From Vintage Story Wiki
No edit summary
(Marked this version for translation)
Line 2: Line 2:
|bgcol= #eee
|bgcol= #eee
|linecol= #88acf5
|linecol= #88acf5
|text= <translate>This</translate> {{#if: {{{2|}}} |<translate>section</translate>|<translate>page</translate>}} <translate>was last verified for Vintage Story version</translate> '''{{{1}}}'''.
|text= <translate><!--T:1--> This</translate> {{#if: {{{2|}}} |<translate><!--T:2--> section</translate>|<translate><!--T:3--> page</translate>}} <translate><!--T:4--> was last verified for Vintage Story version</translate> '''{{{1}}}'''.
|mini = {{#if: {{{2|}}} | true}}
|mini = {{#if: {{{2|}}} | true}}
|css = margin-left:0px;
|css = margin-left:0px;

Revision as of 15:47, 5 August 2023

[view | edit | history | purge this page]Documentation

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.

Template parameters

ParameterDescriptionTypeStatus
Version number1

The relevant version number

Example
1.18.0
Stringrequired
Section2

Whether or not the messagebox applies to a section

Example
true
Booleanoptional

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.

[view | edit | history | purge this page]The above documentation is transcluded from Template:GameVersion/doc.