Difference between revisions of "Template:newin"
Roubloodshed (talk | contribs) |
Roubloodshed (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly>{|bgcolor='#b0b0ff' style='margin-top: 1em; padding: 3px; border-radius:5px; -moz-border-radius:5px;' | <includeonly>{|bgcolor='#b0b0ff' style='margin-top: 1em; padding: 3px; border-radius:5px; -moz-border-radius:5px;' | ||
− | |'' ''' | + | |'' '''Available since LÖVE {{{1}}}''' '' |
|- | |- | ||
− | | <small>{{#if: {{{text|}}} |{{{text}}}|{{#if: {{{type|}}} |{{#if: {{{plural|}}} | | + | | <small>{{#if: {{{text|}}} |{{{text}}}|{{#if: {{{type|}}} |{{#if: {{{plural|}}} |This function is not supported in earlier versions.</small> |
|} | |} | ||
{{#if: {{{2|}}} |{{#set:Since={{{2}}}}}}}</includeonly><noinclude> | {{#if: {{{2|}}} |{{#set:Since={{{2}}}}}}}</includeonly><noinclude> |
Revision as of 17:02, 23 December 2012
[edit] [ ] 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
The above documentation is transcluded from Template:newin/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |