Template:Update after

From Dodge Wiki
Jump to navigation Jump to search

Expression error: Unrecognized punctuation character "[".

[edit] Template-info.svg Template documentation

Example

[update needed]

Usage

There are six optional parameters for this template:

  • Parameters 1, 2, and 3 are the Year, Month, and Day that the template should activate. They may be omitted for immediate tagging.
  • Parameter 4 is a custom Category, such as a WikiProject's article maintenance category. The first 3 parameters must be defined to use this
    • Examples: Category:Articles_lacking_sources or Category:Wikipedia_articles_needing_style_editing.
  • Named parameter COMMENT is used to leave a note for future editors about what exactly needs to be changed or where to find the new information. it has no effect on the template itself.
  • Named parameter BANNER is deprecated and will be removed eventually. It uses a banner template ({{Update}} instead of an inline template.

Please read Wikipedia:Avoid statements that will date quickly; use {{update after}} only in exceptional cases. Do not use this template on pages which simply need to be reviewed later to see if they might need updating; it should only be used when there is a certainty or very high probability that an update is needed. Do not use this template on talk pages; it is intended for inline usage, like {{fact}}. It is probably not necessary to use this template on frequently edited articles such as for current events, as they will be being updated on a regular basis. Do not use this template within section heading (i.e., between the opening and closing == or == of a section heading), as it will break the heading.

Examples

  • {{Update after}}
    • this immediately places an inline tag marking a passage as dated.
  • {{Update after|Year|Month|Day}}
    • e.g. {{Update after|2024|5|14}} - this would cause the tag to appear exactly one year from today.
  • {{Update after|Year|Month|Day|United States articles in need of updating}}
    • As above, except this will add this page to Category:United States articles in need of updating.

the following forms can be used with or without the previous unnamed parameters. in general, it is easier to read if named parameters come after unnamed parameters, but it makes no difference to the template.

  • {{Update after|COMMENT=please check these facts}} or {{Update after|2001|12|1|COMMENT=please check these facts}}
    • this simply leaves the phrase 'please check these facts' as part of the template body, for future editors to read.

no example is given for BANNER, since that usage is only preserved for compatibility.

Effects

When the template is activated in an article, the phrase "dated info" appears in the text of the article at the indicated spot, and the article is linked to the page [[As of yyyy]] (where "yyyy" is the year given above). The page will also appear at Category:Wikipedia articles in need of updating and any category specified in the 4th parameter.

See Category:Wikipedia articles in need of updating for a list of pages currently needing updates, and Wikipedia:As of for a list of 'As of' pages.

Related templates

  • {{Update}} can be used to mark an entire article or section needing to be updated. Like {{update after}}, this template adds the article to Category:Wikipedia articles in need of updating.
  • {{Out of date}} is used to mark an article whose factual accuracy may be compromised (although this may be disputed) due to out of date information. This template adds the article to Category:Articles with obsolete information.

cs:Šablona:Aktualizovat po it:Template:Da aggiornare sv:Mall:Bäst före