Difference between revisions of "Template:Deprecated"

From Sugar Labs
Jump to navigation Jump to search
(Initial page)
(No difference)

Revision as of 10:05, 14 May 2016

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.