Template:Obsolete: Difference between revisions

From Alpine Linux
(Use subst:)
m (Protected "Template:Obsolete": Template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Template}}
<noinclude>{{Template}}
== Template Documentation ==
This template is for obsolete pages or out-of-date content.
This template should be used for obsolete pages. It helps us keep track of what documents need to be updated or deleted.


=== Example ===
=== Usage ===
<nowiki>{{Obsolete}}</nowiki>
This template should be added at the beginning of pages or sections containing obsolete information.  It helps us keep track of what documents need to be updated or deleted. You can cite specific concerns in the first argument and/or in the article's discussion page.


Will produce:
<pre>{{Obsolete|Reason.}}</pre>
{{Deref|1={{Obsolete}}}}


<nowiki>{{Obsolete|Alternate message.}}</nowiki>
You can override the default discussion page with a second argument:


Will produce:
<pre>{{Obsolete|Reason.|Talk:Alternative Page}}</pre>
{{{{{subst|}}}Obsolete|Alternate message.}}


<hr>


</noinclude><includeonly><center>
Flagged pages can be found in [[Special:WhatLinksHere/Template:Obsolete]]. If knowledgeable in a subject, users are encouraged to participate to update the article. The <nowiki>{{Obsolete}}</nowiki> flag should be removed after information is updated or corrected.
{|style="width: 36em; padding:2px; margin:0; margin-bottom:10px; background-color:#f1f1de; border:1px solid #cc9; -moz-border-radius-bottomright: 0.5em; -moz-border-radius-bottomleft: 1em; border-radius-bottomright: 0.5em; border-radius-bottomleft: 1em; -webkit-border-bottom-right-radius: 0.5em; -webkit-border-bottom-left-radius: 1em;"
|<div style="font-size: 1.5em; font-weight:bold; text-align:center;"> [[Image:Out_of_date_clock_icon.svg‎|54px|left|link=]] This page is obsolete ... </div><p style="text-align: center; font-size: 87%;">This page is outdated and is considered obsolete. {{{1|Please feel free to help us make an up to date version.}}}</p>
|}</center></includeonly>


=== Examples ===


<pre>{{Obsolete}}</pre>


will produce:
<center>
{|style="width: 48em; padding:2px; margin:0; margin-bottom:10px; background-color:#f1f1de; border:1px solid #cc9; -moz-border-radius-bottomright: 0.5em; -moz-border-radius-bottomleft: 1em; border-radius-bottomright: 0.5em; border-radius-bottomleft: 1em; -webkit-border-bottom-right-radius: 0.5em; -webkit-border-bottom-left-radius: 1em;"
|<div style="font-size: 1.5em; font-weight:bold; text-align:center;"> [[Image:Out_of_date_clock_icon.svg‎|54px|left|link=]] This material is obsolete ... </div><p style="text-align: center; font-size: 87%;">Please feel free to help us make an up-to-date version.
([[{{TALKPAGENAME}}|Discuss]])</p>
|}</center>


<pre>{{Obsolete|Alternate message.}}</pre>


will produce:
<center>
{|style="width: 48em; padding:2px; margin:0; margin-bottom:10px; background-color:#f1f1de; border:1px solid #cc9; -moz-border-radius-bottomright: 0.5em; -moz-border-radius-bottomleft: 1em; border-radius-bottomright: 0.5em; border-radius-bottomleft: 1em; -webkit-border-bottom-right-radius: 0.5em; -webkit-border-bottom-left-radius: 1em;"
|<div style="font-size: 1.5em; font-weight:bold; text-align:center;"> [[Image:Out_of_date_clock_icon.svg‎|54px|left|link=]] This material is obsolete ... </div><p style="text-align: center; font-size: 87%;">Alternate message.
([[{{TALKPAGENAME}}|Discuss]])</p>
|}</center>




<hr>


 
</noinclude><includeonly><center>
 
{|style="width: 48em; padding:2px; margin:0; margin-bottom:10px; background-color:#f1f1de; border:1px solid #cc9; -moz-border-radius-bottomright: 0.5em; -moz-border-radius-bottomleft: 1em; border-radius-bottomright: 0.5em; border-radius-bottomleft: 1em; -webkit-border-bottom-right-radius: 0.5em; -webkit-border-bottom-left-radius: 1em;"
<noinclude>{{i18n|Template:Out of date}}
|<div style="font-size: 1.5em; font-weight:bold; text-align:center;"> [[Image:Out_of_date_clock_icon.svg‎|54px|left|link=]] This material is obsolete ... </div><p style="text-align: center; font-size: 87%;">{{{1|Please feel free to help us make an up-to-date version.}}}
{{Template}}
([[{{{2|{{TALKPAGENAME}}}}}|Discuss]])</p>
 
|}</center></includeonly>
'''An "out of date" flag used to indicate outdated content.'''
 
====Usage====
 
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>{{Out of date|reason}}</nowiki>
 
You can override the default discussion page with a second optional argument:
 
<nowiki>{{Out of date|reason|Talk:Alternative Page}}</nowiki>
You can point to a specific section in the default talk page with the named {{ic|section}} parameter:
<nowiki>{{Out of date|reason|section}}</nowiki>
 
Flagged pages can be found in [[Special:WhatLinksHere/Template:Out of date]]. If knowledgeable in a subject, users are encouraged to participate to update the article. The {{ic|<nowiki>{{Out of date}}</nowiki>}} flag should be removed after correction of dated information.
 
====Example==== <!-- unlike most other template examples, this one is not called directly so as not to categorize the page as poorly translated; please update the example if updating the code -->
 
<nowiki>{{Out of date|This is just a demonstration template.}}</nowiki>
 
{{Message_box
|id              = out of date
|signal          = [[Image:Tango-dialog-warning.png]]
|heading        = This article or section is out of date.
|message        = '''Reason:''' This is just a demonstration template. ([[{{TALKPAGENAME}}|Discuss]])}}</noinclude><includeonly>{{Message_box
|id              = out of date
|signal          = [[Image:Tango-dialog-warning.png]]
|heading        = This article or section is out of date.
|message        = '''Reason:''' {{{reason|{{{1|{{Unexplained Status Template}}}}}}}} ([[{{{talk|{{{2|{{TALKPAGENAME}}#{{{section|}}}}}}}}}|Discuss]])}}</includeonly>

Latest revision as of 08:23, 30 May 2017

Template Documentation for Obsolete

This page is a template and should only be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

This template is for obsolete pages or out-of-date content.

Usage

This template should be added at the beginning of pages or sections containing obsolete information. It helps us keep track of what documents need to be updated or deleted. You can cite specific concerns in the first argument and/or in the article's discussion page.

{{Obsolete|Reason.}}

You can override the default discussion page with a second argument:

{{Obsolete|Reason.|Talk:Alternative Page}}


Flagged pages can be found in Special:WhatLinksHere/Template:Obsolete. If knowledgeable in a subject, users are encouraged to participate to update the article. The {{Obsolete}} flag should be removed after information is updated or corrected.

Examples

{{Obsolete}}

will produce:

This material is obsolete ...

Please feel free to help us make an up-to-date version. (Discuss)

{{Obsolete|Alternate message.}}

will produce:

This material is obsolete ...

Alternate message. (Discuss)