Template:Page version: Difference between revisions

From PZwiki
m (Automated Formatting)
m (add notpageimage class to icon/sign)
 
Line 39: Line 39:
|{{Current version|stable}} = {{Mbox
|{{Current version|stable}} = {{Mbox
   | color = #68a166
   | color = #68a166
   | sign = [[File:UI_Tick.png|link=Template:Page version{{lcs}}]]
   | sign = [[File:UI_Tick.png|link=Template:Page version{{lcs}}|class=notpageimage]]
   | title = This page has been revised for the current stable version ({{#if:{{{1|}}}|[[Build {{#explode:{{{1}}}|.}}|{{{1}}}]]|''Unknown version''}}).
   | title = This page has been revised for the current stable version ({{#if:{{{1|}}}|[[Build {{#explode:{{{1}}}|.}}|{{{1}}}]]|''Unknown version''}}).
   | content = Help by adding any missing content. [<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</span>]
   | content = Help by adding any missing content. [<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</span>]
Line 55: Line 55:
|beta = {{Mbox
|beta = {{Mbox
   | color = #b9b9b9
   | color = #b9b9b9
   | sign = [[File:Profession_engineer.png|link=Template:Page version{{lcs}}]]
   | sign = [[File:Profession_engineer.png|link=Template:Page version{{lcs}}|class=notpageimage]]
   | title = This page has been updated to an unstable beta version ({{#if:{{{1|}}}|[[Build {{#explode:{{{1}}}|.}}|{{{1}}}]]|''Unknown version''}}).
   | title = This page has been updated to an unstable beta version ({{#if:{{{1|}}}|[[Build {{#explode:{{{1}}}|.}}|{{{1}}}]]|''Unknown version''}}).
   | content = There may be additional features that are not in the stable version ({{ll|Build {{#explode:{{Current version|stable}}|.}}|{{Current version|stable}}}}), released {{Current version|date=stable}}.
   | content = There may be additional features that are not in the stable version ({{ll|Build {{#explode:{{Current version|stable}}|.}}|{{Current version|stable}}}}), released {{Current version|date=stable}}.
Line 72: Line 72:
|#default = {{Mbox
|#default = {{Mbox
   | color = #f98e2d
   | color = #f98e2d
   | sign = [[File:Spiffo_controlyourself.png|link=Template:Page version{{lcs}}]]
   | sign = [[File:Spiffo_controlyourself.png|link=Template:Page version{{lcs}}|class=notpageimage]]
   | title = This page was last updated for an older version ({{#if:{{{1|}}}|[[Build {{#explode:{{{1}}}|.}}|{{{1}}}]]|''Unknown version''}}).
   | title = This page was last updated for an older version ({{#if:{{{1|}}}|[[Build {{#explode:{{{1}}}|.}}|{{{1}}}]]|''Unknown version''}}).
   | content = The current stable version is {{ll|Build {{#explode:{{Current version|stable}}|.}}|{{Current version|stable}}}}, released {{Current version|date=stable}}, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</span>]
   | content = The current stable version is {{ll|Build {{#explode:{{Current version|stable}}|.}}|{{Current version|stable}}}}, released {{Current version|date=stable}}, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</span>]

Latest revision as of 14:07, 24 April 2024

Notebook.pngTemplate Documentation

This mbox is used to indicate that a page is updated to a specific version of the game.

Usage

Parameters

1 Required
Game version the page was updated in, default to Unknown version.
hidecat
If set to true, will not add the page to any version category.
2
Can be set to outdated if the page is severely outdated, adding it to the outdated articles category.

Example

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]


Profession engineer.png
This page has been updated to an unstable beta version (42.1).
There may be additional features that are not in the stable version (41.78.16), released 2022-12-12.
This version is part of a public beta that must be opted into.


Spiffo controlyourself.png
This page was last updated for an older version (41.50).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.

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.

See also

Editors can experiment in this template's sandbox.