Template:Infobox block: Difference between revisions

No edit summary
No edit summary
Line 2: Line 2:
| rows =
| rows =
{{#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=[[Opacity|Transparent]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }}
{{infobox row|label=[[Opacity|Transparent]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? [[Category:Missing transparency]] }} }}
{{infobox row|label=[[Light|Luminance]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }}
{{infobox row|label=[[Light|Luminance]]|field={{ #if: {{{light|}}} | {{{light}}} | ? [[Category:Missing luminance]] }} }}
{{infobox row|label=[[Explosion#Blast resistance|Blast resistance]]|field={{ #if: {{{tntres|}}}
{{infobox row|label=[[Explosion#Blast resistance|Blast resistance]]|field={{ #if: {{{tntres|}}}
| {{{tntres}}}{{#if: {{NAMESPACE}} || {{translation category|project=0|Pages with overridden tntres}} }}
| {{{tntres}}}{{#if: {{NAMESPACE}} || {{translation category|project=0|Pages with overridden tntres}} }}
Line 42: Line 42:
}} }}
}} }}
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }}
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }}
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A }} }}
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A [[Category:Missing stackability]] }} }}
{{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]] }} }}