Difference between revisions of "Template:Hearts"

From Minetest Wiki
Jump to navigation Jump to search
m (Automatic generation)
m
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
+
<includeonly>{{#invoke:IconBar|bar|name=heart}}</includeonly><noinclude>
| 0 = [[File:Empty heart.png|16px]]
+
{{Documentation}}
| 0.5 =  [[File:Half heart.png|16px]]
+
<!-- Categories go on the /doc subpage -->
| 1 = {{Heart|0.5}} [[File:Heart.png|16px]]
 
| 1.0 = {{Heart|0.5}} [[File:Heart.png|16px]]
 
| 1.5 = {{Heart|1}} [[File:Half heart.png|16px]]
 
| 2 = {{Heart|1.5}} [[File:Heart.png|16px]]
 
| 2.0 = {{Heart|1.5}} [[File:Heart.png|16px]]
 
| 2.5 = {{Heart|2}} [[File:Half heart.png|16px]]
 
| 3 = {{Heart|2.5}} [[File:Heart.png|16px]]
 
| 3.0 = {{Heart|2.5}} [[File:Heart.png|16px]]
 
| 3.5 = {{Heart|3}} [[File:Half heart.png|16px]]
 
| 4 = {{Heart|3.5}} [[File:Heart.png|16px]]
 
| 4.0 = {{Heart|3.5}} [[File:Heart.png|16px]]
 
| 4.5 = {{Heart|4}} [[File:Half heart.png|16px]]
 
| 5 = {{Heart|4.5}} [[File:Heart.png|16px]]
 
| 5.0 = {{Heart|4.5}} [[File:Heart.png|16px]]
 
| 5.5 = {{Heart|5}} [[File:Half heart.png|16px]]
 
| 6 = {{Heart|5.5}} [[File:Heart.png|16px]]
 
| 6.0 = {{Heart|5.5}} [[File:Heart.png|16px]]
 
| 6.5 = {{Heart|6}} [[File:Half heart.png|16px]]
 
| 7 = {{Heart|6.5}} [[File:Heart.png|16px]]
 
| 7.0 = {{Heart|6.5}} [[File:Heart.png|16px]]
 
| 7.5 = {{Heart|7}} [[File:Half heart.png|16px]]
 
| 8 = {{Heart|7.5}} [[File:Heart.png|16px]]
 
| 8.0 = {{Heart|7.5}} [[File:Heart.png|16px]]
 
| 8.5 = {{Heart|8}} [[File:Half heart.png|16px]]
 
| 9 = {{Heart|8.5}} [[File:Heart.png|16px]]
 
| 9.0 = {{Heart|8.5}} [[File:Heart.png|16px]]
 
| 9.5 = {{Heart|9}} [[File:Half heart.png|16px]]
 
| 10 = {{Heart|9.5}} [[File:Heart.png|16px]]
 
| 10.0 = {{Heart|9.5}} [[File:Heart.png|16px]]
 
| 10.5 = {{Heart|10}} [[File:Half heart.png|16px]]
 
| 11 = {{Heart|10.5}} [[File:Heart.png|16px]]
 
| 11.0 = {{Heart|10.5}} [[File:Heart.png|16px]]
 
| 11.5 = {{Heart|11}} [[File:Half heart.png|16px]]
 
| 12 = {{Heart|11.5}} [[File:Heart.png|16px]]
 
| 12.0 = {{Heart|11.5}} [[File:Heart.png|16px]]
 
| 12.5 = {{Heart|12}} [[File:Half heart.png|16px]]
 
| 13 = {{Heart|12.5}} [[File:Heart.png|16px]]
 
| 13.0 = {{Heart|12.5}} [[File:Heart.png|16px]]
 
| 13.5 = {{Heart|13}} [[File:Half heart.png|16px]]
 
| 14 = {{Heart|13.5}} [[File:Heart.png|16px]]
 
| 14.0 = {{Heart|13.5}} [[File:Heart.png|16px]]
 
| 14.5 = {{Heart|14}} [[File:Half heart.png|16px]]
 
| 15 = {{Heart|14.5}} [[File:Heart.png|16px]]
 
| 15.0 = {{Heart|14.5}} [[File:Heart.png|16px]]
 
| 15.5 = {{Heart|15}} [[File:Half heart.png|16px]]
 
| 16 = {{Heart|15.5}} [[File:Heart.png|16px]]
 
| 16.0 = {{Heart|15.5}} [[File:Heart.png|16px]]
 
| 16.5 = {{Heart|16}} [[File:Half heart.png|16px]]
 
| 17 = {{Heart|16.5}} [[File:Heart.png|16px]]
 
| 17.0 = {{Heart|16.5}} [[File:Heart.png|16px]]
 
| 17.5 = {{Heart|17}} [[File:Half heart.png|16px]]
 
| 18 = {{Heart|17.5}} [[File:Heart.png|16px]]
 
| 18.0 = {{Heart|17.5}} [[File:Heart.png|16px]]
 
| 18.5 = {{Heart|18}} [[File:Half heart.png|16px]]
 
| 19 = {{Heart|18.5}} [[File:Heart.png|16px]]
 
| 19.0 = {{Heart|18.5}} [[File:Heart.png|16px]]
 
| 19.5 = {{Heart|19}} [[File:Half heart.png|16px]]
 
| 20 = {{Heart|19.5}} [[File:Heart.png|16px]]
 
| 20.0 = {{Heart|19.5}} [[File:Heart.png|16px]]
 
}}</includeonly><noinclude>
 
== Examples ==
 
{| class="wikitable"
 
! source
 
! output
 
|-
 
|
 
<nowiki>{{Heart | 3.5}}</nowiki>
 
|{{Heart | 3.5}}
 
|}
 
 
 
[[Category:Templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 05:17, 10 May 2017

Documentation icon.png Documentation[view] [edit] [history] [purge]
Languages Language: English
Lua logo.png This template uses Module:IconBar, a script written in Lua.
Please see wikipedia:Wikipedia:Lua and mw:Extension:Scribunto to learn more.

Examples

Source Output
{{Hearts|3.5}} Heart.pngHeart.pngHeart.pngHalf heart.png