Template:Infobox block: Difference between revisions
mNo edit summary |
Re-fixing line break being auto added if you only have 1 image (someone find a better solution to this please). Also adding consistent padding between images. |
||
| 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|}}} | [[File:{{{image2}}}|150px|center]] }} | -->{{ #if: {{{image2|}}} | <div style="padding-top: 10px">[[File:{{{image2}}}|150px|center]]</div> }}<!-- | ||
{{ #if: {{{image3|}}} | [[File:{{{image3}}}|150px|center]] }} | -->{{ #if: {{{image3|}}} | <div style="padding-top: 10px">[[File:{{{image3}}}|150px|center]]</div> }}<!-- | ||
{{ #if: {{{invimage|}}} | [[File:{{{invimage}}}|36px]] {{ #if: {{{invimage2|}}} | [[File:{{{invimage2}}}|36px]] {{ #if: {{{invimage3|}}} | [[File:{{{invimage3}}}|36px]] }} }} }} | -->{{ #if: {{{invimage|}}} | <div style="padding-top: 10px">[[File:{{{invimage}}}|36px]] {{ #if: {{{invimage2|}}} | [[File:{{{invimage2}}}|36px]] {{ #if: {{{invimage3|}}} | [[File:{{{invimage3}}}|36px]] }} }}</div> }} | ||
| rows = | | rows = | ||
{{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }} | {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }} | ||