Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Outdated/doc: Difference between revisions

Template page
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 ===


{{User:Ihaveahax/Template:Outdated|nocat=1|notes=New configuration setting <code>fooLevel</code> needs documentation.|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
{{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

{{outdated|notes=New configuration setting <code>fooLevel</code> needs documentation.|{{subst:DATE}}}}

TemplateData

Displays a warning that this page is outdated, and categorizes it.

Template parameters

ParameterDescriptionTypeStatus
Notesnotes

Information about what needs updating

Example
Needs updates for version X.Y.Z
Contentrequired
Datedate

When the warning was added

Auto value
{{subst:DATE}}
Contentrequired