(link to Category:Pages that may need updating) |
(→TemplateData: document "reason" parameter) |
||
Line 42: | Line 42: | ||
"hac" | "hac" | ||
] | ] | ||
}, | |||
"reason": { | |||
"label": "Reason", | |||
"description": "What parts of this article may need updating.", | |||
"example": "\"exploit X might not work on newer versions\"", | |||
"type": "string", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
"description": "Shows a warning if the system version provided doesn't match the latest version.", | "description": "Shows a warning if the system version provided doesn't match the latest version.", | ||
"format": "inline" | "format": "inline", | ||
"paramOrder": [ | |||
"sysversion", | |||
"console", | |||
"reason" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> |
Revision as of 09:44, 9 September 2022
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.
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 |