Template:Update/doc

From WikiCorporates
< Template:Update
Revision as of 02:23, 25 June 2017 by GrayanOne (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#invoke:Message box|mbox}} {{#invoke:Message box|ombox}} Template:mbox {{#invoke:Lua banner|main}}

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=

Template:main other }}

Category {{ safesubst:#invoke:Unsubst $B=

Template:main other }}

Template {{ safesubst:#invoke:Unsubst $B=

Template:main other }}

Template:tlx produces:

Article {{ safesubst:#invoke:Unsubst $B=

Template:main other }}

Category {{ safesubst:#invoke:Unsubst $B=

Template:main other }}

Template {{ safesubst:#invoke:Unsubst $B=

Template:main other }}

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

See also