Template:Tool: Difference between revisions

(Added "renewable" and "stackable" fields)
(Documentation)
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
{{#if: {{{durability|}}}|{{infobox row|label=Durability|field={{{durability}}}}}}}
{{#if: {{{durability|}}}|{{infobox row|label=Durability|field={{{durability}}}}}}}
{{#if: {{{damage|}}}|{{infobox row|label=Damage|field={{hp|{{{damage}}}}}}}}}
{{#if: {{{damage|}}}|{{infobox row|label=Damage|field={{hp|{{{damage}}}}}}}}}
{{#if: {{{renewable|}}}|{{infobox row|label=Durability|field={{{renewable}}}}}}}
{{#if: {{{renewable|}}}|{{infobox row|label=Renewable|field={{{renewable}}}}}}}
{{#if: {{{stackable|}}}|{{infobox row|label=Durability|field={{{stackable}}}}}}}
{{#if: {{{stackable|}}}|{{infobox row|label=Stackable|field={{{stackable}}}}}}}
{{#if: {{{ammunition|}}}|{{infobox row|label=Ammunition|field={{{ammunition}}}}}}}
}}</includeonly>
}}</includeonly>
<noinclude>
==Usage==
<pre>
{{tool
|image = The item's icon
|damage = Damage for weapons (Use health points, not hearts! 1 heart = 2 HP)
|efficiency = For tools only, how efficient said tool is
|durability = How many uses the item lasts for
|renewable = Whether the item is renewable (i.e. can theoretically be obtained infinitely without spawning it in)
|stackable = Whether the item is stackable
|ammunition = For ranged weapons like bows, specify ammunition with link here
}}
</pre>
[[Category:Templates]]
</noinclude>

Latest revision as of 03:52, 20 July 2015


Usage

{{tool
|image = The item's icon
|damage = Damage for weapons (Use health points, not hearts! 1 heart = 2 HP)
|efficiency = For tools only, how efficient said tool is
|durability = How many uses the item lasts for
|renewable = Whether the item is renewable (i.e. can theoretically be obtained infinitely without spawning it in)
|stackable = Whether the item is stackable
|ammunition = For ranged weapons like bows, specify ammunition with link here
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis