Difference between revisions of "Template:Hearts"

From Luanti Wiki
Jump to navigation Jump to search
m
 
(15 intermediate revisions by 2 users 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 = [[File:Heart.png | 16px]]
 
| 1.0 = [[File:Heart.png | 16px]]
 
| 1.5 = [[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 2 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 2.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 2.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 3 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 3.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 3.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 4 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 4.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 4.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 5.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 5.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 6 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 6.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 6.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 7 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 7.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 7.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 8 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 8.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 8.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 9 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 9.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 9.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 10 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 10.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 10.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 11 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 11.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 11.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 12 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 12.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 12.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 13 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 13.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 13.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 14 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 14.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 14.5 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Half_heart.png | 16px]]
 
| 15 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| 15.0 = [[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]][[File:Heart.png | 16px]]
 
| [[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