Difference between revisions of "Template:Health"
From Mushpedia
(Added formatting like Morale, and updated link to new Health page) |
(Added optional 'long' parameter, fused with old Template:LP code.) |
||
| Line 6: | Line 6: | ||
<pre>Eating a banana gives you one {{Health}}.</pre> | <pre>Eating a banana gives you one {{Health}}.</pre> | ||
Eating a banana gives you one {{Health}}. | Eating a banana gives you one {{Health}}. | ||
| + | |||
| + | [[Category:Templates|{{PAGENAME}}]] | ||
| + | </noinclude> | ||
| + | <includeonly>[[image:Lp.png|link=Health#Health Points|Health]]{{#if: {{{1|}}} | ''' Health'''}}</includeonly><noinclude> | ||
| + | A template to display '''Health Points''' as a nice icon with a hyperlink to the [[Health#Health Points|Health]] page. '''"long"''' is an optional parameter and adds "'''Health'''" behind the icon. This should be used across the wiki. | ||
| + | |||
| + | Usage: <pre>{{Health|long}} or {{HP|long}}</pre> | ||
| + | Example: | ||
| + | <pre>{{HP}}</pre> | ||
| + | {{HP}} | ||
| + | |||
| + | <pre>Eating a banana gives you one {{Health|long}}.</pre> | ||
| + | Eating a banana gives you one {{Health|long}}. | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 18:48, 18 December 2013
Use this template to display Health points. This should be used across the wiki.
Usage:{{Health}}
Example:
Eating a banana gives you one {{Health}}.
Eating a banana gives you one
.
A template to display Health Points as a nice icon with a hyperlink to the Health page. "long" is an optional parameter and adds "Health" behind the icon. This should be used across the wiki.
{{Health|long}} or {{HP|long}}
Example:
{{HP}}
Eating a banana gives you one {{Health|long}}.