Difference between revisions of "Template:Charge"

From Mushpedia
Jump to: navigation, search
(Created page with "<includeonly><onlyinclude>Charge{{#if: {{{1|}}} | ''' Charge'''}}</onlyinclude></includeonly> A template to display '''C...")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>[[Image:Charge.png|class=margin-small|link=Inventory|Charge]]{{#if: {{{1|}}} | ''' Charge'''}}</onlyinclude></includeonly>
+
<includeonly><onlyinclude>[[Image:Charge.png|class=icon-margin|link=Inventory#Properties|Charge]]{{#if: {{{1|}}} | ''' [[Inventory#Properties|Charge]]'''}}</onlyinclude></includeonly>
 
A template to display '''Charges''' as a nice icon with a hyperlink to the [[Inventory]] page. '''"long"''' is an optional parameter and adds "'''Charge'''" behind the icon. This should be used across the wiki.
 
A template to display '''Charges''' as a nice icon with a hyperlink to the [[Inventory]] page. '''"long"''' is an optional parameter and adds "'''Charge'''" behind the icon. This should be used across the wiki.
  
Line 10: Line 10:
 
This item has '''2''' {{Charge|long}}s.
 
This item has '''2''' {{Charge|long}}s.
  
[[Category:Templates|{{PAGENAME}}]]
+
[[Category:Useful Templates]]

Latest revision as of 21:38, 24 March 2014

A template to display Charges as a nice icon with a hyperlink to the Inventory page. "long" is an optional parameter and adds "Charge" behind the icon. This should be used across the wiki.

Usage:
{{Charge|<long>}} or {{Charge|<long>}}

Example:

{{Charge}}

Charge

This item has '''2''' {{Charge|long}}s.

This item has 2 Charge Charges.