Template:Infobox block: Difference between revisions
Make blast resistance and hardness use {{{title}}} |
*PAGENAME stupidly encodes the page name, which breaks everything. #titleparts unencodes it. |
||
| Line 17: | Line 17: | ||
{{infobox row|label=[[Explosion#Blast resistance|Blast resistance]]|field={{ #if: {{{tntres|}}} | {{infobox row|label=[[Explosion#Blast resistance|Blast resistance]]|field={{ #if: {{{tntres|}}} | ||
| {{{tntres}}}[[Category:Pages with overridden tntres]] | | {{{tntres}}}[[Category:Pages with overridden tntres]] | ||
| {{Blast resistance values | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} }} | | {{Blast resistance values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }} | ||
}} }} | }} }} | ||
{{infobox row|label=[[Digging#Blocks by hardness|Hardness]]|field={{ #if: {{{hardness|}}} | {{infobox row|label=[[Digging#Blocks by hardness|Hardness]]|field={{ #if: {{{hardness|}}} | ||
| {{{hardness}}}[[Category:Pages with overridden hardness]] | | {{{hardness}}}[[Category:Pages with overridden hardness]] | ||
| {{Hardness values | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} }} | | {{Hardness values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }} | ||
}} }} | }} }} | ||
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{ | {{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{ | ||