Template:Deprecated: Difference between revisions
m (tweaking) |
m (tweaking it a bit) |
||
Line 5: | Line 5: | ||
The template takes an extra (optional) parameter that can basically be any text and will be displayed right after the warning sign. |
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 [[The OLPC Wiki|alternative page]] or just text.}} |
{{Deprecated |some text pointing to [[The OLPC Wiki|alternative page]] or just text.}} |
||
</pre> |
|||
[[Category:Template]]</noinclude> |
[[Category:Template]]</noinclude> |
||
Line 11: | Line 13: | ||
__NOEDITSECTION__ |
__NOEDITSECTION__ |
||
[[Category:Deprecated pages]]</includeonly> |
[[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"> |
|<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" |
{| style="background-color:#c43230; color:white" align="center" |
||
|- |
|- |
||
Line 18: | Line 21: | ||
| [[Image:Stop hand.png|right]] |
| [[Image:Stop hand.png|right]] |
||
|} |
|} |
||
{{{1|}}} |
{{{1|}}}<hr /><noinclude> |
||
|} |
|||
---- |
Revision as of 04:00, 7 July 2007
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).
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.}}