Template:Update/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
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 -->
{{Twinkle standard installation}}
===Usage===
{{lua |Module:Unsubst}}
 
==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}}}}
: {{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>}}
: {{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}}}}
: {{tlx|Update|{{!}}{{#time:j F Y|-1 month}}}}
To mark a section, use:
To mark a section, use:
: {{Tlx|Update|section}}
: {{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}}
: {{tlx|Update|2=inaccurate=yes}}


==Example==
===Example===
{{Tlx|Update|documentation}}
{{tlx|Update|documentation}}
{{Update|documentation}}
{{Update|documentation}}


Line 34: Line 33:
|}
|}


{{Tlx|Update|section}} comes out as:
{{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}}
{{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]].
* {{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:Template_messages/Cleanup#Time-sensitive]] for alternatives unrelated to out-of-date information.
* See [[Wikipedia:Template messages/Cleanup#Time-sensitive]] for alternatives unrelated to out-of-date information.


==See also==
===See also===
* {{Tl|As of}}
* {{tl|As of}}
* {{Tl|Current}}
* {{tl|Current}}
* {{Tl|Recentism}}
* {{tl|Recentism}}
* {{Tl|Show by date}}
* {{tl|Show by date}}
* {{Tl|Time-context}}
* {{tl|Time-context}}
* {{Tl|Update inline}} - inline version
* {{tl|Update inline}}
* {{Tl|Updated}}
* {{tl|Updated}}
* {{Tl|When}}
* {{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

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

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

Alternatives

See also