Template:Infobox version

From PZwiki
Notebook.pngTemplate Documentation

This template is used to create an infobox in an article about a game version.

Usage

title
Image.png
Image.png
Image.png
Image.png
Image.png
Update name
update_name
Latest release
latest
Stable release
stable
Beta release
iwbums
Stable versions
stable_versions
Beta versions
iwbums_versions
Test versions
test_versions
{{Infobox version
| title =
| image =
| image_name =
| image_width =
| image2 =
| image2_name =
| image2_width =
| image3 =
| image3_name =
| image3_width =
| update_name =
| latest =
| stable =
| iwbums =
| stable_versions =
| iwbums_versions =
| test_versions =
| prev =
| prev_link =
| next =
| next_link =
}}

Parameters

title
The name of the version to be displayed at the top of the infobox. Default: page display title.
image
Image for the version in the format: Image.png. Multiple images can be set by changing the suffix id, e.g. image2. Default: uses icon if defined
image_name
Name of the image. If multiple images are defined, it will be set for the icon with the same suffix id, e.g. image_name2. Default: uses name if defined
image_width
Width for the image, e.g. image_width=128px. Will change the width for the image with the same suffix id, e.g. image_width2 for image2. Default: image width (max 200px)
update_name
The name given to the update - leave blank if no name has been given.
latest
Date of the latest release, in ISO 8601 format (yyyy-mm-dd). Default: uses stable, else beta/iwbums.
stable
Date of the first release to stable, in ISO 8601 format (yyyy-mm-dd).
beta or iwbums
Date of the first release to beta/IWBUMS branch (doesn't include opt-in tech tests), in ISO 8601 format (yyyy-mm-dd).
stable_versions
List of stable versions in the format: [[#Build 41.78|41.78]], separated by .
beta_versions or iwbums_versions
List of beta/iwbums versions in the format: [[#Beta Build 41.64|41.64]], separated by .
test_versions
List of tech test versions in the format: [[#Test Build 40.8|40.8]], separated by .
prev
Text to display for the link to the previous version. Will also be a link if prev_link is not defined.
prev_link
Link to the previous version. Will use prev for the link if empty.
next
Text to display for the link to the next version. Will also be a link if next_link is not defined.
next_link
Link to the next version. Will use next for the link if empty.

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
| update_name = Update name
| latest_release = Latest release
| stable_release = Stable release
| beta_release = Beta release
| stable_versions = Stable versions
| beta_versions = Beta versions
| test_versions = Test versions
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Editors can experiment in this template's sandbox.