Template:Obsolete

From PZwiki
Notebook.pngTemplate Documentation

Added to articles that are about features that are no longer part of the game.

Adds articles to the "Obsolete items" category.

Usage

Parameters

1
Version page name the item/feature was removed/replaced.
2
Page name of the replacement item/feature.
text
Custom text to display instead of the default text.
item
Set to true if the feature is an item marked as "Obsolete", i.e., removed. Changes the category from Category:Removed features to Category:Obsolete items.
hidecat
If not empty, the page will not be added to the category.

Examples

BoxSmall.png
This item has been removed from the game.
It has been replaced by Apple.
BoxSmall.png
This feature has been removed from the game in build 41.
It has been replaced by something else.
  • {{Obsolete|text=It will be replaced by something better.}}
BoxSmall.png
This feature has been removed from the game.
It will be replaced by something better.

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|}}}
| title = This item/feature has been removed from the game{{#if:{{{2|}}}|&nbsp;in {{ll|{{{2}}}}}}}.
| content = It has been replaced by {{#if:{{{2|}}}|{{ll|{{{2}}}}}|something else}}.
| #default = {{Error|translation}}
}}

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.