Difference between revisions of "Template:oldin/doc"

m
m
Line 15: Line 15:
 
: If you'd like, you can specify what it is that has been removed.
 
: If you'd like, you can specify what it is that has been removed.
 
: This should usually be "function", "type" or "variant".
 
: This should usually be "function", "type" or "variant".
:: Only types that are set to enum, function or type will set their
+
:: Only types that are set to enum, function, module or type will
:: ?Removed and ?PrettyRemoved parameters.
+
:: set their ?Removed and ?PrettyRemoved parameters.
 
; text
 
; text
 
: Bring out the big guns, and display a totally different text.
 
: Bring out the big guns, and display a totally different text.

Revision as of 22:31, 29 March 2013

This template is used on things that are deprecated.

Usage

{{oldin|Human-friendly version number|Machine-friendly version number|type=optional type of thing removed|text=optional text to display}}

Parameters

1
A readable version number, like "0.8.0".
2
A machine-readable version number, like "080".
type
If you'd like, you can specify what it is that has been removed.
This should usually be "function", "type" or "variant".
Only types that are set to enum, function, module or type will
set their ?Removed and ?PrettyRemoved parameters.
text
Bring out the big guns, and display a totally different text.

See also