Template:Infobox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <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.5em; border-collapse: collapse;"> | ||
<caption style="font-size: 125%; font-weight: bold; padding: 0.4em; text-align: center;">{{{name|{{PAGENAME}}}}}</caption> | |||
{{#if:{{{image|}}}| | |||
{{#if:{{{image|}}}| | |||
<tr> | |||
<td colspan="2" style="text-align: center; padding: 0.2em 0.4em;"> | |||
{{#if:{{{caption|}}}| | [[File:{{{image}}}|250px]] | ||
{{#if:{{{caption|}}}|<br><span style="font-size: 90%; color: #54595d; font-style: italic;">{{{caption}}}</span>}} | |||
</td> | |||
}} | </tr> | ||
{{#if:{{{role|}}}| | }} | ||
{{#if:{{{role|}}}| | |||
<tr> | |||
}} | <th scope="row" style="text-align: left; padding: 0.2em 0.4em; width: 35%; font-weight: bold;">Role</th> | ||
{{#if:{{{username|}}}| | <td style="padding: 0.2em 0.4em;">{{{role}}}</td> | ||
</tr> | |||
}} | |||
}} | {{#if:{{{username|}}}| | ||
{{#if:{{{alt_usernames|}}}| | <tr> | ||
<th scope="row" style="text-align: left; padding: 0.2em 0.4em; font-weight: bold;">Username</th> | |||
<td style="padding: 0.2em 0.4em;">{{{username}}}</td> | |||
</tr> | |||
}} | }} | ||
{{#if:{{{socials|}}}| | |||
{{#if:{{{alt_usernames|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.2em 0.4em; font-weight: bold;">Also known as</th> | |||
}} | <td style="padding: 0.2em 0.4em;">{{{alt_usernames}}}</td> | ||
{{#if:{{{vibe|}}}| | </tr> | ||
}} | |||
{{#if:{{{socials|}}}| | |||
}} | <tr> | ||
{{#if:{{{showcase_images|}}}| | <th scope="row" style="text-align: left; padding: 0.2em 0.4em; font-weight: bold;">Socials</th> | ||
<td style="padding: 0.2em 0.4em;">{{{socials}}}</td> | |||
</tr> | |||
}} | |||
}} | {{#if:{{{vibe|}}}| | ||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.2em 0.4em; font-weight: bold;">Vibe</th> | |||
<td style="padding: 0.2em 0.4em;">{{{vibe}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{showcase_images|}}}| | |||
<tr> | |||
<th colspan="2" style="text-align: center; background-color: #eaecf0; font-weight: bold; padding: 0.2em 0.4em; border-top: 1px solid #a2a9b1;">Gallery</th> | |||
</tr> | |||
<tr> | |||
<td colspan="2" style="text-align: center; padding: 0.4em 0.2em;">{{{showcase_images}}}</td> | |||
</tr> | |||
}} | |||
</table></includeonly> | |||