Difference between revisions of "Template:Hearts"

From Minetest Wiki
Jump to navigation Jump to search
m (fixed 2.5 hearts)
Line 1: Line 1:
 
<includeonly>{{#switch: {{{1}}}
 
<includeonly>{{#switch: {{{1}}}
 +
| 0 = [[File:Empty_heart.png | 16px]]
 
| 0.5 = [[File:Half_heart.png | 16px]]
 
| 0.5 = [[File:Half_heart.png | 16px]]
 
| 1 = [[File:Heart.png | 16px]]
 
| 1 = [[File:Heart.png | 16px]]

Revision as of 15:13, 31 July 2014


Examples

source output
{{Heart | 3.5}}
Heart.pngHeart.pngHeart.pngHalf heart.png