Template:InfoboxCharacter: Difference between revisions

From SLDF Archive
Jump to navigation Jump to search
No edit summary
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;"
{| 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;"
<span style="display:none;">
<style>
/* If a parameter is empty, hide its row */
.row-{{{born|}}} { display: none !important; }
.row-{{{died|}}} { display: none !important; }
.row-{{{affiliation|}}} { display: none !important; }
.row-{{{Rank|}}} { display: none !important; }
.row-{{{Titles|}}} { display: none !important; }
.row-{{{Parents|}}} { display: none !important; }
.row-{{{Siblings|}}} { display: none !important; }
.row-{{{Spouse|}}} { display: none !important; }
.row-{{{Children|}}} { display: none !important; }
/* Force rows with actual data to display normally */
.show-row { display: table-row !important; }
</style>
</span>
|-
|-
! colspan="2" style="background: #002366; color: white; font-size: 120%; font-weight: bold; text-align: center; padding: 8px;" | Personnel Profile
! colspan="2" style="background: #002366; color: white; font-size: 120%; font-weight: bold; text-align: center; padding: 8px;" | Personnel Profile
Line 14: Line 31:
|-
|-
! colspan="2" style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;" | Status
! colspan="2" style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;" | Status
|-
 
|- class="row-{{{born|}}} show-row"
! Born
! Born


| {{{born|}}}
| {{{born|}}}
|-
|- class="row-{{{died|}}} show-row"
! Died
! Died


Line 24: Line 42:
|-
|-
! colspan="2" style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;" | Career
! colspan="2" style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;" | Career
|-
 
|- class="row-{{{affiliation|}}} show-row"
! Affiliation
! Affiliation


| {{{affiliation|}}}
| {{{affiliation|}}}
|-
|- class="row-{{{Rank|}}} show-row"
! Rank
! Rank


| {{{Rank|}}}
| {{{Rank|}}}
|-
|- class="row-{{{Titles|}}} show-row"
! Titles
! Titles


Line 38: Line 57:
|-
|-
! colspan="2" style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;" | Family
! colspan="2" style="background: #002366; color: white; font-weight: bold; text-align: center; padding: 6px; font-size: 110%;" | Family
|-
 
|- class="row-{{{Parents|}}} show-row"
! Parents
! Parents


| {{{Parents|}}}
| {{{Parents|}}}
|-
|- class="row-{{{Siblings|}}} show-row"
! Siblings
! Siblings


| {{{Siblings|}}}
| {{{Siblings|}}}
|-
|- class="row-{{{Spouse|}}} show-row"
! Spouse
! Spouse


| {{{Spouse|}}}
| {{{Spouse|}}}
|-
|- class="row-{{{Children|}}} show-row"
! Children
! Children



Revision as of 22:27, 3 July 2026

<style> /* If a parameter is empty, hide its row */ .row- { display: none !important; } .row- { display: none !important; } .row- { display: none !important; } .row- { display: none !important; } .row- { display: none !important; } .row- { display: none !important; } .row- { display: none !important; } .row- { display: none !important; } .row- { display: none !important; } /* Force rows with actual data to display normally */ .show-row { display: table-row !important; } </style>
Personnel Profile
InfoboxCharacter
Status
Born
Died
Career
Affiliation
Rank
Titles
Family
Parents
Siblings
Spouse
Children