Template:Update/doc

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search

{{#invoke:Message box|mbox}}

Usage

This template can be used to mark articles or sections with old or out-of-date information.

To add the date when the tag was added, use:

{{Update|date=May 2024}}

To specify what parts of the article need updating, use the first unnamed parameter:

{{Update|Foo [[bar]] qux}}

To display the date of the last update, use the second unnamed parameter:

{{Update||17 April 2024}}

To mark a section, use:

{{Update|section}}

To explain that the article now has inaccuracies, use |inaccurate=yes:

{{Update|inaccurate=yes}}

Example

{{Update|documentation}} {{ safesubst:#invoke:Unsubst||$N=Update |date=__DATE__ |$B= {{#invoke:Message box|mbox}} }}

The template detects which namespace it is used in and changes accordingly:

Article {{ safesubst:#invoke:Unsubst date=__DATE__ |$B=

{{#invoke:Message box|ambox}} }}

Category {{ safesubst:#invoke:Unsubst date=__DATE__ |$B=

{{#invoke:Message box|mbox}} }}

Template {{ safesubst:#invoke:Unsubst date=__DATE__ |$B=

{{#invoke:Message box|mbox}} }}

{{Update|section}} produces:

Article {{ safesubst:#invoke:Unsubst date=__DATE__ |$B=

{{#invoke:Message box|ambox}} }}

Category {{ safesubst:#invoke:Unsubst date=__DATE__ |$B=

{{#invoke:Message box|mbox}} }}

Template {{ safesubst:#invoke:Unsubst date=__DATE__ |$B=

{{#invoke:Message box|mbox}} }}

This template will add articles to Category:Wikipedia articles in need of updating.

For factual inaccuracies, stronger wording is used and articles will be added to Category:Articles with obsolete information.

{{Update|inaccurate=yes}} {{ safesubst:#invoke:Unsubst||$N=Update |date=__DATE__ |$B= {{#invoke:Message box|ambox}} }}

Alternatives

See also