Template:InfoboxCharacter: Difference between revisions

From SLDF Archive
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
{| class="wikitable" style="float: right; clear: right; width: 300px; border: 8px solid #000000; outline: 2px solid #000000; outline-offset: 3px; background: #f9f9f9; font-size: 90%; margin: 8px 8px 1em 1em; border-collapse: collapse;"
<div style="float: right; clear: right; width: 300px; border: 8px solid #000000; outline: 2px solid #000000; outline-offset: 3px; background: #f9f9f9; font-size: 90%; margin: 8px 8px 1em 1em; box-sizing: border-box; font-family: sans-serif; line-height: 1.5;">
|-
! colspan="2" style="background: #002366; color: white; font-size: 120%; font-weight: bold; text-align: center; padding: 8px;" | Personnel Profile
|-


| colspan="2" style="text-align: center;" |
  <!-- MAIN HEADER -->
<gallery mode="slideshow" widths="284px" heights="200px">
  <div style="background: #002366; color: white; font-size: 120%; font-weight: bold; text-align: center; padding: 8px;">Personnel Profile</div>
 
  <!-- GALLERY SLIDESHOW CAROUSEL -->
  <div style="text-align: center; background: #ffffff; padding: 4px; border-bottom: 1px solid #ccc;">
<gallery mode="slideshow" widths="280px" heights="200px">
File:{{{image1|insert image}}}|{{{caption1|}}}
File:{{{image1|insert image}}}|{{{caption1|}}}
File:{{{image2|insert image}}}|{{{caption2|}}}
File:{{{image2|insert image}}}|{{{caption2|}}}
File:{{{image3|insert image}}}|{{{caption3|}}}
File:{{{image3|insert image}}}|{{{caption3|}}}
</gallery>
</gallery>
|-
  </div>
! colspan="2" style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;" | {{{name|{{PAGENAME}}}}}
 
|-
  <!-- CHARACTER NAME HEADER -->
! colspan="2" style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;" | Status
  <div style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%; border-bottom: 1px solid #ccc;">{{{name|{{PAGENAME}}}}}</div>
|-
 
  <!-- STATUS SECTION -->
  <div style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;">Status</div>
 
  <div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{born|}}}); overflow: hidden;">
    <div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc; flex-shrink: 0;">Born</div>
    <div style="width: 65%; padding: 6px;">{{{born|}}}</div>
  </div>
 
  <div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{died|}}}); overflow: hidden;">
    <div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc; flex-shrink: 0;">Died</div>
    <div style="width: 65%; padding: 6px;">{{{died|}}}</div>
  </div>
 
  <!-- CAREER SECTION -->
  <div style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;">Career</div>
 
  <div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{affiliation|}}}); overflow: hidden;">
    <div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc; flex-shrink: 0;">Affiliation</div>
    <div style="width: 65%; padding: 6px;">{{{affiliation|}}}</div>
  </div>
 
  <div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{Rank|}}}); overflow: hidden;">
    <div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc; flex-shrink: 0;">Rank</div>
    <div style="width: 65%; padding: 6px;">{{{Rank|}}}</div>
  </div>
 
  <div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{titles|}}}); overflow: hidden;">
    <div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc; flex-shrink: 0;">Titles</div>
    <div style="width: 65%; padding: 6px;">{{{titles|}}}</div>
  </div>
 
  <!-- FAMILY SECTION -->
  <div style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;">Family</div>
 
  <div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{Parents|}}}); overflow: hidden;">
    <div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc; flex-shrink: 0;">Parents</div>
    <div style="width: 65%; padding: 6px;">{{{Parents|}}}</div>
  </div>
 
  <div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{Siblings|}}}); overflow: hidden;">
    <div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc; flex-shrink: 0;">Siblings</div>
    <div style="width: 65%; padding: 6px;">{{{Siblings|}}}</div>
  </div>


| colspan="2" style="padding: 0; border: none;" |
  <div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{Spouse|}}}); overflow: hidden;">
<div style="display: flex; flex-direction: column;">
    <div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc; flex-shrink: 0;">Spouse</div>
<div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{born|}}}); overflow: hidden;">
    <div style="width: 65%; padding: 6px;">{{{Spouse|}}}</div>
<div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc;">Born</div>
  </div>
<div style="width: 65%; padding: 6px;">{{{born|}}}</div>
</div>
<div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{died|}}}); overflow: hidden;">
<div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc;">Died</div>
<div style="width: 65%; padding: 6px;">{{{died|}}}</div>
</div>
</div>
|-
! colspan="2" style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;" | Career
|-


| colspan="2" style="padding: 0; border: none;" |
  <div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{Children|}}}); overflow: hidden;">
<div style="display: flex; flex-direction: column;">
    <div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc; flex-shrink: 0;">Children</div>
<div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{affiliation|}}}); overflow: hidden;">
    <div style="width: 65%; padding: 6px;">{{{Children|}}}</div>
<div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc;">Affiliation</div>
  </div>
<div style="width: 65%; padding: 6px;">{{{affiliation|}}}</div>
</div>
<div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{Rank|}}}); overflow: hidden;">
<div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc;">Rank</div>
<div style="width: 65%; padding: 6px;">{{{Rank|}}}</div>
</div>
<div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{titles|}}}); overflow: hidden;">
<div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc;">Titles</div>
<div style="width: 65%; padding: 6px;">{{{titles|}}}</div>
</div>
</div>
|-
! colspan="2" style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;" | Family
|-


| colspan="2" style="padding: 0; border: none;" |
<div style="display: flex; flex-direction: column;">
<div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{Parents|}}}); overflow: hidden;">
<div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc;">Parents</div>
<div style="width: 65%; padding: 6px;">{{{Parents|}}}</div>
</div>
<div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{Siblings|}}}); overflow: hidden;">
<div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc;">Siblings</div>
<div style="width: 65%; padding: 6px;">{{{Siblings|}}}</div>
</div>
<div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{Spouse|}}}); overflow: hidden;">
<div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc;">Spouse</div>
<div style="width: 65%; padding: 6px;">{{{Spouse|}}}</div>
</div>
<div style="display: flex; border-bottom: 1px solid #ccc; max-height: var(--h-{{{Children|}}}); overflow: hidden;">
<div style="width: 35%; font-weight: bold; background: #f2f2f2; padding: 6px; border-right: 1px solid #ccc;">Children</div>
<div style="width: 65%; padding: 6px;">{{{Children|}}}</div>
</div>
</div>
</div>
|}
<noinclude>
<noinclude>

Revision as of 22:37, 3 July 2026

Personnel Profile
InfoboxCharacter
Status
Born
Died
Career
Affiliation
Rank
Titles
Family
Parents
Siblings
Spouse
Children