Template:Infobox block: Difference between revisions

Undo revision 54263 by SpaceX14 (talk) default image
it's not a *lot* better, but the comments shouldn't be needed this way
Line 1: Line 1:
{{infobox common
{{infobox common
| imagearea =
| imagearea =
[[File:{{ #if: {{{image|}}} | {{{image}}} | No block image.png }}|150px|center]]<!--
[[File:{{ #if: {{{image|}}} | {{{image}}} | No block image.png }}|150px|center]]{{
-->{{ #if: {{{image2|}}} | <div style="padding-top: 10px">[[File:{{{image2}}}|150px|center]]</div> }}<!--
  #if: {{{image2|}}} | <div style="padding-top: 10px">[[File:{{{image2}}}|150px|center]]</div>
-->{{ #if: {{{image3|}}} | <div style="padding-top: 10px">[[File:{{{image3}}}|150px|center]]</div> }}<!--
}}{{
-->{{ #if: {{{invimage|}}} | <div style="padding-top: 10px">[[File:{{{invimage}}}|36px]] {{ #if: {{{invimage2|}}} | &nbsp;[[File:{{{invimage2}}}|36px]] {{ #if: {{{invimage3|}}} | &nbsp;[[File:{{{invimage3}}}|36px]] }} }}</div> }}
  #if: {{{image3|}}} | <div style="padding-top: 10px">[[File:{{{image3}}}|150px|center]]</div>
}}{{
  #if: {{{invimage|}}} | <div style="padding-top: 10px">[[File:{{{invimage}}}|36px]]{{
    #if: {{{invimage2|}}} | &nbsp;[[File:{{{invimage2}}}|36px]]
  }}{{
    #if: {{{invimage3|}}} | &nbsp;[[File:{{{invimage3}}}|36px]]
  }}</div>
}}
| rows =
| rows =
{{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
{{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}