Template:Outdated/doc: Difference between revisions
(-) |
(clean up) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{Lua|Module:Unsubst}} | {{Lua|Module:Unsubst}} | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
== Usage == | |||
This template can be used to mark articles or sections with old or out-of-date information. | 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: | To add the date when the tag was added, use: | ||
: {{ | : {{Tc|Outdated|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
To specify what parts of the article need updating, use the first unnamed parameter: | To specify what parts of the article need updating, use the first unnamed parameter: | ||
: {{ | : {{Tc|Outdated|<nowiki>Foo [[bar]] qux</nowiki>}} | ||
To display the date of the last update, use the second unnamed parameter: | To display the date of the last update, use the second unnamed parameter: | ||
: {{ | : {{Tc|Outdated|{{!}}{{#time:j F Y|-1 month}}}} | ||
To mark a section, use: | To mark a section, use: | ||
: {{ | : {{Tc|Outdated|section|date{{=}}{{CURRENTMONTHNAME}} {{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}}: | ||
: {{ | : {{Tc|Outdated|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}}): | ||
: {{ | : {{Tc|Outdated|2=talk=Section}} | ||
== Example == | |||
{{ | {{Tc|Outdated|documentation|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
{{Outdated|documentation}} | {{Outdated|documentation}} | ||
Line 35: | Line 34: | ||
|} | |} | ||
{{ | {{Tc|Outdated|section}} produces: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Article | ! Article | ||
Line 51: | Line 50: | ||
For factual inaccuracies, stronger wording is used and articles will be added to [[:Category:Articles with obsolete information]]. | For factual inaccuracies, stronger wording is used and articles will be added to [[:Category:Articles with obsolete information]]. | ||
{{ | {{Tc|Outdated|2=inaccurate=yes}} | ||
{{Outdated|type=article|demospace=main|inaccurate=yes}} | {{Outdated|type=article|demospace=main|inaccurate=yes}} | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | ||
| <!-- ADD CATEGORIES BELOW THIS LINE | | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Cleanup templates]] | [[Category:Cleanup templates]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 21:14, 10 December 2015
This is a documentation subpage for Template:Outdated . |
![]() | Uses Lua: |
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:
{{Outdated|date=May 2025}}
To specify what parts of the article need updating, use the first unnamed parameter:
{{Outdated|Foo [[bar]] qux}}
To display the date of the last update, use the second unnamed parameter:
{{Outdated||9 April 2025}}
To mark a section, use:
{{Outdated|section|date=May 2025}}
To explain that the article now has inaccuracies, use |inaccurate=yes
:
{{Outdated|inaccurate=yes}}
To link to a particular section of the talk page where the update is being discussed, use |talk=Section
(or |talksection=Section
):
{{Outdated|talk=Section}}
Example
{{Outdated|documentation|date=May 2025}}
![]() | Parts of this Template (those related to documentation) are outdated. Please update this Template to reflect recent events or newly available information. |
The template detects which namespace it is used in and changes accordingly:
{{Outdated|section}}
produces:
Article |
| ||
---|---|---|---|
Category |
| ||
Template |
|
This template will add articles to Category:Articles in need of updating.
For factual inaccuracies, stronger wording is used and articles will be added to Category:Articles with obsolete information.
{{Outdated|inaccurate=yes}}
This article's factual accuracy may be compromised due to out-of-date information. |