Template:Update/doc: Difference between revisions
meta>Funandtrvl updte |
meta>SamB →Example: Demo one of the examples from the Usage section ... which turns out not to work. |
||
Line 32: | Line 32: | ||
| {{Update|type=template|demospace=template|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | | {{Update|type=template|demospace=template|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
|} | |} | ||
{{Tlx|Update|section}} comes out as: | |||
{{Update|section}} | |||
{{Warning|This does not seem to work right now —[[User:SamB|SamB]] ([[User talk:SamB|talk]]) 05:39, 19 February 2014 (UTC)}} | |||
This template will add articles to [[:Category:Wikipedia articles in need of updating]]. | This template will add articles to [[:Category:Wikipedia articles in need of updating]]. |
Revision as of 05:39, 19 February 2014
This is a documentation subpage for Template:Update. It may contain usage information, categories and other content that is not part of the original template page. |
If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as the standard installation of Twinkle adds and removes this template. Thank you! |
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=November 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||25 October 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}}
File:Ambox current red Asia Australia.svg | Parts of this template (those related to documentation) need to be updated. Please update this template to reflect recent events or newly available information. |
The template detects which namespace it is used in and changes accordingly:
Article |
| ||
---|---|---|---|
Category |
| ||
Template |
|
{{Update|section}}
comes out as:
File:Ambox current red Asia Australia.svg | Parts of this template (those related to section) need to be updated. Please update this template to reflect recent events or newly available information. |
This does not seem to work right now —SamB (talk) 05:39, 19 February 2014 (UTC) |
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. |
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}}