Difference between revisions of "Template:New feature"

(Undo revision 23598 by Qaisjp (talk))
 
(44 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr:({{{1|}}})>{{Current Version}}|<div style='font-weight: bold;background:black;color:white;padding:2px; padding-left:8px;'>FROM VERSION {{{2}}} ONWARDS</div><div style='border: 2px solid black;padding: 3px;'>{{{3}}} </div>| {{{3}}}}}</includeonly>
+
<includeonly>
 
+
<div class='new-feature' style='
 
+
font-weight: bold;
<noinclude>Use this template for functions/events lists.
+
background: #b0b0ff;
 
+
color: black;
 +
padding: 2px;  
 +
padding-left: 8px;
 +
-webkit-border-top-left-radius: 10px;
 +
-webkit-border-top-right-radius: 10px;
 +
-moz-border-radius-topleft: 10px;
 +
-moz-border-radius-topright: 10px;
 +
border-top-left-radius: 10px;
 +
border-top-right-radius: 10px;'
 +
data-love-version-note="1">Available since LÖVE [[{{{1}}}]]</div><div style='
 +
border: 2px solid #b0b0ff;
 +
padding: 3px;
 +
padding-bottom: 1px;
 +
-webkit-border-bottom-right-radius: 10px;
 +
-webkit-border-bottom-left-radius: 10px;
 +
-moz-border-radius-bottomright: 10px;
 +
-moz-border-radius-bottomleft: 10px;
 +
border-bottom-right-radius: 10px;
 +
border-bottom-left-radius: 10px;'
 +
data-love-filterable="1"
 +
data-love-version-added="{{{1}}}">{{{2}}} </div>{{#if: {{{3|}}} |{{#set:Since={{{3}}}}}}}
 +
</includeonly><noinclude>Use this template for functions
 
Test:
 
Test:
{{New feature|3.0110|1.1|
+
{{New feature|0.8.0|
*'''includeWorldModelInformation :''' Include the results of hitting a world model.
+
This is normal text
 +
''' Bold '''
 +
* bullleted
 
}}
 
}}
 +
 
[[Category:Utility templates]]
 
[[Category:Utility templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 08:10, 7 September 2019

Use this template for functions Test:

Available since LÖVE 0.8.0

This is normal text Bold

  • bullleted