Template:Infobox Wiki: Difference between revisions

Images didn't work as expected when transcluded to templates. Leaving it for secondary templates for now.
(moving subheader style to Template:Infobox row and inline to avoid leaking to other infoboxes in same page (pity, it was so useful))
(Images didn't work as expected when transcluded to templates. Leaving it for secondary templates for now.)
Line 9: Line 9:


}}{| class="toccolours tmpl-infobox-wiki" style="clear:left; float:right; margin:0 0 0.5em 1em; width:22em; font-size:smaller;"
}}{| class="toccolours tmpl-infobox-wiki" style="clear:left; float:right; margin:0 0 0.5em 1em; width:22em; font-size:smaller;"
|colspan=2 style="text-align:center;" | {{#if: {{{image|}}}|[[File:{{{image}}}|{{{image size|210px}}}]]{{#if: {{{image text|}}}|<br><span style=font-size:90%>{{{image text}}}</span>}}}}
|colspan=2 style="text-align:center;" | {{#if: {{{image|}}}|{{{image}}}{{#if: {{{image text|}}}|<br><span style=font-size:90%>{{{image text}}}</span>}}}}
|-
|-
!colspan=2 style="background-color: {{{header color|grey}}}; color:{{{header text color|black}}}; font-size:larger; font-weight: bold; text-align: center;" |{{{name}}}
!colspan=2 style="background-color: {{{header color|grey}}}; color:{{{header text color|black}}}; font-size:larger; font-weight: bold; text-align: center;" |{{{name}}}
1,769

edits