Difference between revisions of "Template:Hearts"

From Luanti Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#switch: {{{1}}} | 0.5 = File:Half_heart.png | 1 = File:Heart.png | 1.0 = File:Heart.png | 1.5 = File:Heart.pngFile:Half_heart.png | 2 = F...")
 
m
 
(23 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
+
<includeonly>{{#invoke:IconBar|bar|name=heart}}</includeonly><noinclude>
| 0.5 = [[File:Half_heart.png]]
+
{{Documentation}}
| 1 = [[File:Heart.png]]
+
<!-- Categories go on the /doc subpage -->
| 1.0 = [[File:Heart.png]]
+
</noinclude>
| 1.5 = [[File:Heart.png]][[File:Half_heart.png]]
 
| 2 = [[File:Heart.png]][[File:Heart.png]]
 
| 2.0 = [[File:Heart.png]][[File:Heart.png]]
 
| 2.5 = [[File:Heart.png]][[File:Half_heart.png]]
 
| 3 = [[File:Heart.png]][[File:Heart.png]][[File:Heart.png]]
 
| 3.0 = [[File:Heart.png]][[File:Heart.png]][[File:Heart.png]]
 
| 3.5 = [[File:Heart.png]][[File:Heart.png]][[File:Heart.png]][[File:Half_heart.png]]
 
| 4 = [[File:Heart.png]][[File:Heart.png]][[File:Heart.png]][[File:Heart.png]]
 
| 4.0 = [[File:Heart.png]][[File:Heart.png]][[File:Heart.png]][[File:Heart.png]]
 
| 4.5 = [[File:Heart.png]][[File:Heart.png]][[File:Heart.png]][[File:Heart.png]][[File:Half_heart.png]]
 
| 5 = [[File:Heart.png]][[File:Heart.png]][[File:Heart.png]][[File:Heart.png]][[File:Heart.png]]
 
| 5.0 = [[File:Heart.png]][[File:Heart.png]][[File:Heart.png]][[File:Heart.png]][[File:Heart.png]]
 
| [[File:Heart.png]]
 
}}</includeonly>
 

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