Template:Infobox block: Difference between revisions

well, not per se, but it seems others are smarter than I am =D 
we can at least do this, though (this lets all the translation subpages use the proper values)
Line 29: Line 29:
{{infobox row|label=[[Opacity|Transparency]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }}
{{infobox row|label=[[Opacity|Transparency]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }}
{{infobox row|label=[[Light|Luminance]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }}
{{infobox row|label=[[Light|Luminance]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }}
{{infobox row|label=[[Explosion#Blast_Resistance|Blast Resistance]] <sup>[{{fullurl|Template:Blast Resistance Values|action{{=}}edit|text=edit}}]</sup>|field={{ #if: {{{tntres|}}} | {{{tntres}}} | {{Blast Resistance Values | {{PAGENAME}} }} }} }}
{{infobox row|label=[[Explosion#Blast_Resistance|Blast Resistance]] <sup>[{{fullurl|Template:Blast Resistance Values|action{{=}}edit|text=edit}}]</sup>|field={{ #if: {{{tntres|}}} | {{{tntres}}} | {{Blast Resistance Values | {{ #titleparts: {{PAGENAME}} | 1 | 1 }} }} }} }}
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{
   #switch: {{ lc: {{{tool|}}} }}
   #switch: {{ lc: {{{tool|}}} }}