Template:Tool: Difference between revisions

(Added "ammunition", also fixed labels for renewable and stackable)
(Documentation)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<small>Small text</small><includeonly>{{#invoke:infobox|infobox
<includeonly>{{#invoke:infobox|infobox
|rows=
|rows=
{{#if: {{{efficiency|}}}|{{infobox row|label=Efficiency|field={{{efficiency}}}}}}}
{{#if: {{{efficiency|}}}|{{infobox row|label=Efficiency|field={{{efficiency}}}}}}}
Line 6: Line 6:
{{#if: {{{renewable|}}}|{{infobox row|label=Renewable|field={{{renewable}}}}}}}
{{#if: {{{renewable|}}}|{{infobox row|label=Renewable|field={{{renewable}}}}}}}
{{#if: {{{stackable|}}}|{{infobox row|label=Stackable|field={{{stackable}}}}}}}
{{#if: {{{stackable|}}}|{{infobox row|label=Stackable|field={{{stackable}}}}}}}
{{#if: {{{ammunition|}}}|{{infobox row|label=Ammunition|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