Template:Update: Difference between revisions

From Sarkarverse
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{ {{{|safesubst:}}}#invoke:Unsubst||$N=Update |date=__DATE__ |$B=
{{main other
{{main other
  | demospace = {{{demospace|}}}  
  | demospace = {{{demospace|}}}  
Line 6: Line 7:
   | type  = content
   | type  = content
   | class = ambox-Update
   | class = ambox-Update
   | image = [[Image:Gnome globe current event.svg|42px]]
   | image = [[File:Ambox current red.svg|42px]]
   | issue = {{#if:{{{part|{{{1|}}}}}}
   | issue = {{#if:{{{part|{{{1|}}}}}}
   |{{#ifeq:{{{part|{{{1|}}}}}}|section
   |{{#ifeq:{{{part|{{{1|}}}}}}|section
Line 33: Line 34:
   | type  = content
   | type  = content
   | class = ambox-Update
   | class = ambox-Update
   | image = [[Image:Gnome globe current event.svg|42px]]
   | image = [[File:Ambox current red.svg|42px]]
   | text  = {{#if:{{{part|{{{1|}}}}}}
   | text  = {{#if:{{{part|{{{1|}}}}}}
   |{{#if:{{{inaccurate|}}}
   |{{#if:{{{inaccurate|}}}
Line 47: Line 48:
   }}
   }}
  }}
  }}
}}
}}<noinclude>
}}<noinclude>



Latest revision as of 01:59, 24 March 2014

Documentation icon Template documentation[view] [edit] [history] [purge]

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=June 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||16 May 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}}

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

Article
Category
Template

{{Update|section}} comes out as:

Article
Category
Template

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}}

Alternatives

See also