Template:Obsolete: Difference between revisions

From Alpine Linux
(Use subst:)
(Use subst:)
Line 7: Line 7:


Will produce:
Will produce:
<center>
{{{{{subst|}}}Obsolete}}
{|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. Please feel free to help us make an up to date version.</p>
|}</center>


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


Will produce:  
Will produce:  
{{{{{|subst:}}}Obsolete|Alternate message.}}
{{{{{subst|}}}Obsolete|Alternate message.}}


<hr>
<hr>
Line 23: Line 20:
|<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>
|<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>
|}</center></includeonly>
<noinclude>{{i18n|Template:Out of date}}
{{Template}}
'''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>

Revision as of 08:25, 22 March 2012

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.

Template Documentation

This template should be used for obsolete pages. It helps us keep track of what documents need to be updated or deleted.

Example

{{Obsolete}}

Will produce:

This page is obsolete ...

This page is outdated and is considered obsolete. Please feel free to help us make an up to date version.

{{Obsolete|Alternate message.}}

Will produce:

This page is obsolete ...

This page is outdated and is considered obsolete. Alternate message.