Template:Update/doc
{{#invoke:Message box|mbox}} {{#invoke:Message box|ombox}} Template:mbox {{#invoke:Lua banner|main}}
Contents
Usage
This template can be used to mark articles or sections with old or out-of-date information.
- To specify what parts of the page need updating, use the first unnamed parameter (or name it Template:para or number it Template:para)Template:colon
- Template:tnull
- To use the template in one specific section, and change its wording to refer to the section instead of the page, use Template:para (this is a special case of Template:para a.k.a. Template:para, above). Insert the template at the top of the pageTemplate:colon
- Template:tnull
- To display the date (in whatever format) of the last significant update to the page, use the second unnamed parameter (or name it Template:para or number it Template:para)Template:colon
- Template:tnull
- Note: The parameter name or number must be used if the first numbered/unnamed parameter is not used.
- To add the date when the tag was added (this is used for cleanup categorization), useTemplate:colon
- Template:tnull
- You can also do:
{{Update|{{subst:DATE}}}} - To explain that the article now has inaccuracies (not just missing information) due to being outdated, use Template:paraTemplate:colon
- Template:tnull
- To link to a particular section of the talk page where the update is being discussed, use Template:para (Template:para and Template:para are equivalent to Template:para)Template:colon
- Template:tnull
- To display a reason (after the added phrase "In particularTemplate:colon"), use Template:para, e.g.Template:colon
- Template:tnull
- These parameters can be combined, of courseTemplate:colon
- Template:tnull
Example
Template:tlx {{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= Template:main other }}
The template detects which namespace it is used in and changes accordingly:
| Article | {{ safesubst:#invoke:Unsubst | $B= |
|---|---|---|
| Category | {{ safesubst:#invoke:Unsubst | $B= |
| Template | {{ safesubst:#invoke:Unsubst | $B= |
Template:tlx produces:
| Article | {{ safesubst:#invoke:Unsubst | $B= |
|---|---|---|
| Category | {{ safesubst:#invoke:Unsubst | $B= |
| Template | {{ safesubst:#invoke:Unsubst | $B= |
This template will add mainspace articles to Category:Wikipedia articles in need of updating (this category is not populated by pages in other namespaces).
For factual inaccuracies, stronger wording is used and mainspace articles will be added to Category:Articles with obsolete information.
Template:tlx {{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= Template:main other }}
Alternatives
- Template:tl is an alternative for individual statements that will be out-of-date at a specifiable future date. It is a more recent and preferred alternative to Wikipedia:As of. It also adds articles to Category:Wikipedia articles in need of updating.
- See Wikipedia:Template messages/Cleanup#Time-sensitive for alternatives unrelated to out-of-date information.
See also
- Template:tl
- Template:tl
- Template:tl
- Template:tl/Template:tls
- Template:tl
- Template:tl
- Template:tl
- Template:tl
- Template:tl