Template:Translation verification

From Official Factorio Wiki
Revision as of 22:27, 24 September 2023 by Ickputzdirwech (talk | contribs) (Checks if a translation is still up to date)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


[Create]

Documentation

Usage

This template is meant to be placed on all translated pages to provide an automated way to check whether a translation is still up to date. If the revision-ID provided to the template is the most recent edit of the corresponds English page, the page is added to a category like Category:Verified translations/de. If it doesn't it is instead added to Category:Outdated translations/de and a notice-box is displayed.

On any translated page this template can simply be used like this:

{{Translation verification|revisionID=}}

However if necessary (like for the examples below), the pagename can be specified and the categories can be suppressed.

Examples

Normal use

Outdated revision-ID

{{Translation verification|revisionID=172422|pagename=Iron plate|category=false}}

Produces:

No-building-material-icon.png
This article could be outdated. The corresponding English article has been edited since this translation was verified.
Check the changes made to the English page since the last verified translation and update this page accordingly. Don't forget to update the revision-ID in this template.

No or invalid revision-ID

{{Translation verification|revisionID=|pagename=Iron plate|category=false}}

Produces:

No-building-material-icon.png
This article could be outdated. The corresponding English article has been edited since this translation was verified.
Update this translation to the latest revision of the English article and add its revision-ID to this template.

Current revision-ID

{{Translation verification|revisionID={{REVISIONID: Iron plate }}|pagename=Iron plate|category=false}}
Would just add the page to the corresponding verification category, for example Category:Verified translations/de.
List of all templates