Template:Infobox block: Difference between revisions

newer format, using DIV structure. checking for issues
m excellent, no visible issues. some minor tweaks, will rewrite the rest tomorrow
Line 12: Line 12:
{{infobox row|label=Luminance|field={{{light|?}}}}}
{{infobox row|label=Luminance|field={{{light|?}}}}}
{{infobox row|label=[[Explosion#Block_Resistance|Block Resistance]]|field={{{tntres|? blocks}}}}}
{{infobox row|label=[[Explosion#Block_Resistance|Block Resistance]]|field={{{tntres|? blocks}}}}}
{{infobox row|label=Tool{{#if:{{{tool2|}}}|s}}|field={{#switch:{{lc:{{{tool|}}}}}<!--
{{infobox row|label=Tool{{#if:{{{tool2|}}}|s}}|field={{#switch:{{lc:{{{tool|}}}}}<!--
-->|pick|pickaxe=[[File:Use-pickaxe.png|32px|link=Tools#Pickaxe|Pickaxe]]<!--
-->|pick|pickaxe=[[File:Use-pickaxe.png|32px|link=Tools#Pickaxe|Pickaxe]]<!--
Line 112: Line 111:
|}
|}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>
<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#ifeq:{{lc:{{{type|}}}}}|item|[[Category:Items]]|[[Category:Blocks]]}}}}</includeonly>
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Blocks]]}}</includeonly>