Difference between revisions of "Template:Deprecated"

From Sugar Labs
Jump to navigation Jump to search
(color links)
(Redirect to Template:Obsolete)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>The purpose of this template should be obvious: tag pages whose content is no longer valid and should not be used any further.  Pages tagged with this will be included in the [[:Category:Deprecated pages]] and will display the contents of the page in a pinkish-color as a reminder for the whole (just in case there are links to subsections that fail to make the warning visible. It also removes the [Edit] links in the subsections to avoid further editions (although it does not protect the page).
+
#REDIRECT [[Template:Obsolete]]
 
 
There's another related template '''[[Template:Dated]]''' which should be used for pages with stale or otherwise out-of-date information&mdash;but that in general just needs an update.
 
 
 
The template takes an extra (optional) parameter that can basically be any text and will be displayed right after the warning sign.
 
 
 
<pre>
 
{{Deprecated | some text pointing to an [[alternative page]] or http://some.url or just text.}}
 
</pre>
 
 
 
[[Category:Template]][[Category:Page flagging template]]</noinclude>
 
<includeonly>
 
__NOEDITSECTION__
 
[[Category:Deprecated pages]]</includeonly>
 
{| width=100%
 
|<div style="border-top:1px solid red; border-bottom:1px solid red; margin:0px; background-color:pink; color:darkred;">
 
{| style="background-color:#c43230; color:white;" align="center"
 
|-
 
| [[Image:Stop hand.png|Stop hand.png]]
 
| align="center" | <big>'''NOTE:'''</big><br>The content of this page is considered<br><big><font color="white">'''DEPRECATED and OBSOLETE'''</font></big><br>It is preserved for historical research.<br><div style="color:white:>{{{1|}}}</div>
 
|}<br>
 
<hr /><noinclude>
 
|}
 
</noinclude>
 

Latest revision as of 15:38, 14 May 2016

Redirect to: