Difference between revisions of "Template:newinoldin"

m
m
Line 1: Line 1:
 
<includeonly>{|bgcolor='#ffacac' style='margin-top: 1em; padding: 3px; border-radius:5px; -moz-border-radius:5px;' data-newin='{{{1}}} data-oldin='{{{3}}}'
 
<includeonly>{|bgcolor='#ffacac' style='margin-top: 1em; padding: 3px; border-radius:5px; -moz-border-radius:5px;' data-newin='{{{1}}} data-oldin='{{{3}}}'
|'' '''Available since LÖVE {{{1}}}''' ''
+
|'' '''Available in LÖVE {{{1}}} and removed in {{{3}}}''' ''
 
|-
 
|-
|'' '''Removed in LÖVE {{{3}}}''' ''
+
| <small>{{#if: {{{text|}}} |{{{text}}}|{{#if: {{{type|}}} |{{#if: {{{plural|}}} |These|This}} {{{type}}} |It}} {{#if: {{{plural|}}}|are|is}} not supported in earlier or later versions}}.</small>
|-
 
| <small>{{#if: {{{text|}}} |{{{text}}}|{{#if: {{{type|}}} |{{#if: {{{plural|}}} |These|This}} {{{type}}} |It}} {{#if: {{{plural|}}}|are|is}} not supported in earlier versions}}.</small>
 
 
|}
 
|}
 
{{#switch: {{{type}}} | callback | module | enum | function | method | type = {{#if: {{{2|}}} |{{#set:Since={{{2}}}}}}}{{#if: {{{1|}}} |{{#set:PrettySince={{{1}}}}}}}|{{#if: {{{4|}}}|{{#set:Removed={{{4}}}}}}}{{#if: {{{3|}}}|{{#set:PrettyRemoved={{{3}}}}}}}|}}</includeonly><noinclude>
 
{{#switch: {{{type}}} | callback | module | enum | function | method | type = {{#if: {{{2|}}} |{{#set:Since={{{2}}}}}}}{{#if: {{{1|}}} |{{#set:PrettySince={{{1}}}}}}}|{{#if: {{{4|}}}|{{#set:Removed={{{4}}}}}}}{{#if: {{{3|}}}|{{#set:PrettyRemoved={{{3}}}}}}}|}}</includeonly><noinclude>

Revision as of 16:05, 27 December 2015

[create] Template documentation