Template:Infobox block: Difference between revisions

No edit summary
turned durability into a basic parameter, it was applied by default to every single page using this template, along with a maintenance category, this is only meant to be used for Earth, so neither of these things should happen
Line 63: Line 63:
| {{Hardness values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }}
| {{Hardness values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }}
}} }}
}} }}
{{infobox row|label=Durability|field={{ #if: {{{durability|}}} | {{{durability}}} | ? {{#if: {{NAMESPACE}} || {{translation category|project=0|Missing durability}}}} }} }}
{{#if: {{{durability|}}} |{{infobox row|Durability|{{{durability|}}}}}}}
{{infobox row|label=[[Light|Luminous]]|field={{ #if: {{{light|}}} | {{{light}}} {{#if: {{{lightLevel|}}} |  ({{{lightLevel}}}) }} | ? {{#if: {{NAMESPACE}} || {{translation category|project=0|Missing luminance}}}} }} }}
{{infobox row|label=[[Light|Luminous]]|field={{ #if: {{{light|}}} | {{{light}}} {{#if: {{{lightLevel|}}} |  ({{{lightLevel}}}) }} | ? {{#if: {{NAMESPACE}} || {{translation category|project=0|Missing luminance}}}} }} }}
{{infobox row|label=[[Opacity|Transparent]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? {{#if: {{NAMESPACE}} || {{translation category|project=0|Missing transparency}}}} }} }}
{{infobox row|label=[[Opacity|Transparent]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? {{#if: {{NAMESPACE}} || {{translation category|project=0|Missing transparency}}}} }} }}