Template:Infobox block: Difference between revisions
update doc style |
Make blast resistance and hardness use {{{title}}} |
||
| Line 15: | Line 15: | ||
{{infobox row|label=[[Opacity|Transparency]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }} | {{infobox row|label=[[Opacity|Transparency]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }} | ||
{{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 | {{ # | {{infobox row|label=[[Explosion#Blast resistance|Blast resistance]]|field={{ #if: {{{tntres|}}} | ||
{{infobox row|label=[[Digging#Blocks by hardness|Hardness]]|field={{ #if: {{{hardness|}}} | {{{hardness}}}[[Category:Pages with overridden hardness]] | {{Hardness values | {{ # | | {{{tntres}}}[[Category:Pages with overridden tntres]] | ||
| {{Blast resistance values | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} }} | |||
}} }} | |||
{{infobox row|label=[[Digging#Blocks by hardness|Hardness]]|field={{ #if: {{{hardness|}}} | |||
| {{{hardness}}}[[Category:Pages with overridden hardness]] | |||
| {{Hardness values | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} }} | |||
}} }} | |||
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{ | {{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{ | ||
#switch: {{ lc: {{{tool|}}} }} | #switch: {{ lc: {{{tool|}}} }} | ||