Template:Infobox block: Difference between revisions
m remove extra whitespace |
m Revert consecutive edits by Sonicwave32 (talk) causes defaults to not show as the parameters are always specified with no value |
||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:infobox|infobox | <includeonly>{{#invoke:infobox|infobox | ||
| rows = | | rows = | ||
{{infobox row|label=[[Opacity|Transparent]]|field={{{transparent|? | {{infobox row|label=[[Opacity|Transparent]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }} | ||
{{infobox row|label=[[Light|Luminance]]|field={{{light|? | {{infobox row|label=[[Light|Luminance]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }} | ||
{{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}} }} | ||
| {{Blast resistance values | {{{title|{{#titleparts: {{BASEPAGENAME | | {{Blast resistance values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }} | ||
}} }} | }} }} | ||
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|class=pixel-image|field={{ | {{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|class=pixel-image|field={{ | ||
| Line 40: | Line 40: | ||
}} | }} | ||
}} }} | }} }} | ||
{{infobox row|label=[[Renewable resource|Renewable]]|field={{{renewable|? | {{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }} | ||
{{infobox row|label=Stackable|field={{{stackable|N/A | {{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A }} }} | ||
{{infobox row|label=Flammable|field={{{flammable|No | {{infobox row|label=Flammable|field={{ #if: {{{flammable|}}} | {{{flammable}}} | No }} }} | ||
{{#if: {{{availability|}}} | {{infobox row|label=Availability|field={{{availability}}}}} }} | {{#if: {{{availability|}}} | {{infobox row|label=Availability|field={{{availability}}}}} }} | ||
{{#if: {{{experience|}}} | {{infobox row | label= [[Experience]] | field= {{{experience}}} }} }} | {{#if: {{{experience|}}} | {{infobox row | label= [[Experience]] | field= {{{experience}}} }} }} | ||
| Line 56: | Line 56: | ||
| {{#if: {{NAMESPACE}} | | {{#if: {{NAMESPACE}} | ||
| ? | | ? | ||
| {{lc: {{#replace: {{{title|{{BASEPAGENAME | | {{lc: {{#replace: {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} || _ }} }} | ||
}} | }} | ||
}}}} | }}}} | ||