Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Character Data: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
No edit summary
Joe Beaudoin Jr. (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>{| class="infobox" cellspacing="5"
<includeonly>{{#if:{{{gender|}}}|{{#genealogy:person|gender={{{gender}}}}}}}
|-
| colspan="2" style="display:none;" |
{{#if:{{{gender|}}}|{{#genealogy:person|gender={{{gender}}}}}}}
{{#if:{{{gen_birthdate|{{{birthdate|}}}}}}|{{#genealogy:description|{{{gen_birthdate|{{{birthdate}}}}}}}}}}
{{#if:{{{gen_birthdate|{{{birthdate|}}}}}}|{{#genealogy:description|{{{gen_birthdate|{{{birthdate}}}}}}}}}}
{{#if:{{{spouse|}}}|{{#genealogy:partner|{{{spouse}}}}}}}
{{#if:{{{spouse|}}}|{{#genealogy:partner|{{{spouse}}}}}}}
Line 12: Line 9:
{{#if:{{{step_parent 1|}}}|{{#genealogy:step_parent|{{{step_parent 1}}}}}}}
{{#if:{{{step_parent 1|}}}|{{#genealogy:step_parent|{{{step_parent 1}}}}}}}
{{#if:{{{step_parent 2|}}}|{{#genealogy:step_parent|{{{step_parent 2}}}}}}}
{{#if:{{{step_parent 2|}}}|{{#genealogy:step_parent|{{{step_parent 2}}}}}}}
{| class="infobox" cellspacing="5"
|- class="infoboxheader"
|- class="infoboxheader"
| colspan="2"|
| colspan="2" |
{|  
{| style="background:transparent; width:100%;" cellspacing="0" cellpadding="0"
|- style="text-align: left; font-size: larger;" cellpadding="0" cellspacing="0" width="100%"
|- style="text-align: left; font-size: larger;"
| width="27" | {{Series Icon|series={{{series|}}}}}
| width="27" | {{Series Icon|series={{{series|}}}}}
| width="{{#if:{{{series 2|}}}|27|0}}" | {{#if:{{{series 2|}}}|{{Series Icon|series={{{series 2|}}}}}|}}
| width="{{#if:{{{series 2|}}}|27|0}}" | {{#if:{{{series 2|}}}|{{Series Icon|series={{{series 2|}}}}}|}}
| width="{{#if:{{{series 3|}}}|27|0}}" | {{#if:{{{series 3|}}}|{{Series Icon|series={{{series 3|}}}}}|}}
| width="{{#if:{{{series 3|}}}|27|0}}" | {{#if:{{{series 3|}}}|{{Series Icon|series={{{series 3|}}}}}|}}
| style="text-align: center;" width="95%" | '''{{{title|{{PAGENAME}}}}}'''
| style="text-align: center;" | '''{{{title|{{PAGENAME}}}}}'''
|}
|}
|-
|-
|- class="hiddenStructure{{#if:{{{photo|}}}|Y|}}"
{{#if:{{{photo|}}}|
| colspan="2" style="text-align: center;" | [[File:{{{photo|}}}|300px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption|}}}|<br/> {{{caption|}}}|}}
{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{photo}}}|300px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption|}}}|<br/> {{{caption}}}|}}
|- {{#if:{{{spoilers|}}}|class="hiddenStructure{{void}}"}}
| colspan="2" style="text-align:center;" | <span class="mw-customtoggle-infobox" style="color: var(--color-link);">[show/hide spoilers]</span><br/><small>Spoilers hidden in infobox by default only.</small>
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{name|}}}|Y|}}"
| style="white-space: nowrap;" |
{{#switch:{{{cylon}}}
| Y | y | Yes | yes = '''Human Name'''
| #default='''Name'''
}}
}}
| {{{name}}}
|- {{#if:{{{spoilers|}}}||style="display:none;"}}
|- style="vertical-align: top; text-align: left;" {{#if:{{{age|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{age|}}}|Y|}}"
| colspan="2" style="text-align:center;" | <span class="mw-customtoggle-infobox" style="color: var(--color-link); cursor: pointer;">[show/hide spoilers]</span><br/><small>Spoilers hidden in infobox by default.</small>
|- style="vertical-align: top; text-align: left;"
{{#if:{{{name|}}}|
{{!}} style="white-space: nowrap;" {{!}} {{#if:{{#switch:{{{cylon|}}}|Y|y|Yes|yes=1}}{{#switch:{{{5cylon|}}}|Y|y|Yes|yes=1}}{{#switch:{{{hcylon|}}}|Y|y|Yes|yes=1}}{{#switch:{{{mcylon|}}}|Y|y|Yes|yes=1}}|'''Human Name'''|'''Name'''}}
{{!}} {{{name}}}
}}
|- style="vertical-align: top; text-align: left;" {{#if:{{{age|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
| '''Age'''
| '''Age'''
| {{{age}}}
| {{{age}}}
|- style="vertical-align: top; text-align: left;" {{#if:{{{colony|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{colony|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{colony|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
| '''Colony'''
| '''Colony'''
| {{{colony}}}
| {{{colony}}}
|- style="vertical-align: top; text-align: left;" {{#if:{{{birthplace|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{birthplace|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{birthplace|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
| '''Birth place'''
| '''Birthplace'''
| {{{birthplace}}}
| {{{birthplace}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{birthname|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{birthname|}}}||style="display:none;"}}
| style="white-space: nowrap;" | '''Birth Name'''  
| style="white-space: nowrap;" | '''Birth Name'''  
| {{{birthname}}}
| {{{birthname}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{birthdate|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{birthdate|}}}||style="display:none;"}}
| style="white-space: nowrap;" | '''Birth Date'''  
| style="white-space: nowrap;" | '''Birth Date'''  
| {{{birthdate}}}
| {{{birthdate}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{callsign|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{callsign|}}}||style="display:none;"}}
| '''Callsign'''
| '''Callsign'''
| {{{callsign}}}
| {{{callsign}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{nickname|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{nickname|}}}||style="display:none;"}}
| '''Nickname'''
| '''Nickname'''
| {{{nickname}}}
| {{{nickname}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{seen|}}}{{{seenref|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{seen|}}}{{{seenref|}}}||style="display:none;"}}
| style="white-space: nowrap;" | '''Introduced'''
| style="white-space: nowrap;" | '''Introduced'''
| {{#if:{{{seenref|}}}|{{{seenref|}}}|{{#if:{{{pseen|}}}|[[{{{seen}}}|{{{pseen}}}]]|[[{{{seen}}}]]}}}}
| {{#if:{{{seenref|}}}|{{{seenref}}}|{{#if:{{{pseen|}}}|[[{{{seen}}}|{{{pseen}}}]]|[[{{{seen}}}]]}}}}
|- style="vertical-align: top; text-align: left;" {{#if:{{{lastseen|}}}{{{lastseenref|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{lastseen|}}}{{{lastseenref|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{lastseen|}}}{{{lastseenref|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
| '''Last Known Appearance'''
| '''Last Appearance'''
| {{#if:{{{lastseenref|}}}|{{{lastseenref|}}}|{{#if:{{{plastseen|}}}|[[{{{lastseen}}}|{{{plastseen}}}]]|[[{{{lastseen}}}]]}}}}
| {{#if:{{{lastseenref|}}}|{{{lastseenref}}}|{{#if:{{{plastseen|}}}|[[{{{lastseen}}}|{{{plastseen}}}]]|[[{{{lastseen}}}]]}}}}
|- style="vertical-align: top; text-align: left;" {{#if:{{{death|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{death|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{death|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
| '''Death'''
| '''Death'''
| {{{death}}}
| {{{death}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{parents|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{parents|}}}||style="display:none;"}}
| '''Parents'''
| '''Parents'''
| {{{parents}}}
| {{{parents}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{step_parents|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{step_parents|}}}||style="display:none;"}}
| '''Step-Parents'''
| '''Step-Parents'''
| {{{step_parents}}}
| {{{step_parents}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{siblings|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{siblings|}}}||style="display:none;"}}
| '''Siblings'''
| '''Siblings'''
| {{{siblings}}}
| {{{siblings}}}
|- style="vertical-align: top; text-align: left;" {{#if:{{{children|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{children|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{children|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
| '''Children'''
| '''Children'''
| {{{children}}}
| {{{children}}}
|- style="vertical-align: top; text-align: left;" {{#if:{{{marital status|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{marital status|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{marital status|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
| style="white-space: nowrap;" | '''Marital Status'''
| style="white-space: nowrap;" | '''Marital Status'''
| {{{marital status}}}
| {{{marital status}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{familytree|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{familytree|}}}||style="display:none;"}}
| style="white-space: nowrap;" | '''Family Tree'''
| style="white-space: nowrap;" | '''Family Tree'''
| [[#Family tree|View]]
| [[#Family tree|View]]
|- style="vertical-align: top; text-align: left;" {{#if:{{{role|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{role|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{role|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
| '''Role'''
| '''Role'''
| {{{role}}}
| {{{role}}}
|- style="vertical-align: top; text-align: left;" {{#if:{{{rank|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{rank|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{rank|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
| '''Rank'''
| '''Rank'''
| {{{rank}}}
| {{{rank}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{serial|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{serial|}}}||style="display:none;"}}
| '''Serial Number'''
| '''Serial Number'''
| {{{serial}}}
| {{{serial}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{actor|}}}|Y|}}"
|- style="vertical-align: top; text-align: left;" {{#if:{{{actor|}}}||style="display:none;"}}
| style="white-space: nowrap;" | '''Portrayed by'''
| style="white-space: nowrap;" | '''Portrayed by'''
| style="white-space: nowrap;" | {{{actor}}}
| {{{actor}}}
|- style="vertical-align: top; text-align: center;" {{#if:{{{cylon|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{cylon|}}}|Y|}}"
|- style="vertical-align: top; text-align: center;" {{#if:{{{cylon|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
| colspan="2" | {{{title|{{PAGENAME}}}}} is a [[Humanoid Cylon|Cylon]]
| colspan="2" | {{{title|{{PAGENAME}}}}} is a [[Humanoid Cylon|Cylon]]
|- style="vertical-align: top; text-align: center;" {{#if:{{{5cylon|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{5cylon|}}}|Y|}}"
|- style="vertical-align: top; text-align: center;" {{#if:{{{5cylon|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}}
| colspan="2" | {{{title|{{PAGENAME}}}}} is a [[Final Five]] [[Humanoid Cylon|Cylon]]
| colspan="2" | {{{title|{{PAGENAME}}}}} is a [[Final Five]] [[Humanoid Cylon|Cylon]]
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{hcylon|}}}|Y|}}"
|- style="vertical-align: top; text-align: center;" {{#if:{{{hcylon|}}}||style="display:none;"}}
| colspan="2" | {{{title|{{PAGENAME}}}}} is a [[Humanoid_Cylon#Human.2FCylon_Hybrids|Human/Cylon Hybrid]]
| colspan="2" | {{{title|{{PAGENAME}}}}} is a [[Humanoid_Cylon#Human.2FCylon_Hybrids|Human/Cylon Hybrid]]
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{mcylon|}}}|Y|}}"
|- style="vertical-align: top; text-align: center;" {{#if:{{{mcylon|}}}||style="display:none;"}}
| colspan="2" | {{{title|{{PAGENAME}}}}} is an Original Series Cylon
| colspan="2" | {{{title|{{PAGENAME}}}}} is an Original Series Cylon
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{archives|}}}{{{media|}}}|Y|}}"
|-
! class="infoboxheader" colspan="2" | Related Media
{{#if:{{{archives|}}}{{{media|}}}|
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{archives|}}}{{{media|}}}|Y|}}"
! class="infoboxheader" colspan="2" {{!}} Related Media
| {{#if:{{{media|}}}||colspan="2"}} style="white-space: nowrap;" class="hiddenStructure{{#if:{{{archives|}}}|Y|}}" | {{#if:{{{archives|}}}|[[Gallery:{{PAGENAME}}|Photo Gallery]]}}
}}
| {{#if:{{{archives|}}}||colspan="2"}} style="white-space: nowrap;" class="hiddenStructure{{#if:{{{media|}}}|Y|}}" | {{#if:{{{media|}}}|[[md:{{{media|}}}|@ BW Media]]}}
|- style="text-align: center;"
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{sepcon|}}}{{{primecon|}}}|Y|}}"
{{#if:{{{archives|}}}|{{!}} {{#if:{{{media|}}}||colspan="2"}} {{!}} [[Gallery:{{PAGENAME}}|Photo Gallery]] }}
! class="infoboxheader" colspan="2" | Additional Information
{{#if:{{{media|}}}|{{!}} {{#if:{{{archives|}}}||colspan="2"}} {{!}} [[md:{{{media}}}|@ BW Media]] }}
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{sepcon|}}}|Y|}}"
|-
| colspan="2" | {{#if:{{{sepcon|}}}|[[{{{sepcon title|{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}} alternate)|(alternate)}}}}}|{{#if:{{{sepcon title|}}}|{{#explode:{{{sepcon title}}}|(|0}}|{{{title|{{PAGENAME}}}}}}} in the separate continuity]]}}
{{#if:{{{sepcon|}}}{{{primecon|}}}|
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{primecon|}}}|Y|}}"
! class="infoboxheader" colspan="2" {{!}} Additional Information
| colspan="2" | {{#if:{{{primecon|}}}|[[{{{primecon title|{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}})|}}}}}|{{#if:{{{primecon title|}}}|{{#explode:{{{primecon title}}}|(|0}}|{{{title|{{PAGENAME}}}}}}} in the primary continuity]]}}
}}
|- class="hiddenStructure{{#if:{{{photo 2|}}}|Y|}}"
|- style="text-align: center;"
| colspan="2" style="text-align: center;" | [[File:{{{photo 2|}}}|300px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 2|}}}|<br/> {{{caption 2|}}}|}}
{{#if:{{{sepcon|}}}|
|- class="hiddenStructure{{#if:{{{debug|}}}|Y|}}"
{{!}} colspan="2" {{!}} [[{{{sepcon title|{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}} alternate)|(alternate)}}}}}|{{#if:{{{sepcon title|}}}|{{#explode:{{{sepcon title}}}|(|0}}|{{{title|{{PAGENAME}}}}}}} in the separate continuity]]
| colspan="2" style="font-size: 0.8em; background: #fee; border: 1px solid #faa; padding: 5px;" | '''Genealogy Debug:'''<br/>Partners: {{#genealogy:partners}}<br/>Children: {{#genealogy:children}}
}}
|- style="text-align: center;"
{{#if:{{{primecon|}}}|
{{!}} colspan="2" {{!}} [[{{{primecon title|{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}})|}}}}}|{{#if:{{{primecon title|}}}|{{#explode:{{{primecon title}}}|(|0}}|{{{title|{{PAGENAME}}}}}}} in the primary continuity]]
}}
|-
{{#if:{{{photo 2|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{photo 2}}}|300px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 2|}}}|<br/> {{{caption 2}}}|}}
}}
|-
{{#if:{{{debug|}}}|
{{!}} colspan="2" style="font-size: 0.8em; background: #fee; border: 1px solid #faa; padding: 5px;" {{!}} '''Genealogy Debug:'''<br/>Partners: {{#genealogy:partners}}<br/>Children: {{#genealogy:children}}
}}
|}{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}}</includeonly><noinclude>
|}{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}}</includeonly><noinclude>
{{Documentation}}
= Documentation =
= Documentation =
This template is the primary infobox for character articles. It provides a standard layout for character stats, media links, and continuity data, with integrated support for automated genealogy trees.
This template is the primary infobox for character articles. It provides a standard layout for character stats, media links, and continuity data, with integrated support for automated genealogy trees via the [[Extension:Genealogy|Genealogy Extension]].


== Parameter Descriptions ==
== Parameter Descriptions ==
Line 124: Line 135:
=== Header & Display ===
=== Header & Display ===
* '''title''': The name displayed at the top. Defaults to the page name.
* '''title''': The name displayed at the top. Defaults to the page name.
* '''series / series 2 / series 3''': Determines which series icons (e.g., RDM, TOS, CAP) appear in the header.
* '''series / series 2 / series 3''': Determines which series icons (e.g., RDM, TOS, CAP) appear in the header. Supports up to three icons for characters appearing across multiple continuities.
* '''photo / photo 2''': The filename of the character image(s).
* '''photo / photo 2''': The filename of the character image(s).
* '''caption / caption 2''': The text displayed directly beneath the photo(s).
* '''caption / caption 2''': The text displayed directly beneath the photo(s).
* '''sortkey''': Used for category alphabetization (e.g., <code>Adama, William</code>).
* '''sortkey''': Used for category alphabetization (e.g., <code>Adama, William</code>).
* '''spoilers''': Set to **Y** to wrap sensitive rows (Death, Last Appearance, etc.) in a collapsible spoiler toggle.


=== Biography ===
=== Biography ===
* '''name''': For Cylons, this is their human alias (e.g., <code>Sharon Valerii</code>).
* '''name''': The character's common name.
** **Note:** If any Cylon flag (<code>cylon</code>, <code>5cylon</code>, etc.) is set to **Y**, the label for this field automatically changes from **Name** to **Human Name**.
* '''age''': Approximate age of the character.
* '''age''': Approximate age of the character.
* '''colony''': The character's home colony (e.g., <code>Caprica</code>).
* '''colony''': The character's home colony (e.g., <code>Caprica</code>).
* '''birthplace''': Used if the character was born outside of the Twelve Colonies.
* '''birthplace''': Used if the character was born outside of the Twelve Colonies.
* '''birthname''': The full name given at birth.
* '''birthname''': The full name given at birth.
* '''birthdate''': The visual display of their birth date.
* '''birthdate''': The visual display of their birth date in the infobox.
* '''seen / pseen / seenref''':
** <code>seen</code>: The page name of their first appearance.
** <code>pseen</code>: Piped text for the appearance link.
** <code>seenref</code>: Use this to provide a custom citation or override the link entirely.
* '''lastseen / plastseen / lastseenref''': Similar to above, but for the character's final appearance.
* '''death''': Circumstances of death. Wikify the episode title if applicable.
* '''death''': Circumstances of death. Wikify the episode title if applicable.
* '''callsign''': The pilot's tactical name (e.g., <code>Starbuck</code>).
* '''callsign''': The pilot's tactical name (e.g., <code>Starbuck</code>).
Line 141: Line 159:


=== Relationships ===
=== Relationships ===
* '''parents / siblings / children''': General lists for the infobox. These allow wikilinks, line breaks, and notes (e.g., <code>†</code>).
* '''parents / siblings / children''': General lists for the infobox display.
* '''step_parents''': Visual display of step-parents in the infobox (supports wikilinks and line breaks).
* '''step_parents''': Visual display of step-parents.
* '''marital status''': Marital condition (Single, Married, Widowed).
* '''marital status''': Marital condition (Single, Married, Widowed).
* '''familytree''': Set to '''Y''' to add a "View" link that jumps to the article's <code>#Family tree</code> section.
* '''familytree''': Set to **Y** to add a "View" link that jumps to the article's <code>#Family tree</code> section.


=== Military & Professional ===
=== Military & Professional ===
* '''role''': The character's primary job or function in the story.
* '''role''': The character's primary job or function.
* '''rank''': Military rank (e.g., <code>Commander</code>).
* '''rank''': Military rank (e.g., <code>Commander</code>).
* '''serial''': Colonial military serial number.
* '''serial''': Colonial military serial number.
Line 158: Line 176:
* '''mcylon''': Character is an Original Series Cylon.
* '''mcylon''': Character is an Original Series Cylon.


=== Related Media ===
=== Related Media & Continuity ===
* '''archives''': Set to '''Y''' to link to a <code>Gallery:{{PAGENAME}}</code> photo gallery.
* '''archives''': Set to **Y** to link to a <code>Gallery:{{PAGENAME}}</code>.
* '''media''': The key for linking to external media collections (e.g., <code>willie-adama</code>).
* '''media''': The key for linking to external media collections.
 
* '''sepcon / primecon''': Set to **Y** to enable cross-continuity links.
=== Continuity Support ===
* '''sepcon / primecon''': Set to '''Y''' to enable cross-continuity links.
* '''sepcon title / primecon title''': The exact page title for the character in the other continuity.
* '''sepcon title / primecon title''': The exact page title for the character in the other continuity.


=== Genealogy Extension (Automated Trees) ===
=== Genealogy Extension (Automated Trees) ===
These fields are invisible in the infobox but populate the database for <code><nowiki>{{#genealogy:tree ...}}</nowiki></code>.
These fields populate the database for <code><nowiki>{{#genealogy:tree}}</nowiki></code>.
* '''gender''': '''M''' or '''F'''. Critical for tree logic and icons.
* '''gender''': **M** or **F**. Required for icons.
* '''parent 1 / parent 2''': Exact page name of biological parents.
* '''parent 1 / parent 2''': Exact page names of biological parents.
* '''step_parent 1 / step_parent 2''': Exact page name of step-parents. These will be shown with dotted lines in genealogy trees.
* '''step_parent 1 / step_parent 2''': Exact page names of step-parents.
* '''spouse''': Exact page name of a partner for marriage lines.
* '''spouse / spouse1 / spouse2 / spouse3''': Exact page names of partners.
* '''gen_birthdate''': A clean year/date (e.g., <code>31 BCH</code>) to appear inside tree nodes.
* '''gen_birthdate''': A clean date (e.g., <code>31 BCH</code>) for use inside tree nodes.
 
* '''debug''': Set to **Y** to show the genealogy metadata strings at the bottom of the infobox for testing.
== Examples ==
 
=== Basic Character ===
<pre>
{{Character Data
| series    = TOS
| photo      = Apollo.jpg
| gender    = M
| parent 1  = Adama (TOS)
| parent 2  = Ila
| spouse    = Serina
| rank      = Captain
| actor      = [[Richard Hatch]]
}}
</pre>
 
=== Character with Step-Parent ===
<pre>
{{Character Data
| series      = TOS
| photo        = Boxey.jpg
| gender      = M
| parent 1    = Serina
| step_parent 1 = Apollo (TOS)
| step_parents = [[Apollo (TOS)]] (stepfather)
}}
</pre>


<templatedata>
<templatedata>
{
{
"params": {
"params": {
"title": {},
"title": { "label": "Title", "description": "Defaults to PAGENAME" },
"photo": { "type": "wiki-file-name" },
"photo": { "type": "wiki-file-name", "label": "Main Image" },
"photo 2": { "type": "wiki-file-name" },
"photo 2": { "type": "wiki-file-name", "label": "Secondary Image" },
"caption": {},
"caption": { "label": "Caption" },
"caption 2": {},
"caption 2": { "label": "Secondary Caption" },
"gender": { "label": "Gender (M/F)", "description": "M or F. Required for Genealogy.", "suggested": true },
"gender": { "label": "Gender (M/F)", "description": "M or F. Required for Genealogy.", "suggested": true },
"parent 1": { "label": "Genealogy Parent 1", "description": "Exact page name of biological parent." },
"parent 1": { "type": "wiki-page-name", "label": "Genealogy Parent 1" },
"parent 2": { "label": "Genealogy Parent 2", "description": "Exact page name of biological parent." },
"parent 2": { "type": "wiki-page-name", "label": "Genealogy Parent 2" },
"step_parent 1": { "label": "Genealogy Step-Parent 1", "description": "Exact page name of step-parent. Will show as dotted line in tree." },
"step_parent 1": { "type": "wiki-page-name", "label": "Genealogy Step-Parent 1" },
"step_parent 2": { "label": "Genealogy Step-Parent 2", "description": "Exact page name of step-parent. Will show as dotted line in tree." },
"step_parent 2": { "type": "wiki-page-name", "label": "Genealogy Step-Parent 2" },
"spouse": { "label": "Genealogy Spouse", "description": "Exact page name." },
"spouse": { "type": "wiki-page-name", "label": "Genealogy Spouse" },
"gen_birthdate": { "label": "Clean Birth Date" },
"spouse1": { "type": "wiki-page-name", "label": "Genealogy Spouse 1" },
"age": {},
"spouse2": { "type": "wiki-page-name", "label": "Genealogy Spouse 2" },
"colony": {},
"spouse3": { "type": "wiki-page-name", "label": "Genealogy Spouse 3" },
"birthplace": {},
"gen_birthdate": { "label": "Genealogy Birth Date", "description": "Clean date for tree nodes." },
"birthname": {},
"age": { "label": "Age" },
"colony": { "label": "Colony" },
"birthplace": { "label": "Birth Place" },
"birthname": { "label": "Birth Name" },
"birthdate": { "label": "Visual Birth Date" },
"birthdate": { "label": "Visual Birth Date" },
"callsign": {},
"callsign": { "label": "Callsign" },
"nickname": {},
"nickname": { "label": "Nickname" },
"seen": {},
"seen": { "type": "wiki-page-name", "label": "First Appearance" },
"pseen": {},
"pseen": { "label": "First Appearance Piped Link" },
"lastseen": {},
"seenref": { "label": "First Appearance Custom Ref" },
"death": {},
"lastseen": { "type": "wiki-page-name", "label": "Last Appearance" },
"plastseen": { "label": "Last Appearance Piped Link" },
"lastseenref": { "label": "Last Appearance Custom Ref" },
"death": { "label": "Death" },
"parents": { "label": "Visual Parents List" },
"parents": { "label": "Visual Parents List" },
"step_parents": { "label": "Visual Step-Parents List", "description": "Display text for step-parents in infobox (supports wikilinks)" },
"step_parents": { "label": "Visual Step-Parents List" },
"siblings": {},
"siblings": { "label": "Siblings" },
"children": {},
"children": { "label": "Children" },
"marital status": {},
"marital status": { "label": "Marital Status" },
"familytree": { "label": "Show 'View' Link (Y)" },
"familytree": { "label": "Show Family Tree Link", "description": "Set to Y to link to #Family tree" },
"role": {},
"role": { "label": "Role/Occupation" },
"rank": {},
"rank": { "label": "Rank" },
"serial": {},
"serial": { "label": "Serial Number" },
"actor": {},
"actor": { "label": "Portrayed by" },
"cylon": {},
"cylon": { "label": "Cylon (Y/N)" },
"5cylon": {},
"5cylon": { "label": "Final Five (Y/N)" },
"hcylon": {},
"hcylon": { "label": "Hybrid (Y/N)" },
"mcylon": {},
"mcylon": { "label": "Original Series Cylon (Y/N)" },
"sepcon": {},
"sepcon": { "label": "Separate Continuity Link" },
"primecon": {},
"sepcon title": { "type": "wiki-page-name", "label": "SepCon Page Title" },
"series": {},
"primecon": { "label": "Primary Continuity Link" },
"archives": { "label": "Photo Gallery (Y)" },
"primecon title": { "type": "wiki-page-name", "label": "PrimeCon Page Title" },
"media": { "label": "Media Key" },
"series": { "label": "Primary Series Icon" },
"sortkey": {},
"series 2": { "label": "Secondary Series Icon" },
"spoilers": { "description": "Set to Y to hide spoiler rows." }
"series 3": { "label": "Tertiary Series Icon" },
"archives": { "label": "Gallery Link (Y/N)" },
"media": { "label": "External Media Key" },
"sortkey": { "label": "Category Sort Key" },
"spoilers": { "label": "Enable Spoiler Toggle", "description": "Set to Y to hide sensitive rows." },
"debug": { "label": "Debug Genealogy", "description": "Set to Y to show metadata for testing." }
},
},
"description": "Comprehensive character infobox with Extension:Genealogy support, including step-relationship tracking."
"description": "Comprehensive character infobox with Extension:Genealogy support and automated Cylon naming logic."
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 17:06, 29 December 2025

Template:Documentation

Documentation

This template is the primary infobox for character articles. It provides a standard layout for character stats, media links, and continuity data, with integrated support for automated genealogy trees via the Genealogy Extension.

Parameter Descriptions

Header & Display

  • title: The name displayed at the top. Defaults to the page name.
  • series / series 2 / series 3: Determines which series icons (e.g., RDM, TOS, CAP) appear in the header. Supports up to three icons for characters appearing across multiple continuities.
  • photo / photo 2: The filename of the character image(s).
  • caption / caption 2: The text displayed directly beneath the photo(s).
  • sortkey: Used for category alphabetization (e.g., Adama, William).
  • spoilers: Set to **Y** to wrap sensitive rows (Death, Last Appearance, etc.) in a collapsible spoiler toggle.

Biography

  • name: The character's common name.
    • **Note:** If any Cylon flag (cylon, 5cylon, etc.) is set to **Y**, the label for this field automatically changes from **Name** to **Human Name**.
  • age: Approximate age of the character.
  • colony: The character's home colony (e.g., Caprica).
  • birthplace: Used if the character was born outside of the Twelve Colonies.
  • birthname: The full name given at birth.
  • birthdate: The visual display of their birth date in the infobox.
  • seen / pseen / seenref:
    • seen: The page name of their first appearance.
    • pseen: Piped text for the appearance link.
    • seenref: Use this to provide a custom citation or override the link entirely.
  • lastseen / plastseen / lastseenref: Similar to above, but for the character's final appearance.
  • death: Circumstances of death. Wikify the episode title if applicable.
  • callsign: The pilot's tactical name (e.g., Starbuck).
  • nickname: Other casual names.

Relationships

  • parents / siblings / children: General lists for the infobox display.
  • step_parents: Visual display of step-parents.
  • marital status: Marital condition (Single, Married, Widowed).
  • familytree: Set to **Y** to add a "View" link that jumps to the article's #Family tree section.

Military & Professional

  • role: The character's primary job or function.
  • rank: Military rank (e.g., Commander).
  • serial: Colonial military serial number.
  • actor: The actor or actress who portrayed the character.

Cylon Toggles (Set to Y)

  • cylon: Character is a Re-imagined Series Cylon.
  • 5cylon: Character is a member of the Final Five.
  • hcylon: Character is a Human/Cylon Hybrid (e.g., Hera Agathon).
  • mcylon: Character is an Original Series Cylon.
  • archives: Set to **Y** to link to a Gallery:Character Data.
  • media: The key for linking to external media collections.
  • sepcon / primecon: Set to **Y** to enable cross-continuity links.
  • sepcon title / primecon title: The exact page title for the character in the other continuity.

Genealogy Extension (Automated Trees)

These fields populate the database for {{#genealogy:tree}}.

  • gender: **M** or **F**. Required for icons.
  • parent 1 / parent 2: Exact page names of biological parents.
  • step_parent 1 / step_parent 2: Exact page names of step-parents.
  • spouse / spouse1 / spouse2 / spouse3: Exact page names of partners.
  • gen_birthdate: A clean date (e.g., 31 BCH) for use inside tree nodes.
  • debug: Set to **Y** to show the genealogy metadata strings at the bottom of the infobox for testing.

Comprehensive character infobox with Extension:Genealogy support and automated Cylon naming logic.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

Defaults to PAGENAME

Unknownoptional
Main Imagephoto

no description

Fileoptional
Secondary Imagephoto 2

no description

Fileoptional
Captioncaption

no description

Unknownoptional
Secondary Captioncaption 2

no description

Unknownoptional
Gender (M/F)gender

M or F. Required for Genealogy.

Unknownsuggested
Genealogy Parent 1parent 1

no description

Page nameoptional
Genealogy Parent 2parent 2

no description

Page nameoptional
Genealogy Step-Parent 1step_parent 1

no description

Page nameoptional
Genealogy Step-Parent 2step_parent 2

no description

Page nameoptional
Genealogy Spousespouse

no description

Page nameoptional
Genealogy Spouse 1spouse1

no description

Page nameoptional
Genealogy Spouse 2spouse2

no description

Page nameoptional
Genealogy Spouse 3spouse3

no description

Page nameoptional
Genealogy Birth Dategen_birthdate

Clean date for tree nodes.

Unknownoptional
Ageage

no description

Unknownoptional
Colonycolony

no description

Unknownoptional
Birth Placebirthplace

no description

Unknownoptional
Birth Namebirthname

no description

Unknownoptional
Visual Birth Datebirthdate

no description

Unknownoptional
Callsigncallsign

no description

Unknownoptional
Nicknamenickname

no description

Unknownoptional
First Appearanceseen

no description

Page nameoptional
First Appearance Piped Linkpseen

no description

Unknownoptional
First Appearance Custom Refseenref

no description

Unknownoptional
Last Appearancelastseen

no description

Page nameoptional
Last Appearance Piped Linkplastseen

no description

Unknownoptional
Last Appearance Custom Reflastseenref

no description

Unknownoptional
Deathdeath

no description

Unknownoptional
Visual Parents Listparents

no description

Unknownoptional
Visual Step-Parents Liststep_parents

no description

Unknownoptional
Siblingssiblings

no description

Unknownoptional
Childrenchildren

no description

Unknownoptional
Marital Statusmarital status

no description

Unknownoptional
Show Family Tree Linkfamilytree

Set to Y to link to #Family tree

Unknownoptional
Role/Occupationrole

no description

Unknownoptional
Rankrank

no description

Unknownoptional
Serial Numberserial

no description

Unknownoptional
Portrayed byactor

no description

Unknownoptional
Cylon (Y/N)cylon

no description

Unknownoptional
Final Five (Y/N)5cylon

no description

Unknownoptional
Hybrid (Y/N)hcylon

no description

Unknownoptional
Original Series Cylon (Y/N)mcylon

no description

Unknownoptional
Separate Continuity Linksepcon

no description

Unknownoptional
SepCon Page Titlesepcon title

no description

Page nameoptional
Primary Continuity Linkprimecon

no description

Unknownoptional
PrimeCon Page Titleprimecon title

no description

Page nameoptional
Primary Series Iconseries

no description

Unknownoptional
Secondary Series Iconseries 2

no description

Unknownoptional
Tertiary Series Iconseries 3

no description

Unknownoptional
Gallery Link (Y/N)archives

no description

Unknownoptional
External Media Keymedia

no description

Unknownoptional
Category Sort Keysortkey

no description

Unknownoptional
Enable Spoiler Togglespoilers

Set to Y to hide sensitive rows.

Unknownoptional
Debug Genealogydebug

Set to Y to show metadata for testing.

Unknownoptional