Difference between revisions of "Template:newin"

Line 5: Line 5:
 
|}
 
|}
 
{{#if: {{{2|}}} |{{#set:Since={{{2}}}}}}}
 
{{#if: {{{2|}}} |{{#set:Since={{{2}}}}}}}
{{$set:Removed=-1}}</includeonly><noinclude>
+
{{#set:Removed=-1}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:27, 16 May 2012

[edit] [purge] Template documentation

This template is used on things that are added in newer versions.

Usage

{{newin|Human-friendly version number|Machine-friendly version number|type=optional type of thing added|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 added.
This should usually be "function", "type" or "variant".
Only types that are set to callback, enum, function, module or type will
set their ?Since and ?PrettySince parameters.
text
Bring out the big guns, and display a totally different text.

See also