Difference between revisions of "Template:Health"
From Mushpedia
(Added optional 'long' parameter, fused with old Template:LP code.) |
|||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<includeonly>[[image:Lp.png|link=Health#Health Points|Health]]{{#if: {{{1|}}} | ''' Health'''}}</includeonly><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. | 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. | ||
Revision as of 18:48, 18 December 2013
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.
Usage:{{Health|long}} or {{HP|long}}
Example:
{{HP}}
Eating a banana gives you one {{Health|long}}.