Difference between revisions of "Template:Hearts"

From Luanti Wiki
Jump to navigation Jump to search
(Added documentation template)
m (Undo revision 15182 by MrIbby (talk))
Line 1: Line 1:
 
<includeonly>{{#invoke:IconBar|bar|name=heart}}</includeonly><noinclude>
 
<includeonly>{{#invoke:IconBar|bar|name=heart}}</includeonly><noinclude>
{{documentation}}
+
{{Lua|IconBar}}
<!-- Categories go on the /doc subpage -->
+
 
 +
== Examples ==
 +
{| class="wikitable"
 +
! Source !! Output
 +
|-
 +
| <code><nowiki>{{Hearts|3.5}}</nowiki></code> || {{Hearts|3.5}}
 +
|}
 +
 
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 02:06, 8 May 2017

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