Template:Update/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Srimal1986
No edit summary
meta>Numbermaniac
m (Reverted edits by Srimal1986 (talk) to last version by 71.41.210.146)
Line 1: Line 1:
it mess compliment in navy
{{Documentation subpage}}
{{Twinkle standard installation}}
{{Lua|Module:Unsubst}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
===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:
: {{tlx|Update|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
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:
: {{tlx|Update|{{!}}{{#time:j F Y|-1 month}}}}
To mark a section, use:
: {{tlx|Update|section|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
To explain that the article now has inaccuracies, use {{para|inaccurate|yes}}:
: {{tlx|Update|2=inaccurate=yes}}
To link to a particular section of the talk page where the update is being discussed, use {{para|talk|Section}} (or {{para|talksection|Section}}):
: {{tlx|Update|2=talk=Section}}


LETTER OF APPRECIATION
===Example===
{{tlx|Update|documentation|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
{{Update|documentation}}


The template detects which [[Wikipedia:Namespace|namespace]] it is used in and changes accordingly:
{| class="wikitable"
! Article
| {{Update|type=article|demospace=main|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|-
! Category
| {{Update|type=category|demospace=category|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|-
! Template
| {{Update|type=template|demospace=template|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|}


1. It has been brought to my notice that whilst holding the appointment of Staff Officer …………………………..at Naval Headquarters, you have played a major role in construction activities of Floating Market Shopping Complex at Pettah, under the guidance of Ministry of Defence and Urban Development. Similarly, you have executed the assigned duties admirably and extended your fullest support and cooperation to complete numerous projects successfully.
{{tlx|Update|section}} produces:
{| class="wikitable"
! Article
| {{Update|section|type=article|demospace=main|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|-
! Category
| {{Update|section|type=category|demospace=category|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|-
! Template
| {{Update|section|type=template|demospace=template|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|}


This template will add articles to [[:Category:Wikipedia articles in need of updating]].


suresh srimal 1986519
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}}
 
===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:Template messages/Cleanup#Time-sensitive]] for alternatives unrelated to out-of-date information.
 
===See also===
* {{tl|As of}}
* {{tl|Current}}
* {{tl|Recentism}}
* {{tl|Show by date}}
* {{tl|Time-context}}
* {{tl|Update inline}}
* {{tl|Updated}}
* {{tl|When}}
* {{tl|Incomplete}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Cleanup templates]]
[[Category:Dispute templates]]
[[Category:Temporal templates]]
[[Category:Time and date maintenance templates]]
[[Category:Templates needing talk links and other improvements]]
}}</includeonly>

Revision as of 07:55, 27 January 2016

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||14 May 2024}}

To mark a section, use:

{{Update|section|date=June 2024}}

To explain that the article now has inaccuracies, use |inaccurate=yes:

{{Update|inaccurate=yes}}

To link to a particular section of the talk page where the update is being discussed, use |talk=Section (or |talksection=Section):

{{Update|talk=Section}}

Example

{{Update|documentation|date=June 2024}}

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