Template:Infobox: Difference between revisions

Template page
(Oops)
(Added styles, removed tbody (not supported))
Line 1: Line 1:
<table class="infobox" style="width:22em">
<table class="infobox" style="border: 1px solid #aaa; border-spacing: 3px; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; width:22em">
{{#if:{{{title|}}}|<caption>{{{title}}}</caption>}}
{{#if:{{{title|}}}|<caption>{{{title}}}</caption>}}
<tbody>
{{#if:{{{above|}}}|<tr><th colspan="2" style="text-align:center;font-size:125%;font-weight:bold">{{{above}}}</th></tr>}}
{{#if:{{{above|}}}|<tr><th colspan="2" style="text-align:center;font-size:125%;font-weight:bold">{{{above}}}</th></tr>}}
</tbody>
</table>
</table>

Revision as of 20:42, 27 August 2016