Template:Update/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Primefac
(→‎Usage: add "type" mention)
meta>Pppery
(Undid revision 745525005 by Primefac (talk) Does not work in mainspace (see my reply to edit request)
Line 19: Line 19:
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}}
To change "article/category/template" to something different (e.g. "section") use {{para|type}}.
: {{tlx|Update|2=type=section}}


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

Revision as of 17:28, 29 October 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||1 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