Template:Basic Infobox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table class="infobox" style="width: 22em; border: 1px solid #a2a9b1; background-color: #f8f9fa; float: right; margin: 0 0 1em 1em; padding: 0.2em; border-collapse: collapse; color: black;"> | |||
<tr> | |||
<th colspan="2" style="font-size: 125%; font-weight: bold; padding: 0.4em; text-align: center; background-color: #cedff2; border-bottom: 1px solid #aaa;"> | |||
{{{name|{{PAGENAME}}}}} | |||
</th> | |||
{{#if:{{{image|}}}| | </tr> | ||
{{#if:{{{caption|}}}| <br/><small>{{{caption}}}</small> }} | {{#if:{{{image|}}}| | ||
<tr> | |||
<td colspan="2" style="text-align:center; padding: 0.8em 0;"> | |||
}} | [[File:{{{image}}}|250px]] | ||
{{#if:{{{caption|}}}| <br/><small>{{{caption}}}</small> }} | |||
{{#if:{{{occupation|}}}| | </td> | ||
</tr> | |||
<tr><td colspan="2" style="border-top: 1px solid #aaa;"></td></tr> | |||
}} | |||
}} | |||
{{#if:{{{location|}}}| | {{#if:{{{occupation|}}}| | ||
<tr> | |||
<th scope="row" style="text-align: left; padding: 4px; width: 40%;">Occupation</th> | |||
<td style="padding: 4px;">{{{occupation}}}</td> | |||
}} | </tr> | ||
}} | |||
{{#if:{{{location|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 4px;">Location</th> | |||
<td style="padding: 4px;">{{{location}}}</td> | |||
</tr> | |||
}} | |||
<tr><td colspan="2" style="border-top: 1px solid #aaa;"></td></tr> | |||
{{#if:{{{footnotes|}}}| | |||
<tr> | |||
<td colspan="2" style="font-size: 90%; text-align: center; padding: 4px;"> | |||
{{{footnotes}}} | |||
</td> | |||
</tr> | |||
}} | |||
</table> | |||
</includeonly> | </includeonly> | ||