Template:TlDeprecate/doc

From Citizendium
< Template:TlDeprecate
Revision as of 02:59, 17 May 2009 by imported>Caesar Schinas (New page: This template is meant to be used to mark other templates as deprecated.<br /> It shows a standard message and adds the templates to Category:Templates/Deprecated. '''Note''': ''This...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is meant to be used to mark other templates as deprecated.
It shows a standard message and adds the templates to Category:Templates/Deprecated.

Note: This page is not deprecated; just those on which the template is used!

Usage

The code <noinclude>{{TlDeprecate}}</noinclude> should be placed at the top of the page, outside any other noinclude or includeonly tags.
There is an optional parameter which changes the text of the last line. It is recommended that this be used to specify alternatives to using the deprecated template.

Example

Standard notice

<noinclude>{{TlDeprecate}}</noinclude>

WARNING
This template is deprecated. Please do not use it.
It is possible to obtain the same result using other templates or simple code.


Custom notice

<noinclude>{{TlDeprecate|It is preferable to use {{tl|TlDoc}} instead.}}</noinclude>

WARNING
This template is deprecated. Please do not use it.
It is preferable to use {{TlDoc}} instead.