Template:Deprecated: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (tweaking it a bit)
(change page to section as this is used within pages, rephrase, make it more like Template:Obsolete)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>The purpose of this template should be obvious: tag pages whose content is no loger 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 tu 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).
<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 tu 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).


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.
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.
Line 9: Line 9:
</pre>
</pre>


[[Category:Template]]</noinclude>
[[Category:Template]][[Category:Page flagging template]]</noinclude>
<includeonly>
<includeonly>
__NOEDITSECTION__
__NOEDITSECTION__
Line 18: Line 18:
|-
|-
| [[Image:Stop hand.png|Stop hand.png]]
| [[Image:Stop hand.png|Stop hand.png]]
| align="center" | <big>'''WARNING:'''</big><br>The contents of this page are considered<br><big><font color="black">'''DEPRECATED and OBSOLETE'''</font></big><br>This page is preserved '''<u>ONLY</u>''' for historical or documenting reasons.
| align="center" | <big>'''WARNING:'''</big><br>The content of this section is considered<br><big><font color="black">'''DEPRECATED and OBSOLETE'''</font></big><br>It is preserved for historical or documenting reasons.
| [[Image:Stop hand.png|right]]
|}
|}
{{{1|}}}<hr /><noinclude>
{{{1|}}}<hr /><noinclude>
|}
|}
</noinclude>

Latest revision as of 00:09, 4 November 2011

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 tu 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).

There's another related template Template:Dated which should be used for pages with stale or otherwise out-of-date information—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.

{{Deprecated |some text pointing to [[The OLPC Wiki|alternative page]] or just text.}}
Stop hand.png WARNING:
The content of this section is considered
DEPRECATED and OBSOLETE
It is preserved for historical or documenting reasons.