m (Ihaveahax moved page User:Ihaveahax/Template:Outdated/doc to Template:Outdated/doc without leaving a redirect) |
(TemplateData) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
=== Example === | === Example === | ||
{{ | {{outdated|nocat=1|notes=New configuration setting <code>fooLevel</code> needs documentation.|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
<pre> | <pre> | ||
{{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 |