Template:Infobox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><table class="infobox" style="width: 22em; float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background-color: #f8f9fa; color: #202122; font-size: 88%; line-height: 1. | <includeonly><table class="infobox" style="width: 22em; float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background-color: #f8f9fa; color: #202122; font-size: 88%; line-height: 1.4em; border-collapse: collapse;"> | ||
<caption style="font-size: 125%; font-weight: bold; padding: 0.4em; text-align: center;">{{{name|{{PAGENAME}}}}}</caption> | <caption style="font-size: 125%; font-weight: bold; padding: 0.5em 0.4em; text-align: center;">{{{name|{{PAGENAME}}}}}</caption> | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
<tr> | <tr> | ||
<td colspan="2" style="text-align: center; padding: 0. | <td colspan="2" style="text-align: center; padding: 0.3em 0.5em 0.6em 0.5em;"> | ||
[[File:{{{image}}}|250px]] | [[File:{{{image}}}|250px]] | ||
{{#if:{{{caption|}}}|< | {{#if:{{{caption|}}}|<div style="font-size: 90%; color: #54595d; font-style: italic; line-height: 1.3em; margin-top: 0.4em; padding-bottom: 0.2em;">{{{caption}}}</div>}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 13: | Line 13: | ||
{{#if:{{{role|}}}| | {{#if:{{{role|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="text-align: left; padding: 0. | <th scope="row" style="text-align: left; padding: 0.35em 0.5em; width: 35%; font-weight: bold; vertical-align: top;">Role</th> | ||
<td style="padding: 0. | <td style="padding: 0.35em 0.5em; vertical-align: top;">{{{role}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 20: | Line 20: | ||
{{#if:{{{username|}}}| | {{#if:{{{username|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="text-align: left; padding: 0. | <th scope="row" style="text-align: left; padding: 0.35em 0.5em; font-weight: bold; vertical-align: top;">Username</th> | ||
<td style="padding: 0. | <td style="padding: 0.35em 0.5em; vertical-align: top;">{{{username}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 27: | Line 27: | ||
{{#if:{{{alt_usernames|}}}| | {{#if:{{{alt_usernames|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="text-align: left; padding: 0. | <th scope="row" style="text-align: left; padding: 0.35em 0.5em; font-weight: bold; vertical-align: top;">Also known as</th> | ||
<td style="padding: 0. | <td style="padding: 0.35em 0.5em; vertical-align: top;">{{{alt_usernames}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 34: | Line 34: | ||
{{#if:{{{socials|}}}| | {{#if:{{{socials|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="text-align: left; padding: 0. | <th scope="row" style="text-align: left; padding: 0.35em 0.5em; font-weight: bold; vertical-align: top;">Socials</th> | ||
<td style="padding: 0. | <td style="padding: 0.35em 0.5em; vertical-align: top;">{{{socials}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 41: | Line 41: | ||
{{#if:{{{vibe|}}}| | {{#if:{{{vibe|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="text-align: left; padding: 0. | <th scope="row" style="text-align: left; padding: 0.35em 0.5em; font-weight: bold; vertical-align: top;">Vibe</th> | ||
<td style="padding: 0. | <td style="padding: 0.35em 0.5em; vertical-align: top;">{{{vibe}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 48: | Line 48: | ||
{{#if:{{{showcase_images|}}}| | {{#if:{{{showcase_images|}}}| | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align: center; background-color: #eaecf0; font-weight: bold; padding: 0. | <th colspan="2" style="text-align: center; background-color: #eaecf0; font-weight: bold; padding: 0.3em 0.5em; border-top: 1px solid #a2a9b1;">Gallery</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td colspan="2" style="text-align: center; padding: 0. | <td colspan="2" style="text-align: center; padding: 0.5em 0.3em 0.6em 0.3em;">{{{showcase_images}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- Spacer row to guarantee breathing room at the bottom of the infobox --> | |||
<tr><td colspan="2" style="padding-bottom: 0.4em;"></td></tr> | |||
</table></includeonly> | </table></includeonly> | ||