Template:Infobox block: Difference between revisions

tracking category for pages that specify blast resistance instead of loading it from Template:Blast resistance values
add hardness row
Line 16: Line 16:
{{infobox row|label=[[Light|Luminance]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }}
{{infobox row|label=[[Light|Luminance]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }}
{{infobox row|label=[[Explosion#Blast resistance|Blast resistance]]|field={{ #if: {{{tntres|}}} | {{{tntres}}}[[Category:Pages with overridden tntres]] | {{Blast resistance values | {{ #titleparts: {{PAGENAME}} | 1 | 1 }} }} }} }}
{{infobox row|label=[[Explosion#Blast resistance|Blast resistance]]|field={{ #if: {{{tntres|}}} | {{{tntres}}}[[Category:Pages with overridden tntres]] | {{Blast resistance values | {{ #titleparts: {{PAGENAME}} | 1 | 1 }} }} }} }}
{{infobox row|label=[[Digging#Blocks by hardness|Hardness]]|field={{ #if: {{{hardness|}}} | {{{hardness}}}[[Category:Pages with overridden hardness]] | {{Hardness values | {{ #titleparts: {{PAGENAME}} | 1 | 1 }} }} }} }}
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{
   #switch: {{ lc: {{{tool|}}} }}
   #switch: {{ lc: {{{tool|}}} }}