Template:Infobox block: Difference between revisions
m seems they actually weren't used anymore, so went ahead and removed them |
move item-related properties higher up, and block-related properties down. + hardness because i don't know why it was removed |
||
| Line 28: | Line 28: | ||
{{#if: {{{tags|}}} | {{infobox row|label=Uses deprecated tags parameter[[Category:Infobox uses deprecated parameters]]|field={{{tags}}} }} }} | {{#if: {{{tags|}}} | {{infobox row|label=Uses deprecated tags parameter[[Category:Infobox uses deprecated parameters]]|field={{{tags}}} }} }} | ||
{{#if: {{{rarity|}}} | {{infobox row|class=list-style-none|label=[[Rarity]]|field={{ucfirst:{{{rarity|}}}}} }} | }} | {{#if: {{{rarity|}}} | {{infobox row|class=list-style-none|label=[[Rarity]]|field={{ucfirst:{{{rarity|}}}}} }} | }} | ||
{{infobox row|label=[[ | {{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }} | ||
{{infobox row|label= | {{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A [[Category:Missing stackability]] }} }} | ||
}} }} | |||
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|class=pixel-image|field={{#vardefineecho: correct-tool | {{ | {{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|class=pixel-image|field={{#vardefineecho: correct-tool | {{ | ||
#switch: {{ lc: {{{tool|}}} }} | #switch: {{ lc: {{{tool|}}} }} | ||
| Line 66: | Line 62: | ||
}} | }} | ||
}} }} | }} }} | ||
{{infobox row|label=[[ | {{infobox row|label=[[Explosion#Blast resistance|Blast resistance]]|field={{ #if: {{{tntres|}}} | ||
{{infobox row|label= | | {{{tntres}}}{{#if: {{NAMESPACE}} || {{translation category|project=0|Pages with overridden tntres}} }} | ||
| {{Blast resistance values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }} | |||
}} }} | |||
{{infobox row|label=[[Breaking#Blocks by hardness|Hardness]]|field={{ #if: {{{hardness|}}} | |||
| {{{hardness}}}{{#if: {{NAMESPACE}} || {{translation category|project=0|Pages with overridden hardness}} }} | |||
| {{Hardness values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }} | |||
}} }} | |||
{{infobox row|label=[[Light|Luminant]]|field={{ #if: {{{light|}}} | {{{light}}} | ? [[Category:Missing luminance]] }} }} | |||
{{infobox row|label=[[Opacity|Transparent]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? [[Category:Missing transparency]] }} }} | |||
{{infobox row|label=[[Flammable]]|field={{ #if: {{{flammable|}}} | {{{flammable}}} | ?[[Category:Missing flammability]] }} }} | {{infobox row|label=[[Flammable]]|field={{ #if: {{{flammable|}}} | {{{flammable}}} | ?[[Category:Missing flammability]] }} }} | ||
{{infobox row|label=Catches fire from [[lava]]|field={{ #if: {{{lavasusceptible|}}} | {{{lavasusceptible}}} | ?[[Category:Missing lava susceptibility]] }} }} }} | {{infobox row|label=Catches fire from [[lava]]|field={{ #if: {{{lavasusceptible|}}} | {{{lavasusceptible}}} | ?[[Category:Missing lava susceptibility]] }} }} }} | ||