Difference between revisions of "Template:newinoldin"

m
m (next test)
 
(7 intermediate revisions by 3 users not shown)
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>{|class='removed-new-section' 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 since LÖVE {{{1}}} and removed in LÖVE {{{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>
 
{{documentation}}
 
{{documentation}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:30, 9 April 2020

[create] Template documentation