Template:Revision

From PZwiki
Imbox content.png
This template is deprecated.
This template will eventually be removed.
Notebook.pngTemplate Documentation

This mbox is used to check if a translation page is outdated by comparing the revision date of the English page and the translation page.

Usage

Add {{Revision}} to the top of non-English pages. Do not add this template to English pages.

Will add the page to corresponding language category. If the page's revision day is older than the English page's revision day, it will also add the page to "Outdated articles" category.

Parameters

hidecat
If set to true, will not add the page to any category.

Example

Imbox content.png
This page is translated from Template:Revision.
This page is up to date.
The English page's latest revision is 11/03/2024 edited by CalvyBot.

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 page is translated from {{{2}}}.
| content1 = This page is up to date.
| content2 = This page has not been updated for about {{{2}}} day(s).
| note = The English page's latest revision is {{{2}}} edited by {{{3}}}.
| #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.