Template:Update/doc: Difference between revisions
Undid revision 607823881 by 79.180.38.91 (talk) It wasn't self |
meta>Sardanaphalus heading level, sandbox non-categorization |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{Twinkle standard installation}} | |||
{{Lua|Module:Unsubst}} | |||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
===Usage=== | |||
==Usage== | |||
This template can be used to mark articles or sections with old or out-of-date information. | 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: | To add the date when the tag was added, use: | ||
: {{ | : {{tlx|Update|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
To specify what parts of the article need updating, use the first unnamed parameter: | To specify what parts of the article need updating, use the first unnamed parameter: | ||
: {{ | : {{tlx|Update|<nowiki>Foo [[bar]] qux</nowiki>}} | ||
To display the date of the last update, use the second unnamed parameter: | To display the date of the last update, use the second unnamed parameter: | ||
: {{ | : {{tlx|Update|{{!}}{{#time:j F Y|-1 month}}}} | ||
To mark a section, use: | To mark a section, use: | ||
: {{ | : {{tlx|Update|section}} | ||
To explain that the article now has inaccuracies, use {{para|inaccurate|yes}}: | To explain that the article now has inaccuracies, use {{para|inaccurate|yes}}: | ||
: {{ | : {{tlx|Update|2=inaccurate=yes}} | ||
==Example== | ===Example=== | ||
{{ | {{tlx|Update|documentation}} | ||
{{Update|documentation}} | {{Update|documentation}} | ||
Line 34: | Line 33: | ||
|} | |} | ||
{{ | {{tlx|Update|section}} produces: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Article | ! Article | ||
Line 50: | Line 49: | ||
For factual inaccuracies, stronger wording is used and articles will be added to [[:Category:Articles with obsolete information]]. | For factual inaccuracies, stronger wording is used and articles will be added to [[:Category:Articles with obsolete information]]. | ||
{{ | {{tlx|Update|2=inaccurate=yes}} | ||
{{Update|type=article|demospace=main|inaccurate=yes}} | {{Update|type=article|demospace=main|inaccurate=yes}} | ||
==Alternatives== | ===Alternatives=== | ||
* {{ | * {{tl|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: | * See [[Wikipedia:Template messages/Cleanup#Time-sensitive]] for alternatives unrelated to out-of-date information. | ||
==See also== | ===See also=== | ||
* {{ | * {{tl|As of}} | ||
* {{ | * {{tl|Current}} | ||
* {{ | * {{tl|Recentism}} | ||
* {{ | * {{tl|Show by date}} | ||
* {{ | * {{tl|Time-context}} | ||
* {{ | * {{tl|Update inline}} | ||
* {{ | * {{tl|Updated}} | ||
* {{ | * {{tl|When}} | ||
<includeonly> | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Cleanup templates]] | [[Category:Cleanup templates]] | ||
[[Category:Dispute templates]] | [[Category:Dispute templates]] | ||
Line 74: | Line 73: | ||
[[Category:Time and date maintenance templates]] | [[Category:Time and date maintenance templates]] | ||
[[Category:Templates needing talk links and other improvements]] | [[Category:Templates needing talk links and other improvements]] | ||
</includeonly> | }}</includeonly> |
Revision as of 08:55, 26 August 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! |
This template 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=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||24 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}}
Error creating thumbnail: convert-im6.q16: unrecognized color `linearGradient910' @ warning/color.c/GetColorCompliance/1057. convert-im6.q16: non-conforming drawing primitive definition `fill' @ error/draw.c/RenderMVGContent/4414. | 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}}
produces:
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. |
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}}
- {{Updated}}
- {{When}}