Difference between revisions of "Template:oldin"
(15 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{|bgcolor='# | + | <includeonly>{|class='removed-section' bgcolor='#ffacac' style='margin-top: 1em; padding: 3px; border-radius:5px; -moz-border-radius:5px;' data-oldin='{{{1}}}' |
|'' '''Removed in LÖVE {{{1}}}''' '' | |'' '''Removed in LÖVE {{{1}}}''' '' | ||
|- | |- | ||
− | | <small>{{#if: {{{text|}}} |{{{text}}}|{{#if: {{{type|}}} |This {{{type}}} |It}} is not supported in that and later versions | + | | <small>{{#if: {{{text|}}} |{{{text}}}|{{#if: {{{type|}}} |{{#if: {{{plural|}}} |These|This}} {{{type}}} |It}} {{#if: {{{plural|}}}|are|is}} not supported in that and later versions}}.</small> |
|} | |} | ||
− | {{#set:Removed={{{2}}}}}</includeonly><noinclude> | + | {{#switch: {{{type}}} | callback | module | enum | function | method | type = {{#if: {{{2|}}}|{{#set:Removed={{{2}}}}}}}{{#if: {{{1|}}}|{{#set:PrettyRemoved={{{1}}}}}}}|}}</includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
+ | == Other Languages == | ||
+ | {{i18n|Template:oldin}} | ||
</noinclude> | </noinclude> |
Latest revision as of 14:33, 13 November 2019
[edit] [ ] Template documentation
This template is used on things that are removed in new LÖVE versions.
Contents
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 callback, 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
The above documentation is transcluded from Template:oldin/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. |
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info