(TemplateData) |
|||
Line 11: | Line 11: | ||
{{outdated|notes=New configuration setting <code>fooLevel</code> needs documentation.|{{subst:DATE}}}} | {{outdated|notes=New configuration setting <code>fooLevel</code> needs documentation.|{{subst:DATE}}}} | ||
</pre> | </pre> | ||
== TemplateData == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"notes": { | |||
"label": "Notes", | |||
"description": "Information about what needs updating", | |||
"example": "Needs updates for version X.Y.Z", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"date": { | |||
"label": "Date", | |||
"description": "When the warning was added", | |||
"type": "content", | |||
"autovalue": "{{subst:DATE}}", | |||
"required": true | |||
} | |||
}, | |||
"description": "Displays a warning that this page is outdated, and categorizes it.", | |||
"paramOrder": [ | |||
"notes", | |||
"date" | |||
] | |||
} | |||
</templatedata> |
Latest revision as of 22:01, 15 October 2023
This displays a message box with notes about how to bring an article back up to date.
Add the |notes=
parameter to tell future editors what to do.
This will categorize the page into Category:Outdated pages.
Example
This article is outdated. New configuration setting fooLevel needs documentation. (November 2024) |
{{outdated|notes=New configuration setting <code>fooLevel</code> needs documentation.|{{subst:DATE}}}}
TemplateData
Displays a warning that this page is outdated, and categorizes it.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Notes | notes | Information about what needs updating
| Content | required |
Date | date | When the warning was added
| Content | required |