Template:Infobox block: Difference between revisions
Changing to the minepedia title colour scheme. |
Testing auto alternate background colours. |
||
| Line 9: | Line 9: | ||
{{#if:{{{image3|}}}|<tr valign="top"><td align="center" colspan="2">[[File:{{{image3}}}|150px|center]]</td></tr>}} | {{#if:{{{image3|}}}|<tr valign="top"><td align="center" colspan="2">[[File:{{{image3}}}|150px|center]]</td></tr>}} | ||
{{#if:{{{invimage|}}}|<tr valign="top"><td align="center" colspan="2">[[File:{{{invimage}}}|36px]]{{#if:{{{invimage2|}}}| [[File:{{{invimage2}}}|36px]]{{#if:{{{invimage3|}}}| [[File:{{{invimage3}}}|36px]]}}}}</td></tr>}} | {{#if:{{{invimage|}}}|<tr valign="top"><td align="center" colspan="2">[[File:{{{invimage}}}|36px]]{{#if:{{{invimage2|}}}| [[File:{{{invimage2}}}|36px]]{{#if:{{{invimage3|}}}| [[File:{{{invimage3}}}|36px]]}}}}</td></tr>}} | ||
{{Block/ | {{Block/row|label=Type|field={{{type|?}}}}} | ||
{{#switch:{{lc:{{{type}}}}}|solid block|solid|block = | {{#switch:{{lc:{{{type}}}}}|solid block|solid|block = | ||
{{Block/row|label=Requirements|field={{#switch:{{lc:{{{dirt}}}}}|yes=Sunlight and dirt|no=None|sand=Sunlight and sand|#default={{{dirt|?}}}}}}}}} | {{Block/row|label=Requirements|field={{#switch:{{lc:{{{dirt}}}}}|yes=Sunlight and dirt|no=None|sand=Sunlight and sand|#default={{{dirt|?}}}}}}}}} | ||
{{#if:{{{notes|}}}|<tr valign="top" style="background: {{{#FFFFFF}}};"><td colspan="2">{{{notes|}}}</td></tr>}} | {{#if:{{{notes|}}}|<tr valign="top" style="background: {{{#FFFFFF}}};"><td colspan="2">{{{notes|}}}</td></tr>}} | ||
{{Block/ | {{Block/row|label=Physics|field={{{gravity|?}}}}} | ||
{{Block/row|label=Transparency|field={{{transparent|?}}}}} | {{Block/row|label=Transparency|field={{{transparent|?}}}}} | ||
{{Block/ | {{Block/row|label=Luminance|field={{{light|?}}}}} | ||
{{Block/row|label=[[Explosion#Block_Resistance|Block Resistance]]|field={{{tntres|? blocks}}}}} | {{Block/row|label=[[Explosion#Block_Resistance|Block Resistance]]|field={{{tntres|? blocks}}}}} | ||
{{Block/ | {{Block/row|label=Tool{{#if:{{{tool2|}}}|s}}|field={{#switch:{{lc:{{{tool|{{{Tool}}}}}}}}<!-- | ||
-->|pick|pickaxe=[[File:Use-pickaxe.png|32px|link=Tools#Pickaxe|Pickaxe]]<!-- | -->|pick|pickaxe=[[File:Use-pickaxe.png|32px|link=Tools#Pickaxe|Pickaxe]]<!-- | ||
-->|spade|shovel=[[File:Use-spade.png|32px|link=Tools#Shovel|Shovel]]<!-- | -->|spade|shovel=[[File:Use-spade.png|32px|link=Tools#Shovel|Shovel]]<!-- | ||
| Line 34: | Line 34: | ||
{{Block/row|label=Stackable|field={{{stackable|?}}}}} | {{Block/row|label=Stackable|field={{{stackable|?}}}}} | ||
{{#switch:{{lc:{{{type}}}}}|fluid = | {{#switch:{{lc:{{{type}}}}}|fluid = | ||
{{Block/ | {{Block/row|label=Speed of fluid movement|field={{{fluidspeed|?}}}}} | ||
{{Block/row|label=Speed of walking through|field={{{movespeed|?}}}}}}} | {{Block/row|label=Speed of walking through|field={{{movespeed|?}}}}}}} | ||
{{Block/ | {{Block/row|label=[[Data values|Data value]]{{#if:{{{data2|}}}|s|}}|field={{{data|{{#if:{{{datadec|}}}|<!-- | ||