Template:Infobox block: Difference between revisions

rm dup table now that margin is fixed
patch-fixing the tool option, which was broken, even after typing in "pickaxe" in any spelling variation. edit the version before for what I replaced if you can fix it.
Line 13: Line 13:
{{Block/row|label=Transparency|field={{{transparent|?}}}}}
{{Block/row|label=Transparency|field={{{transparent|?}}}}}
{{Block/row|label=Luminance|field={{{light|?}}}}}
{{Block/row|label=Luminance|field={{{light|?}}}}}
{{Block/row|label=Tool|field={{#switch:{{lc:{{{tool}}}}}|<!---
{{Block/row|label=Tool to use|field={{{Tool|[[image:{{{image|UnknownTool.png}}}]]}}}}}
--->|pick|pickaxe=[[File:Use-pickaxe.png]]<!---
--->|spade|shovel=[[File:Use-spade.png]]<!--
--->|axe=[[File:Use-axe.png]]<!--
--->|hoe|ho=[[File:Use-hoe.png]]<!--
--->|n/a|none=N/A<!--
--->|#default=?}}
}}
{{#switch:{{lc:{{{type}}}}}|fluid =
{{#switch:{{lc:{{{type}}}}}|fluid =
{{Block/row|label=Speed of fluid movement:|field={{{fluidspeed|?}}}}}
{{Block/row|label=Speed of fluid movement:|field={{{fluidspeed|?}}}}}
Line 82: Line 75:
| <code>light</code> || Emits Light? || ?
| <code>light</code> || Emits Light? || ?
|-
|-
| <code>tool</code> || Tool to use || ?
| <code>Tool</code> || Tool to use || [[:File:UnknownTool.png|UnknownTool.png]]
|-
|-
| <code>datadec</code> || Decimal Data Value || ?
| <code>datadec</code> || Decimal Data Value || ?