Template:Infobox block: Difference between revisions

add
since I can't modify redstone, I'll do it here. Besides that, everything else has been updated to use the correct parameters
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{{#if:{{{tool2|}}}|s}}|field={{#switch:{{lc:{{{tool|}}}}}<!--
{{Block/row|label=Tool{{#if:{{{tool2|}}}|s}}|field={{#switch:{{lc:{{{tool|{{{Tool}}}}}}}}<!--
-->|pick|pickaxe=[[File:Use-pickaxe.png|40px]]<!--
-->|pick|pickaxe=[[File:Use-pickaxe.png|30px]]<!--
-->|spade|shovel=[[File:Use-spade.png|40px]]<!--
-->|spade|shovel=[[File:Use-spade.png|30px]]<!--
-->|axe=[[File:Use-axe.png|40px]]<!--
-->|axe=[[File:Use-axe.png|30px]]<!--
-->|hoe=[[File:Use-hoe.png|40px]]<!--
-->|hoe=[[File:Use-hoe.png|30px]]<!--
-->|bucket=[[File:bucket.png|40px]]<!--
-->|bucket=[[File:bucket.png|30px]]<!--
-->|n/a|none=N/A<!--
-->|n/a|none=N/A<!--
-->|unknown|unknowntool|unknown tool|?=?<!--
-->|unknown|unknowntool|unknown tool|?=?<!--
-->|#default=?}}<!--
-->|#default=?}}<!--
-->{{#if:{{{tool2|}}}|{{#switch:{{lc:{{{tool2}}}}}<!--
-->{{#if:{{{tool2|}}}|{{#switch:{{lc:{{{tool2}}}}}<!--
-->|pick|pickaxe=[[File:Use-pickaxe.png|40px]]<!--
-->|pick|pickaxe=[[File:Use-pickaxe.png|30px]]<!--
-->|spade|shovel=[[File:Use-spade.png|40px]]<!--
-->|spade|shovel=[[File:Use-spade.png|30px]]<!--
-->|axe=[[File:Use-axe.png|40px]]<!--
-->|axe=[[File:Use-axe.png|30px]]<!--
-->|hoe=[[File:Use-hoe.png|40px]]<!--  
-->|hoe=[[File:Use-hoe.png|30px]]<!--  
-->|unknown|unknowntool|unknown tool=[[File:UnknownTool|40px]]<!--
-->|unknown|unknowntool|unknown tool=[[File:UnknownTool|40px]]}}}}}}
-->|#default=}}}}{{#switch:{{{tool|{{{tool2}}}}}}|[[file:use-spade.png]]|[[file:use-axe.png]]|[[file:use-hoe.png]]|[[file:use-spade.png]]=[[Category:Improper Parameter Use]]}}}}
{{#if:{{{Tool|}}}|[[Category:Improper Parameter Use]]}}
{{#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 52: Line 50:
---->|}}<!--
---->|}}<!--
-->}} }}} }}
-->}} }}} }}
</table>{{#if:{{{tool|}}}|[[Category:Pages that the Tool parameter]]}}<noinclude><!---
</table><noinclude><!---
--->
--->
==Documentation==
==Documentation==