Jump to content

Template:Outdated: Difference between revisions

From NixOS Wiki
m Remove template that will be removed
DoggoBit (talk | contribs)
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{Notice
{{Template}}
  |color=var(--color-notice)
 
  |background=var(--background-color-neutral-subtle)
== About ==
  |iconColor=var(--color-warning)
An "out of date" flag used to indicate outdated content.
  |icon=⏲&#xFE0E;
 
  |'''This {{{scope|article or section}}} is outdated{{#if: {{{date|}}}|&nbsp;as of {{{date}}}|}}.''' {{{reason|{{{1|}}}}}} Further information might be found in [{{fullurl:{{{talk|{{{2|{{TALKPAGENAME}}#{{{section|}}}}}}}}}}} the corresponding discussion]. Please remove this notice once the information has been updated.
== Usage ==
}}{{#ifeq:{{{category|yes}}}|yes|[[Category:Pages or sections flagged with Template:outdated]][[Category:Outdated articles]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
This template should be added at the beginning of articles or sections containing outdated information. Ensure to cite specific concerns with the first argument and possibly also on the flagged article's discussion page.
 
<nowiki>{{outdated|reason}}</nowiki>
 
You can override the default discussion page with a second optional argument:
 
<nowiki>{{outdated|reason|Talk:Alternative Page}}</nowiki>
Alternatively you can point to a specific section in the default talk page with the named {{ic|section}} parameter:
<nowiki>{{outdated|reason|section=Section name}}</nowiki>
 
Flagged pages can be found in [[Special:WhatLinksHere/Template:outdated]]. If knowledgeable in a subject, users are encouraged to participate to update the article. The {{ic|<nowiki>{{outdated}}</nowiki>}} flag should be removed after correction of dated information.
 
{{Note|The talk page is linked through an external link: this is to avoid polluting [[Special:WantedPages]] when the talk page does not exist.}}
 
== Example ==
 
<nowiki>{{outdated|This is just a demonstration template.}}</nowiki>
{{outdated|This is just a demonstration template.}}
 
</noinclude><includeonly>{{META Message
|border = #FDBC4B
|signal          = [[Image:Breeze-dialog-outdated.png|link=]]
|heading        = This article or section is out of date.
|message        = '''Reason:''' {{{reason|{{{1|Some parts of this article may be outdated.}}}}}} (Discuss in [{{fullurl:{{{talk|{{{2|{{TALKPAGENAME}}#{{{section|}}}}}}}}}}} {{{talk|{{{2|{{TALKPAGENAME}}}}}}}}])<br />Once the page has been updated this notice can be removed.}}[[Category:Pages or sections flagged with Template:outdated]]</includeonly>

Latest revision as of 21:09, 6 June 2025

Template Documentation [edit source| uses| help]

This template can be used to mark articles or sections containing information that is no longer applicable, relevant, or otherwise no longer correct. Editors are encouraged to regularly browse the list of outdated articles, and update the information therein.

⏲︎︎
This template is outdated as of Stardate 42761. Resistance is futile. Further information might be found in the corresponding discussion. Please remove this notice once the information has been updated.

Usage

It is simply sufficient to include this template with no other information inside an outdated section or article. The following example will produce a very simple notice:

{{Outdated}}
⏲︎︎
This article or section is outdated. Further information might be found in the corresponding discussion. Please remove this notice once the information has been updated.

However, you are encouraged to, at the very least, provide the current month and date in order to keep track of how outdated a piece of information is; the month and year should suffice:

{{Outdated|date=July 2029}}
⏲︎︎
This article or section is outdated as of July 2029. Further information might be found in the corresponding discussion. Please remove this notice once the information has been updated.

You are also encouraged to provide a reason for why a piece of information is outdated. For example, this section would be outdated because the syntax is not supported in the new version of MediaWiki:

{{Outdated|reason=The syntax is no longer supported in new versions of MediaWiki.}}
⏲︎︎
This article or section is outdated. The syntax is no longer supported in new versions of MediaWiki. Further information might be found in the corresponding discussion. Please remove this notice once the information has been updated.

Finally, it might be that only a specific section, or a specific element of an article, is outdated. You can specify the scope of the outdated information:

{{Outdated|scope=block of code}}
⏲︎︎
This block of code is outdated. Further information might be found in the corresponding discussion. Please remove this notice once the information has been updated.

Discussion link

Note: The talk page is linked through an external link: this is to avoid polluting Special:WantedPages when the talk page does not exist.

You can modify the notice's discussion link. For example, if you create a relevant section called No longer the case on a page's Talk page, you can link it so:

{{Outdated|talk=Talk:Example/No longer the case}}
⏲︎︎
This article or section is outdated. Further information might be found in the corresponding discussion. Please remove this notice once the information has been updated.