Jump to content

Template:Infobox: Difference between revisions

From Fedoverse Wiki, the free encyclopedia
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{| 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;"
<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;">
|+ style="font-size: 125%; font-weight: bold; padding: 0.2em 0.4em; text-align: center;" | {{{name|{{PAGENAME}}}}}
  <caption style="font-size: 125%; font-weight: bold; padding: 0.4em; text-align: center;">{{{name|{{PAGENAME}}}}}</caption>
{{#if:{{{image|}}}|
 
|-
  {{#if:{{{image|}}}|
| colspan="2" style="text-align: center; padding: 0.2em 0.4em;" | [[File:{{{image}}}|250px]]
  <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>}}
| colspan="2" style="text-align: center; font-size: 90%; padding-bottom: 0.5em; color: #54595d;" | ''{{{caption}}}''
    </td>
}}
  </tr>
{{#if:{{{role|}}}|
  }}
|-
 
! scope="row" style="text-align: left; padding: 0.2em 0.4em; width: 35%; font-weight: bold;" | Role
  {{#if:{{{role|}}}|
| style="padding: 0.2em 0.4em;" | {{{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>
! scope="row" style="text-align: left; padding: 0.2em 0.4em; font-weight: bold;" | Username
  }}
| style="padding: 0.2em 0.4em;" | {{{username}}}
 
}}
  {{#if:{{{username|}}}|
{{#if:{{{alt_usernames|}}}|
  <tr>
|-
    <th scope="row" style="text-align: left; padding: 0.2em 0.4em; font-weight: bold;">Username</th>
! scope="row" style="text-align: left; padding: 0.2em 0.4em; font-weight: bold;" | Also known as
    <td style="padding: 0.2em 0.4em;">{{{username}}}</td>
| style="padding: 0.2em 0.4em;" | {{{alt_usernames}}}
  </tr>
}}
  }}
{{#if:{{{socials|}}}|
 
|-
  {{#if:{{{alt_usernames|}}}|
! scope="row" style="text-align: left; padding: 0.2em 0.4em; font-weight: bold;" | Socials
  <tr>
| style="padding: 0.2em 0.4em;" | {{{socials}}}
    <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>
|-
  }}
! scope="row" style="text-align: left; padding: 0.2em 0.4em; font-weight: bold;" | Vibe
 
| style="padding: 0.2em 0.4em;" | {{{vibe}}}
  {{#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>
! colspan="2" style="text-align: center; background-color: #eaecf0; font-weight: bold; padding: 0.2em 0.4em; border-top: 1px solid #a2a9b1;" | Gallery
  </tr>
|-
  }}
| colspan="2" style="text-align: center; padding: 0.4em 0.2em;" | {{{showcase_images}}}
 
}}
  {{#if:{{{vibe|}}}|
|}</includeonly>
  <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>

Revision as of 13:06, 28 July 2026