Template:Update/doc: Difference between revisions
m →See also: Alphabetize per MOS:SEEALSO. |
imported>Yilku1 No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 6: | Line 6: | ||
==Usage== | ==Usage== | ||
This template can be used to mark articles or sections | This template can be used to mark articles or sections that have old or out-of-date information. Include the reason why an article needs updating, unless the reason is very obvious. | ||
* To specify what parts of the page need updating, use the first unnamed parameter (or name it {{para|part}} or number it {{para|1}}): {{tlc|{{BASEPAGENAME}}|part{{=}}the later-life and death material and the <nowiki>[[#Legacy|Legacy]]</nowiki> section|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | * To specify what parts of the page need updating, use the first unnamed parameter (or name it {{para|part}} or number it {{para|1}}): {{tlc|{{BASEPAGENAME}}|part{{=}}the later-life and death material and the <nowiki>[[#Legacy|Legacy]]</nowiki> section|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
* To use the template in one specific section, and change its wording to refer to the section instead of the page, use {{para||section}} and insert the template at the top of the section: {{tlc|{{BASEPAGENAME}}|section|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | * To use the template in one specific section, and change its wording to refer to the section instead of the page, use {{para||section}} and insert the template at the top of the section: {{tlc|{{BASEPAGENAME}}|section|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
| Line 16: | Line 15: | ||
* To explain that the article now has inaccuracies (not just missing information) due to being outdated, use {{para|inaccurate|yes}}: {{tlc|{{BASEPAGENAME}}|inaccurate{{=}}yes|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | * To explain that the article now has inaccuracies (not just missing information) due to being outdated, use {{para|inaccurate|yes}}: {{tlc|{{BASEPAGENAME}}|inaccurate{{=}}yes|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
* To link to a particular section of the talk page where the update is being discussed, use {{para|talk|{{var|Section title}}}} ({{para|talksection}} and {{para|discuss}} are equivalent to {{para|talk}}): {{tlc|{{BASEPAGENAME}}|talk{{=}}Shall we update this for {{CURRENTYEAR}}?|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | * To link to a particular section of the talk page where the update is being discussed, use {{para|talk|{{var|Section title}}}} ({{para|talksection}} and {{para|discuss}} are equivalent to {{para|talk}}): {{tlc|{{BASEPAGENAME}}|talk{{=}}Shall we update this for {{CURRENTYEAR}}?|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
* To display a reason | * To display a reason, use {{para|reason|{{var|a short comment here}}}}, e.g. {{tlc|{{BASEPAGENAME}}|reason{{=}}Is missing the {{CURRENTMONTHNAME}} {{CURRENTYEAR}} election results|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
* These parameters can be combined | * These parameters can be combined: {{tnull|{{BASEPAGENAME}}|part{{=}}The <nowiki>[[#Production|Production]]</nowiki> section and follow-on material|reason{{=}}the film is released, so this needs a "Critical reception" section, too|inaccurate{{=}}yes|talk{{=}}Post-release updating|updated{{=}}{{#time:F Y|-3 month}}|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
==Example== | ==Example== | ||
| Line 62: | Line 61: | ||
"date": { | "date": { | ||
"label": "Month and year", | "label": "Month and year", | ||
"description": "Provides the month and year of the | "description": "Provides the month and year of the update request; e.g., 'January 2018', but not 'jan18'", | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
| Line 149: | Line 148: | ||
==See also== | ==See also== | ||
* {{tl|Update section}} | |||
* {{tl|As of}} | * {{tl|As of}} | ||
* {{tl|Current}} | * {{tl|Current}} | ||
Latest revision as of 05:34, 29 October 2022
Lua error: Internal error: The interpreter exited with status 1. Lua error: Internal error: The interpreter exited with status 1. Lua error: Internal error: The interpreter exited with status 1. Lua error: Internal error: The interpreter exited with status 1.
Usage
This template can be used to mark articles or sections that have old or out-of-date information. Include the reason why an article needs updating, unless the reason is very obvious.
- To specify what parts of the page need updating, use the first unnamed parameter (or name it
|part=or number it|1=):{{Update|part=the later-life and death material and the [[#Legacy|Legacy]] section|date=June 2026}} - To use the template in one specific section, and change its wording to refer to the section instead of the page, use
|sectionand insert the template at the top of the section:{{Update|section|date=June 2026}} - To display the date (in whatever format) of the last significant update to the page, use the second unnamed parameter (or name it
|updated=or number it|2=):{{Update|updated=23 May 2026|date=June 2026}}- Note: The parameter name or number must be used if the first numbered/unnamed parameter is not used.
- To add the date when the tag was added (this is used for cleanup categorization), use:
{{Update|date=June 2026}}- You can also do:
{{Update|Lua error: Internal error: The interpreter exited with status 1.}}
- You can also do:
- To explain that the article now has inaccuracies (not just missing information) due to being outdated, use
|inaccurate=yes:{{Update|inaccurate=yes|date=June 2026}} - To link to a particular section of the talk page where the update is being discussed, use
|talk=Section title(|talksection=and|discuss=are equivalent to|talk=):{{Update|talk=Shall we update this for 2026?|date=June 2026}} - To display a reason, use
|reason=a short comment here, e.g.{{Update|reason=Is missing the June 2026 election results|date=June 2026}} - These parameters can be combined: Lua error: Internal error: The interpreter exited with status 1.
Example
{{Update|documentation|date=June 2026}}
Lua error: Internal error: The interpreter exited with status 1.
The template detects which namespace it is used in and changes accordingly:
| Article | Lua error: Internal error: The interpreter exited with status 1. |
|---|---|
| Category | Lua error: Internal error: The interpreter exited with status 1. |
| Template | Lua error: Internal error: The interpreter exited with status 1. |
{{Update|section}} produces:
| Article | Lua error: Internal error: The interpreter exited with status 1. |
|---|---|
| Category | Lua error: Internal error: The interpreter exited with status 1. |
| Template | Lua error: Internal error: The interpreter exited with status 1. |
This template will add mainspace articles to Category:Wikipedia articles in need of updating (this category is not populated by pages in other namespaces).
For factual inaccuracies, stronger wording is used and mainspace articles will be added to Category:Articles with obsolete information.
{{Update|inaccurate=yes}}
Lua error: Internal error: The interpreter exited with status 1.
TemplateData
TemplateData for Update
Lua error: Internal error: The interpreter exited with status 1.
Use this tag to alert readers that the article is out of date and may need updating.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Type (section) | part 1 | Part that needs updating (e.g. to replace the word "article", often "section")
| String | suggested |
| Month and year | date | Provides the month and year of the update request; e.g., 'January 2018', but not 'jan18'
| String | suggested |
| Last updated | updated 2 | Date of last significant update | Date | optional |
| Inaccurate? | inaccurate | Use 'yes' if the article has inaccuracies due to being out of date.
| Boolean | optional |
| Talk page section | talksection discuss talk | Section name on talk page where the discussion takes place | String | optional |
| Reason | reason | Explanation why the article is out of date | Content | suggested |
| Demospace | demospace | String | optional | |
| Cat | cat | Only required if a specific maintenance category is needed. | String | optional |
| Type | type | Type of page, overriding [[:mw:Help:Magic_words#Namespaces|SUBJECTSPACE]]
| String | optional |
Alternatives
- {{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
- {{Update section}}
- {{As of}}
- {{Current}}
- {{Missing information}}
- {{Recentism}}
- {{Show by date}}/Lua error: Internal error: The interpreter exited with status 1.
- {{Time-context}}
- {{Update inline}}
- {{Updated}}
- {{When}}