Template:Update: Difference between revisions
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 = [[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 = [[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
![]() | This template is outdated. Please update this template to reflect recent events or newly available information. |
![]() | If you plan to make major changes to this template, move it, or nominate it for deletion, please notify Twinkle's users/maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used by the standard installation of Twinkle. Thank you! |
![]() | Uses Lua: |
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}}
![]() | Parts of this template (those related to documentation) are outdated. Please update this template to reflect recent events or newly available information. |
The template detects which namespace it is used in and changes accordingly:
{{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}}
This article's factual accuracy may be compromised due to out-of-date information. (June 2024) |
Alternatives
- {{Update after}} 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
- {{As of}}
- {{Current}}
- {{Recentism}}
- {{Show by date}}
- {{Time-context}}
- {{Update inline}} - inline version
- {{Updated}}
- {{When}}
The above documentation is transcluded from Template:Update/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |