Difference between revisions of "User:Wuzzy/Template:Heart"

From Minetest Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{ {{1}} 16px }}</includeonly> <noinclude> == Examples == {| class="wikitable" ! source ! output |- | <nowiki>{{User:Wuzzy/Template:Heart | ...")
 
m (Undo revision 1308 by Wuzzy (talk) because it didn’t work :-()
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{ {{1}} [[File:Heart.png | 16px]] }}</includeonly>
+
<includeonly>{{{1}}}</includeonly>
 
<noinclude>
 
<noinclude>
 +
== Description ==
 +
This is an alternative and experimental template to denote a number of hearts. But it does it a bit different than [[Template:Heart]]. Hearts are treated like an unit here, for example, meters. Also it uses a character as the heart symbol instead of an image.
 +
 +
Because this template is experimental, you should not use it in the articles.
 
== Examples ==
 
== Examples ==
 
{| class="wikitable"
 
{| class="wikitable"
Line 6: Line 10:
 
! output
 
! output
 
|-
 
|-
|
+
|<code><nowiki>{{:User:Wuzzy/Template:Heart | 1}}</nowiki></code>
<nowiki>{{User:Wuzzy/Template:Heart | 3.5}}</nowiki>
+
|{{:User:Wuzzy/Template:Heart | 1}}
|{{User:Wuzzy/Template:Heart | 3.5}}
+
|-
 +
|<code><nowiki>{{:User:Wuzzy/Template:Heart | 3.5}}</nowiki></code>
 +
|{{:User:Wuzzy/Template:Heart | 3.5}}
 +
|-
 +
|<code><nowiki>{{:User:Wuzzy/Template:Heart | 0}}</nowiki></code>
 +
|{{:User:Wuzzy/Template:Heart | 0}}
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 10:55, 18 October 2013


Description

This is an alternative and experimental template to denote a number of hearts. But it does it a bit different than Template:Heart. Hearts are treated like an unit here, for example, meters. Also it uses a character as the heart symbol instead of an image.

Because this template is experimental, you should not use it in the articles.

Examples

source output
{{:User:Wuzzy/Template:Heart | 1}} 1♥
{{:User:Wuzzy/Template:Heart | 3.5}} 3.5♥
{{:User:Wuzzy/Template:Heart | 0}} 0♥