Difference between revisions of "Template:deprecatedin"
Rick astley (talk | contribs) |
Rick astley (talk | contribs) m |
||
Line 1: | Line 1: | ||
<includeonly>{|bgcolor='#ffc7ac' style='margin-top: 1em; padding: 3px; border-radius:5px; -moz-border-radius:5px;' | <includeonly>{|bgcolor='#ffc7ac' style='margin-top: 1em; padding: 3px; border-radius:5px; -moz-border-radius:5px;' | ||
− | |'' ''' | + | |'' '''Deprecated in LÖVE {{{1}}}''' '' |
|- | |- | ||
| <small>{{#if: {{{text|}}} |{{{text}}}|{{#if: {{{type|}}} |{{#if: {{{plural|}}} |These|This}} {{{type}}} |It}} {{#if: {{{plural|}}}|are|is}} deprecated and will be removed in a future version}}.</small> | | <small>{{#if: {{{text|}}} |{{{text}}}|{{#if: {{{type|}}} |{{#if: {{{plural|}}} |These|This}} {{{type}}} |It}} {{#if: {{{plural|}}}|are|is}} deprecated and will be removed in a future version}}.</small> |
Revision as of 12:51, 22 April 2021
[edit] [ ] Template documentation
This template is used on things that are deprecated in new LÖVE versions.
Usage
{{deprecatedin|Human-friendly version number|Machine-friendly version number|type=optional type of thing deprecated|text=optional text to display}}
Parameters
- 1
- A readable version number, like "0.9.1".
- 2
- A machine-readable version number, like "091".
- type
- If you'd like, you can specify what it is that has been deprecated.
- This should usually be "function", "type" or "variant".
- Only types that are set to callback, enum, function, module or type will
- set their ?Deprecated and ?PrettyDeprecated parameters.
- text
- Bring out the big guns, and display a totally different text.
See also
The above documentation is transcluded from Template:deprecatedin/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |