Template:Basic Infobox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table class="infobox | <table class="infobox"> | ||
<tr> | |||
<tr | <th colspan="2" class="infobox-header" style="font-size: 125%; font-weight: bold; padding: 0.6em; text-align: center;"> | ||
<th colspan="2" style="font-size: 125%; font-weight: bold; padding: 0.6em; text-align: center | |||
{{{name|{{PAGENAME}}}}} | {{{name|{{PAGENAME}}}}} | ||
</th> | </th> | ||
</tr> | </tr> | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
<tr | <tr> | ||
<td colspan="2" style="text-align:center; padding: 0.8em 0 | <td colspan="2" style="text-align:center; padding: 0.8em 0;"> | ||
[[File:{{{image}}}|250px]] | [[File:{{{image}}}|250px]] | ||
{{#if:{{{caption|}}}| <br/><small | {{#if:{{{caption|}}}| <br/><small>{{{caption}}}</small> }} | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr | <tr><td colspan="2" class="infobox-separator" style="height: 0; padding: 0;"></td></tr> | ||
}} | }} | ||
{{#if:{{{occupation|}}}| | {{#if:{{{occupation|}}}| | ||
<tr | <tr> | ||
<th scope="row" style="text-align: left; padding: 8px 12px; width: 40% | <th scope="row" style="text-align: left; padding: 8px 12px; width: 40%; font-size: 90%;">Occupation</th> | ||
<td style="padding: 8px 12px | <td style="padding: 8px 12px; font-size: 90%;">{{{occupation}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{location|}}}| | {{#if:{{{location|}}}| | ||
<tr | <tr> | ||
<th scope="row" style="text-align: left; padding: 8px 12px | <th scope="row" style="text-align: left; padding: 8px 12px; font-size: 90%;">Location</th> | ||
<td style="padding: 8px 12px | <td style="padding: 8px 12px; font-size: 90%;">{{{location}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{footnotes|}}}| | {{#if:{{{footnotes|}}}| | ||
<tr | <tr><td colspan="2" class="infobox-separator" style="height: 0; padding: 0;"></td></tr> | ||
<tr | <tr> | ||
<td colspan="2" style="font-size: 85%; text-align: center; padding: 10px | <td colspan="2" style="font-size: 85%; text-align: center; padding: 10px; color: #555;"> | ||
{{{footnotes}}} | {{{footnotes}}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
}} | }} | ||
</table> | </table> | ||
</includeonly> | </includeonly> | ||