(workaround to hide translate tags) |
(use one category for potentially outdated pages instead of per-console) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
| subst = <includeonly>{{subst:substcheck}}</includeonly> | | subst = <includeonly>{{subst:substcheck}}</includeonly> | ||
| issue = {{System version outdated article/issuetext/{{#ifexist:Template:System version outdated article/issuetext/{{int:lang}}|{{int:lang}}|en}}|console={{{console|}}}|nocat=<noinclude>1</noinclude><includeonly>{{{nocat|}}}</includeonly>}} | | issue = {{System version outdated article/issuetext/{{#ifexist:Template:System version outdated article/issuetext/{{int:lang}}|{{int:lang}}|en}}|console={{{console|}}}|nocat=<noinclude>1</noinclude><includeonly>{{{nocat|}}}</includeonly>}} | ||
| text = {{System version outdated article/text/{{#ifexist:Template:System version outdated article/text/{{int:lang}}|{{int:lang}}|en}}|console={{{console}}}|sysversion={{{sysversion}}}|nocat=<noinclude>1</noinclude><includeonly>{{{nocat|}}}</includeonly>}} | | text = {{System version outdated article/text/{{#ifexist:Template:System version outdated article/text/{{int:lang}}|{{int:lang}}|en}}|console={{{console}}}|sysversion={{{sysversion}}}|nocat=<noinclude>1</noinclude><includeonly>{{{nocat|}}}</includeonly>}} {{#if: {{{reason|}}} | {{{reason}}} | }} | ||
}}<includeonly>{{#if: {{{nocat|}}} | <!-- categorization suppressed --> | }}<includeonly>{{#if: {{{nocat|}}} | <!-- categorization suppressed --> | [[Category:Pages that may need updating]] }}</includeonly>}}<includeonly>{{#if: {{{sysversion|}}} | | {{error|1=Error: <code>sysversion=</code> not provided for {{tl|System version outdated article}}. Please put in the full system version that this page is intended for.}}{{#if: {{{nocat|}}} | <!-- categorization suppressed --> | [[Category:Pages with incorrect template use]] }}}}{{#if: {{{console|}}} | | {{error|1=Error: <code>console=</code> not provided for {{tl|System version outdated article}}. Please put in the console tht this page is intended for. Possible values are <code>ctr</code>, <code>wup</code>, and <code>hac</code>.}}{{#if: {{{nocat|}}} | <!-- categorization suppressed --> | [[Category:Pages with incorrect template use]] }}}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 04:24, 12 July 2022
This article may be outdated due to a new system firmware release. It was written for system version {{{sysversion}}}, but Incorrect console type given to {{SystemVersion}}. Correct ones are ctr , wup , hac , and rvl . Given: {{{console}}} is the latest. |
This displays a message box when the system version the article is intended for doesn't match the latest system version. This is useful if a page's contents may be invalidated when Nintendo releases an update.
The latest system version is taken from {{SystemVersion}}. Note that due to caching, updating that template will not instantly categorize every outdated page.
Please check Project:Maintenance on what to do when a system update is released. |
This will categorize the page into Category:Pages that may need updating when the version doesn't match.
Translating
This template has two sub-templates containing the text:
Example: Outdated 3DS article
This article may be outdated due to a new Nintendo 3DS system firmware release. It was written for system version 11.14.0-46, but 11.17.0-50 is the latest. |
Example: Outdated Switch article
This article may be outdated due to a new Nintendo Switch system firmware release. It was written for system version 14.0.0, but 19.0.1 is the latest. |
TemplateData
Shows a warning if the system version provided doesn't match the latest version.
Parameter | Description | Type | Status | |
---|---|---|---|---|
System Version | sysversion | Version that this article was written for. The complete version string is required.
| String | required |
Console | console | Console that the article is for.
| Content | required |
Reason | reason | What parts of this article may need updating.
| String | suggested |