Template:Current version

From PZwiki
Lock-locked.png
This page has been put into protection by a PZwiki administrator.
Notebook.pngTemplate Documentation

A simple template that displays the current version so articles can be updated on a single page (here) rather than updating each page individually. Depending on the variable, this template can display the current stable, unstable/iwbums/beta, or test version.

Usage

Parameters

1
This is the variable that determines what is displayed. Can be one of the following (case insensitive):
  • date
  • stable
  • unstable, iwbums, beta
  • test, testing
date
Returns the release date of the spcecified version. Can be one of the following (case insensitive):
  • stable
  • unstable, iwbums, beta
  • test, testing

Date updated

This is to identify the last time this template was updated.

Stable

Used to display the current stable build.

Unstable

Used to display the current unstable build.

Test

Used to display the current public test build.

Updating

The variables within this template can be updated easily.

Version Number

Replace the old version number with the new one:

| stable = 41.78.16

Date

Replace the old date with when the update was released:
This must be in ISO 8601 date format (yyyy-mm-dd). The format will change based on user preference.

| stable = 2022-12-12


How to translate

This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:

  1. Create a subpage of this template with the language code of the language you want to translate to.
  2. Copy the code wrapped in the <noinclude> tag in this template into the page you created.
    {{Translation guide}} template should be removed from the translated documentation.
  3. Translate the page according to the translation requirements of normal pages.
Editors can experiment in this template's sandbox.