Template:Tool: Difference between revisions
Eternaldoom (talk | contribs) (Created page with "{{#invoke:infobox|infobox |rows= {{#if: {{{efficiency|}}}|{{infobox row|label=Efficiency|field={{{efficiency}}}}}}} {{#if: {{{durability|}}}|{{infobox row|label=Durability|fie...") |
Cookiepower (talk | contribs) (Documentation) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#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}}}}}}} | ||
{{#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: {{{renewable|}}}|{{infobox row|label=Renewable|field={{{renewable}}}}}}} | |||
{{#if: {{{stackable|}}}|{{infobox row|label=Stackable|field={{{stackable}}}}}}} | |||
{{#if: {{{ammunition|}}}|{{infobox row|label=Ammunition|field={{{ammunition}}}}}}} | |||
}}</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.