Template:Infobox Wiki: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(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}}}

Revision as of 13:01, 23 November 2023

Note: This template is currently under construction.
This notice was placed here by Jovenan, so go bug her to finish the page if nothing's happening.