Template:Infobox block: Difference between revisions
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
{{#if: {{{stackable|}}} | {{infobox row|label=Stackable|field={{{stackable}}} {{#if: {{{maxStack|}}} | ({{{maxStack}}}) }} }} |<!-- {{{stackable}}} not provided => --->{{#if: {{NAMESPACE}} || {{translation category|project=0|Missing stackability}}}} }} | {{#if: {{{stackable|}}} | {{infobox row|label=Stackable|field={{{stackable}}} {{#if: {{{maxStack|}}} | ({{{maxStack}}}) }} }} |<!-- {{{stackable}}} not provided => --->{{#if: {{NAMESPACE}} || {{translation category|project=0|Missing stackability}}}} }} | ||
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|class=pixel-image|field={{#vardefineecho: correct-tool | {{ | {{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|class=pixel-image|field={{#vardefineecho: correct-tool | {{ | ||
#switch: | #switch: {{ lc: {{{tool|}}} }} | ||
| pickaxe = {{SlotSprite|Pickaxe Required|link=Pickaxe|title=This block can be broken with any tool, but a pickaxe is the quickest}} | | pickaxe = {{SlotSprite|Pickaxe Required|link=Pickaxe|title=This block can be broken with any tool, but a pickaxe is the quickest}} | ||
| wooden pickaxe = {{InvSprite|Wooden Pickaxe|link=Wooden Pickaxe|title=A wooden pickaxe or better is required to mine this block}} | | wooden pickaxe = {{InvSprite|Wooden Pickaxe|link=Wooden Pickaxe|title=A wooden pickaxe or better is required to mine this block}} | ||
| Line 22: | Line 22: | ||
| n/a | none = None | | n/a | none = None | ||
| all | alltools | any | anytool = Any tool | | all | alltools | any | anytool = Any tool | ||
| #default = | | #default = {{{tool|}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||