Template:Character Data: Difference between revisions
More actions
No edit summary |
mNo edit summary |
||
| (29 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div style="display:none;"> | <includeonly><div style="display:none;">{{#if:{{{gender|}}}|{{#genealogy:person|gender={{{gender}}}}}}}{{#if:{{{deceased|}}}|{{#genealogy:person|deceased={{{deceased}}}}}}}{{#if:{{{gen_birthdate|{{{birthdate|}}}}}}|{{#genealogy:description|{{{gen_birthdate|{{{birthdate}}}}}}}}}}{{#if:{{{spouse|}}}|{{#genealogy:partner|{{{spouse}}}}}}}{{#if:{{{spouse1|}}}|{{#genealogy:partner|{{{spouse1}}}}}}}{{#if:{{{spouse2|}}}|{{#genealogy:partner|{{{spouse2}}}}}}}{{#if:{{{spouse3|}}}|{{#genealogy:partner|{{{spouse3}}}}}}}{{#if:{{{parent 1|}}}|{{#genealogy:parent|{{{parent 1}}}}}}}{{#if:{{{parent 2|}}}|{{#genealogy:parent|{{{parent 2}}}}}}}{{#if:{{{step_parent 1|}}}|{{#genealogy:step_parent|{{{step_parent 1}}}}}}}{{#if:{{{step_parent 2|}}}|{{#genealogy:step_parent|{{{step_parent 2}}}}}}}</div> | ||
{{#if:{{{gender|}}}|{{#genealogy:gender|{{{ | {| class="infobox" cellspacing="5" | ||
{{#if:{{{birthdate|}}}|{{#genealogy: | |- class="infoboxheader" | ||
{{#if:{{{ | | colspan="2" | | ||
{{#if:{{{ | {| style="background:transparent; width:100%;" cellspacing="0" cellpadding="0" | ||
</div>{| class="infobox" cellspacing="5" | |- style="text-align: left; font-size: larger;" | ||
|-class="infoboxheader" | | width="27" | {{Series Icon|series={{{series|}}}}} | ||
| colspan="2"| | |||
{| | |||
|- style="text-align: left; font-size: larger; | |||
| width="27" | {{Series Icon|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; | | style="text-align: center;" | '''{{{title|{{PAGENAME}}}}}''' | ||
|} | |} | ||
{{#if:{{{photo|}}}|{{!}}- | |||
{{!}} colspan="2" style="text-align: center;" {{!}}{{#if:{{{photo 2|}}}|{{#tag:tabber|{{{photo_label|Image 1}}} = [[File:{{#invoke:FileCleaner|main|{{{photo}}}}}|290px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption|}}}|<br/>{{{caption}}}|}}{{!}}-{{!}}{{{photo 2_label|Image 2}}} = [[File:{{#invoke:FileCleaner|main|{{{photo 2}}}}}|290px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 2|}}}|<br/>{{{caption 2}}}|}}{{#if:{{{photo 3|}}}|{{!}}-{{!}}{{{photo 3_label|Image 3}}} = [[File:{{#invoke:FileCleaner|main|{{{photo 3}}}}}|290px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 3|}}}|<br/>{{{caption 3}}}|}}}}{{#if:{{{photo 4|}}}|{{!}}-{{!}}{{{photo 4_label|Image 4}}} = [[File:{{#invoke:FileCleaner|main|{{{photo 4}}}}}|290px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 4|}}}|<br/>{{{caption 4}}}|}}}}}}|[[File:{{#invoke:FileCleaner|main|{{{photo}}}}}|300px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption|}}}|<br/>{{{caption}}}|}}}}}} | |||
|- {{#if:{{{spoilers|}}}||style="display:none;"}} | |||
|- {{#if:{{{spoilers|}}}| | | 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> | ||
| 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 | |- style="vertical-align: top; text-align: left;" | ||
|- 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'''}} | |||
{{#switch:{{{ | {{!}} {{{name}}} | ||
| Y | |||
| y | |||
| Yes | |||
| yes = '''Human Name''' | |||
| | |||
}} | }} | ||
|- style="vertical-align: top; text-align: left;" {{#if:{{{age|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}} | |||
|- style="vertical-align: top; text-align: left;" {{#if:{{{age|}}}|id="mw-customcollapsible-infobox" | |||
| '''Age''' | | '''Age''' | ||
| {{{age}}} | | {{{age}}} | ||
|- style="vertical-align: top; text-align: left;" {{#if:{{{colony|}}}|id="mw-customcollapsible-infobox" | |- 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" | |- style="vertical-align: top; text-align: left;" {{#if:{{{birthplace|}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}} | ||
| ''' | | '''Birthplace''' | ||
| {{{birthplace}}} | | {{{birthplace}}} | ||
|- style="vertical-align: top; text-align: left;" | |- 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;" | |- 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;" | |- style="vertical-align: top; text-align: left;" {{#if:{{{callsign|}}}||style="display:none;"}} | ||
| '''Callsign''' | | '''Callsign''' | ||
| {{{callsign}}} | | {{{callsign}}} | ||
|- style="vertical-align: top; text-align: left;" | |- style="vertical-align: top; text-align: left;" {{#if:{{{nickname|}}}||style="display:none;"}} | ||
| '''Nickname''' | | '''Nickname''' | ||
| {{{nickname}}} | | {{{nickname}}} | ||
|- style="vertical-align: top; text-align: left;" | |- style="vertical-align: top; text-align: left;" {{#if:{{{seen|}}}{{{seenref|}}}||style="display:none;"}} | ||
| style="white-space: nowrap;" |'''Introduced''' | | style="white-space: nowrap;" | '''{{#if:{{{seen|}}}|{{#ifeq:{{{seen}}}|{{{lastseen|}}}|Only Appearance|Introduced}}|Introduced}}''' | ||
| {{#if:{{{seenref|}}}|{{{seenref | | {{#if:{{{seenref|}}}|{{{seenref}}}|{{#if:{{{pseen|}}}|[[{{{seen}}}|{{{pseen}}}]]|[[{{{seen}}}]]}}}} | ||
|- style="vertical-align: top; text-align: left;" {{#if:{{{lastseen|}}}{{{lastseenref|}}}|id="mw-customcollapsible-infobox" | |- style="vertical-align: top; text-align: left;" {{#if:{{#ifeq:{{{seen|}}}|{{{lastseen|}}}||{{{lastseen|}}}{{{lastseenref|}}}}}|id="mw-customcollapsible-infobox" class="{{#if:{{{spoilers|}}}|mw-collapsible mw-collapsed|}}"|style="display:none;"}} | ||
| '''Last | | '''Last Appearance''' | ||
| {{#if:{{{lastseenref|}}}|{{{lastseenref | | {{#if:{{{lastseenref|}}}|{{{lastseenref}}}|{{#if:{{{plastseen|}}}|[[{{{lastseen}}}|{{{plastseen}}}]]|[[{{{lastseen}}}]]}}}} | ||
|- style="vertical-align: top; text-align: left;" {{#if:{{{death|}}}|id="mw-customcollapsible-infobox" | |- 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;" | |- style="vertical-align: top; text-align: left;" {{#if:{{{parents|}}}||style="display:none;"}} | ||
| '''Parents''' | | '''Parents''' | ||
| {{{parents}}} | | {{{parents}}} | ||
|- style="vertical-align: top; text-align: left;" | |- style="vertical-align: top; text-align: left;" {{#if:{{{step_parents|}}}||style="display:none;"}} | ||
| '''Step-Parents''' | |||
| {{{step_parents}}} | |||
|- 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" | |- 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" | |- 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;" | |- 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" | |- 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" | |- 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;" | |- 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;" | |- style="vertical-align: top; text-align: left;" {{#if:{{{actor|}}}||style="display:none;"}} | ||
| style="white-space: nowrap;" |'''Portrayed by''' | | style="white-space: nowrap;" | '''Portrayed by''' | ||
| {{{actor}}} | |||
|- style="vertical-align: top; text-align: center;" {{#if:{{{cylon|}}}|id="mw-customcollapsible-infobox" | |- 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" | |- 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;" | |- 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;" | |- 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 | ||
|- | |- | ||
! class="infoboxheader" | {{#if:{{{archives|}}}{{{media|}}}| | ||
|- style=" | ! class="infoboxheader" colspan="2" {{!}} Related Media | ||
}} | |||
|- style="text-align: center;" | |||
|- | {{#if:{{{archives|}}}|{{!}} {{#if:{{{media|}}}||colspan="2"}} {{!}} [[Gallery:{{PAGENAME}}|Photo Gallery]] }} | ||
! class="infoboxheader" | {{#if:{{{media|}}}|{{!}} {{#if:{{{archives|}}}||colspan="2"}} {{!}} [[md:{{{media}}}|@ BW Media]] }} | ||
|- style=" | |- | ||
{{#if:{{{sepcon|}}}{{{primecon|}}}| | |||
|- style=" | ! class="infoboxheader" colspan="2" {{!}} Additional Information | ||
}} | |||
|- | |- style="text-align: center;" | ||
{{#if:{{{sepcon|}}}| | |||
|}{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}</includeonly><noinclude> | {{!}} colspan="2" {{!}} [[{{{sepcon title|{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}} alternate)|(alternate)}}}}}|{{#if:{{{sepcon title|}}}|{{#explode:{{{sepcon title}}}|(|0}}|{{{title|{{PAGENAME}}}}}}} in the separate continuity]] | ||
}} | |||
|- 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:{{{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> | |||
= Documentation = | = Documentation = | ||
This template is | 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 == | |||
=== 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 / photo 3 / photo 4''': The filename of the character image(s). | |||
* '''photo_label / photo 2_label / photo 3_label / photo 4_label''': The (short) tab label to use for the tabber that aligns with the character image(s). | |||
* '''caption / caption 2 / caption 3 / caption 4''': The text displayed directly beneath the photo(s). | |||
* '''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 === | |||
* '''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. | |||
* '''colony''': The character's home colony (e.g., <code>Caprica</code>). | |||
* '''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''': | |||
** <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. | |||
* '''callsign''': The pilot's tactical name (e.g., <code>Starbuck</code>). | |||
* '''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 <code>#Family tree</code> section. | |||
=== Military & Professional === | |||
* '''role''': The character's primary job or function. | |||
* '''rank''': Military rank (e.g., <code>Commander</code>). | |||
* '''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. | |||
=== | === Related Media & Continuity === | ||
* ''' | * '''archives''': Set to **Y** to link to a <code>Gallery:{{PAGENAME}}</code>. | ||
* ''' | * '''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 <code><nowiki>{{#genealogy:tree}}</nowiki></code>. | |||
* '''gender''': **M** or **F**. Required for icons. | |||
* '''deceased''': '''y''' or '''true''' | |||
* '''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., <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. | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"title": {}, | "title": { "label": "Title", "description": "Defaults to PAGENAME" }, | ||
"photo": { | "photo": { "type": "wiki-file-name", "label": "Main Image" }, | ||
"caption": { "label": "Caption" }, | |||
}, | "photo_label": { "label": "First Image Tab Label", "default": "Image 3" }, | ||
"caption": {}, | "caption": { "label": "First Image Caption" }, | ||
"name": {}, | "photo 2": { "type": "wiki-file-name", "label": "Second Image" }, | ||
" | "photo 2_label": { "label": "Second Image Tab Label", "default": "Image 3" }, | ||
"caption 2": { "label": "Second Image Caption" }, | |||
"photo 3": { "type": "wiki-file-name", "label": "Third Image" }, | |||
"photo 3_label": { "label": "Third Image Tab Label", "default": "Image 3" }, | |||
"caption 3": { "label": "Third Image Caption" }, | |||
}, | "photo 4": { "type": "wiki-file-name", "label": "Fourth Image" }, | ||
" | "photo 4_label": { "label": "Fourth Image Tab Label", "default": "Image 4" }, | ||
" | "caption 4": { "label": "Fourth Image Caption" }, | ||
" | "gender": { "label": "Gender (M/F)", "description": "M or F. Required for Genealogy.", "suggested": true }, | ||
" | "parent 1": { "type": "wiki-page-name", "label": "Genealogy Parent 1" }, | ||
" | "parent 2": { "type": "wiki-page-name", "label": "Genealogy Parent 2" }, | ||
" | "step_parent 1": { "type": "wiki-page-name", "label": "Genealogy Step-Parent 1" }, | ||
"step_parent 2": { "type": "wiki-page-name", "label": "Genealogy Step-Parent 2" }, | |||
}, | "spouse": { "type": "wiki-page-name", "label": "Genealogy Spouse" }, | ||
"callsign": {}, | "spouse1": { "type": "wiki-page-name", "label": "Genealogy Spouse 1" }, | ||
"nickname": {}, | "spouse2": { "type": "wiki-page-name", "label": "Genealogy Spouse 2" }, | ||
"seen": {}, | "spouse3": { "type": "wiki-page-name", "label": "Genealogy Spouse 3" }, | ||
" | "gen_birthdate": { "label": "Genealogy Birth Date", "description": "Clean date for tree nodes." }, | ||
" | "age": { "label": "Age" }, | ||
"lastseen": {}, | "colony": { "label": "Colony" }, | ||
" | "birthplace": { "label": "Birth Place" }, | ||
" | "birthname": { "label": "Birth Name" }, | ||
"death": { | "birthdate": { "label": "Visual Birth Date" }, | ||
"callsign": { "label": "Callsign" }, | |||
}, | "nickname": { "label": "Nickname" }, | ||
" | "seen": { "type": "wiki-page-name", "label": "First Appearance" }, | ||
"pseen": { "label": "First Appearance Piped Link" }, | |||
"seenref": { "label": "First Appearance Custom Ref" }, | |||
"siblings": {}, | "lastseen": { "type": "wiki-page-name", "label": "Last Appearance" }, | ||
"children": {}, | "plastseen": { "label": "Last Appearance Piped Link" }, | ||
"marital status": {}, | "lastseenref": { "label": "Last Appearance Custom Ref" }, | ||
"familytree": { | "death": { "label": "Death" }, | ||
"deceased": { "label": "Deceased", "description": "'y' or 'true'; leave blank if not deceased. Required for Genealogy.", "suggested": true }, | |||
"parents": { "label": "Visual Parents List" }, | |||
"role": {}, | "step_parents": { "label": "Visual Step-Parents List" }, | ||
"rank": {}, | "siblings": { "label": "Siblings" }, | ||
"serial": {}, | "children": { "label": "Children" }, | ||
"actor": {}, | "marital status": { "label": "Marital Status" }, | ||
" | "familytree": { "label": "Show Family Tree Link", "description": "Set to Y to link to #Family tree" }, | ||
" | "role": { "label": "Role/Occupation" }, | ||
" | "rank": { "label": "Rank" }, | ||
" | "serial": { "label": "Serial Number" }, | ||
" | "actor": { "label": "Portrayed by" }, | ||
"sepcon": {}, | "cylon": { "label": "Cylon (Y/N)" }, | ||
"primecon": {}, | "5cylon": { "label": "Final Five (Y/N)" }, | ||
" | "hcylon": { "label": "Hybrid (Y/N)" }, | ||
"series": {}, | "mcylon": { "label": "Original Series Cylon (Y/N)" }, | ||
" | "sepcon": { "label": "Separate Continuity Link" }, | ||
" | "sepcon title": { "type": "wiki-page-name", "label": "SepCon Page Title" }, | ||
"primecon": { "label": "Primary Continuity Link" }, | |||
}, | "primecon title": { "type": "wiki-page-name", "label": "PrimeCon Page Title" }, | ||
" | "series": { "label": "Primary Series Icon" }, | ||
"sortkey": {}, | "series 2": { "label": "Secondary Series Icon" }, | ||
"spoilers": {} | "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": " | "description": "Comprehensive character infobox with Extension:Genealogy support and automated Cylon naming logic." | ||
} | } | ||
</templatedata></noinclude> | </templatedata> | ||
</noinclude> | |||
Latest revision as of 00:48, 2 January 2026
Documentation
editThis 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
editHeader & Display
edit- 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 / photo 3 / photo 4: The filename of the character image(s).
- photo_label / photo 2_label / photo 3_label / photo 4_label: The (short) tab label to use for the tabber that aligns with the character image(s).
- caption / caption 2 / caption 3 / caption 4: 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
edit- 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**.
- **Note:** If any Cylon flag (
- 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
edit- 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 treesection.
Military & Professional
edit- 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)
edit- 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.
Related Media & Continuity
edit- 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)
editThese fields populate the database for {{#genealogy:tree}}.
- gender: **M** or **F**. Required for icons.
- deceased: y or true
- 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Defaults to PAGENAME | Unknown | optional |
| Main Image | photo | no description | File | optional |
| First Image Caption | caption | no description | Unknown | optional |
| First Image Tab Label | photo_label | no description
| Unknown | optional |
| Second Image | photo 2 | no description | File | optional |
| Second Image Tab Label | photo 2_label | no description
| Unknown | optional |
| Second Image Caption | caption 2 | no description | Unknown | optional |
| Third Image | photo 3 | no description | File | optional |
| Third Image Tab Label | photo 3_label | no description
| Unknown | optional |
| Third Image Caption | caption 3 | no description | Unknown | optional |
| Fourth Image | photo 4 | no description | File | optional |
| Fourth Image Tab Label | photo 4_label | no description
| Unknown | optional |
| Fourth Image Caption | caption 4 | no description | Unknown | optional |
| Gender (M/F) | gender | M or F. Required for Genealogy. | Unknown | suggested |
| Genealogy Parent 1 | parent 1 | no description | Page name | optional |
| Genealogy Parent 2 | parent 2 | no description | Page name | optional |
| Genealogy Step-Parent 1 | step_parent 1 | no description | Page name | optional |
| Genealogy Step-Parent 2 | step_parent 2 | no description | Page name | optional |
| Genealogy Spouse | spouse | no description | Page name | optional |
| Genealogy Spouse 1 | spouse1 | no description | Page name | optional |
| Genealogy Spouse 2 | spouse2 | no description | Page name | optional |
| Genealogy Spouse 3 | spouse3 | no description | Page name | optional |
| Genealogy Birth Date | gen_birthdate | Clean date for tree nodes. | Unknown | optional |
| Age | age | no description | Unknown | optional |
| Colony | colony | no description | Unknown | optional |
| Birth Place | birthplace | no description | Unknown | optional |
| Birth Name | birthname | no description | Unknown | optional |
| Visual Birth Date | birthdate | no description | Unknown | optional |
| Callsign | callsign | no description | Unknown | optional |
| Nickname | nickname | no description | Unknown | optional |
| First Appearance | seen | no description | Page name | optional |
| First Appearance Piped Link | pseen | no description | Unknown | optional |
| First Appearance Custom Ref | seenref | no description | Unknown | optional |
| Last Appearance | lastseen | no description | Page name | optional |
| Last Appearance Piped Link | plastseen | no description | Unknown | optional |
| Last Appearance Custom Ref | lastseenref | no description | Unknown | optional |
| Death | death | no description | Unknown | optional |
| Deceased | deceased | 'y' or 'true'; leave blank if not deceased. Required for Genealogy. | Unknown | suggested |
| Visual Parents List | parents | no description | Unknown | optional |
| Visual Step-Parents List | step_parents | no description | Unknown | optional |
| Siblings | siblings | no description | Unknown | optional |
| Children | children | no description | Unknown | optional |
| Marital Status | marital status | no description | Unknown | optional |
| Show Family Tree Link | familytree | Set to Y to link to #Family tree | Unknown | optional |
| Role/Occupation | role | no description | Unknown | optional |
| Rank | rank | no description | Unknown | optional |
| Serial Number | serial | no description | Unknown | optional |
| Portrayed by | actor | no description | Unknown | optional |
| Cylon (Y/N) | cylon | no description | Unknown | optional |
| Final Five (Y/N) | 5cylon | no description | Unknown | optional |
| Hybrid (Y/N) | hcylon | no description | Unknown | optional |
| Original Series Cylon (Y/N) | mcylon | no description | Unknown | optional |
| Separate Continuity Link | sepcon | no description | Unknown | optional |
| SepCon Page Title | sepcon title | no description | Page name | optional |
| Primary Continuity Link | primecon | no description | Unknown | optional |
| PrimeCon Page Title | primecon title | no description | Page name | optional |
| Primary Series Icon | series | no description | Unknown | optional |
| Secondary Series Icon | series 2 | no description | Unknown | optional |
| Tertiary Series Icon | series 3 | no description | Unknown | optional |
| Gallery Link (Y/N) | archives | no description | Unknown | optional |
| External Media Key | media | no description | Unknown | optional |
| Category Sort Key | sortkey | no description | Unknown | optional |
| Enable Spoiler Toggle | spoilers | Set to Y to hide sensitive rows. | Unknown | optional |
| Debug Genealogy | debug | Set to Y to show metadata for testing. | Unknown | optional |