Template:Infobox: Difference between revisions
m>Bryan Derksen (changing font size to 88%, as discussed in talk) |
m>Edokter (further font fixes, default width) |
||
Line 1: | Line 1: | ||
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: | <table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"><!-- | ||
Caption | Caption | ||
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 120%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}} | ||
<!-- | <!-- | ||
Header | Header | ||
-->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: | -->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 120%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td></tr>}}<!-- | ||
Image | Image | ||
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; {{{imagestyle|}}}"> {{{image}}} {{#if:{{{caption|}}}|<br /> | -->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; {{{imagestyle|}}}"> {{{image}}} {{#if:{{{caption|}}}|<br /> |