Template:InfoboxCharacter: Difference between revisions

From SLDF Archive
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
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;"
<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;">
|-
! 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 INFOCARD 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>
 
  <!-- NATIVE GALLERY CAROUSEL CONTAINER -->
  <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 PROFILE 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>
|-
 
! Born
  <!-- STATUS BLOCK -->
  <div style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;">Status</div>
 
  <div style="display: flex; margin: 0; 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; box-sizing: border-box;">Born</div>
    <div style="width: 65%; padding: 6px; margin: 0; box-sizing: border-box;">{{{born|}}}</div>
  </div>
 
  <div style="display: flex; margin: 0; 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; box-sizing: border-box;">Died</div>
    <div style="width: 65%; padding: 6px; margin: 0; box-sizing: border-box;">{{{died|}}}</div>
  </div>
 
  <!-- CAREER BLOCK -->
  <div style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;">Career</div>


| {{{born|}}}
  <div style="display: flex; margin: 0; 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; box-sizing: border-box;">Affiliation</div>
! Died
    <div style="width: 65%; padding: 6px; margin: 0; box-sizing: border-box;">{{{affiliation|}}}</div>
  </div>


| {{{died|}}}
  <div style="display: flex; margin: 0; 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; box-sizing: border-box;">Rank</div>
! colspan="2" style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;" | Career
    <div style="width: 65%; padding: 6px; margin: 0; box-sizing: border-box;">{{{Rank|}}}</div>
|-
  </div>
! Affiliation


| {{{affiliation|}}}
  <div style="display: flex; margin: 0; 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; box-sizing: border-box;">Titles</div>
! Rank
    <div style="width: 65%; padding: 6px; margin: 0; box-sizing: border-box;">{{{titles|}}}</div>
  </div>


| {{{Rank|}}}
  <!-- FAMILY BLOCK -->
|-
  <div style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;">Family</div>
! Titles


| {{{Titles|}}}
  <div style="display: flex; margin: 0; 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; box-sizing: border-box;">Parents</div>
! colspan="2" style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;" | Family
    <div style="width: 65%; padding: 6px; margin: 0; box-sizing: border-box;">{{{Parents|}}}</div>
|-
  </div>
! Parents


| {{{Parents|}}}
  <div style="display: flex; margin: 0; 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; box-sizing: border-box;">Siblings</div>
! Siblings
    <div style="width: 65%; padding: 6px; margin: 0; box-sizing: border-box;">{{{Siblings|}}}</div>
  </div>


| {{{Siblings|}}}
  <div style="display: flex; margin: 0; 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; flex-shrink: 0; box-sizing: border-box;">Spouse</div>
! Spouse
    <div style="width: 65%; padding: 6px; margin: 0; box-sizing: border-box;">{{{Spouse|}}}</div>
  </div>


| {{{Spouse|}}}
  <div style="display: flex; margin: 0; 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; flex-shrink: 0; box-sizing: border-box;">Children</div>
! Children
    <div style="width: 65%; padding: 6px; margin: 0; box-sizing: border-box;">{{{Children|}}}</div>
  </div>


| {{{Children|}}}
</div>
|}
<noinclude>
<noinclude>

Revision as of 22:43, 3 July 2026

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