Difference between revisions of "Template:newinoldin"

(Created template)
 
m (Added CSS class)
(7 intermediate revisions by one other user 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}}}. Removed in LÖVE {{{3}}}''' ''
+
|'' '''Available since LÖVE {{{1}}} and 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 versions}}.</small>
+
| <small>{{#if: {{{text|}}} |{{{text}}}|{{#if: {{{type|}}} |{{#if: {{{plural|}}} |These|This}} {{{type}}} |It}} {{#if: {{{plural|}}}|are|is}} not supported in earlier or later 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>

Revision as of 02:06, 16 May 2016

[create] Template documentation