Template:Translation verification: Difference between revisions
Jump to navigation
Jump to search
(Checks if a translation is still up to date) |
(fullpagename) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{{revisionID}}} | {{REVISIONID: {{{pagename|{{ | <includeonly>{{#ifeq: {{{revisionID}}} | {{REVISIONID: {{{pagename|{{FULLPAGENAME}} }}} }} | ||
| {{#ifeq: {{{category|}}} | false || {{Category|Verified translations}} }} | | {{#ifeq: {{{category|}}} | false || {{Category|Verified translations}} }} | ||
| {{Boilerplate | | {{Boilerplate | ||
| icon = No-building-material-icon.png | | icon = No-building-material-icon.png | ||
| line-1 = This article could be outdated. The corresponding [[{{{pagename|{{ | | line-1 = This article could be outdated. The corresponding [[{{{pagename|{{FULLPAGENAME}} }}}|English article]] has been edited since this translation was verified. | ||
| line-2 = {{#if: {{{revisionID}}} | | line-2 = {{#if: {{{revisionID}}} | ||
| Check the [[Special:Diff/{{{revisionID}}}/{{REVISIONID: {{{pagename|{{ | | Check the [[Special:Diff/{{{revisionID}}}/{{REVISIONID: {{{pagename|{{FULLPAGENAME}} }}} }}|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. | ||
| Update this translation to the latest revision of the [[{{{pagename|{{ | | Update this translation to the latest revision of the [[{{{pagename|{{FULLPAGENAME}} }}}|English article]] and add its revision-ID to this template. | ||
}} | }} | ||
| category = {{#ifeq: {{{category|}}} | false || Outdated translations }} | | category = {{#ifeq: {{{category|}}} | false || Outdated translations }} |
Revision as of 22:38, 24 September 2023
[Create]
DocumentationUsage
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:
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:
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