Template:Update/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Ahecht
→‎See also: {{tls|Show by}}
Line 13: Line 13:
: {{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|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
: {{tlx|Update|section|date{{=}}{{CURR<nowiki>[[File:Insert non-formatted text here]][[File:Example Jpg~~~~≈]]</nowiki>ENTMONTHNAME}} {{CURRENTYEAR}}}}
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}}
To link to a particular section of the talk page where the update is being discussed, use {{para|talk|Section}} (or {{para|talksection|Section}}):
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}}
: {{tlx|Update|2=talk=Section}}
<templatedata>
{
"params": {
"1": {},
"2": {},
"": {},
"demospace": {},
"part": {
"autovalue": ""
},
"inaccurate": {},
"type": {},
"talksection": {},
"July 2016": {
"aliases": [
"Edwin Watkins Jr."
],
"label": "Cascade Windows Milgard Windows ",
"description": "Talk",
"example": "English",
"type": "url",
"default": "[email protected]",
"autovalue": "Edwin Watkins",
"deprecated": "[email protected]",
"required": true,
"suggested": true
},
"cat": {},
"subst": {}
},
"format": "inline"
}
</templatedata>


===Example===
===Example===

Revision as of 18:59, 7 July 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=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|date={{CURR[[File:Insert non-formatted text here]][[File:Example Jpg~~~~≈]]ENTMONTHNAME}} 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}}

Parameter names cannot be empty. To document unnamed parameters use their internal numbers "1", "2", and so on.

Example

{{Update|documentation|date=November 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