Template:Character Data: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| (45 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{| class="infobox" | <includeonly>{| class="infobox" cellspacing="5" | ||
|- | |- | ||
| colspan="2" style="display:none;" | | |||
|- class="hiddenStructure{{{photo|}}}" | {{#if:{{{gender|}}}|{{#genealogy:person|gender={{{gender}}}}}}}{{#if:{{{gen_birthdate|{{{birthdate|}}}}}}|{{#genealogy:description|{{{gen_birthdate|{{{birthdate}}}}}}}}}}{{#if:{{{spouse|}}}|{{#genealogy:partner|{{{spouse}}}}}}}{{#if:{{{parent 1|}}}|{{#genealogy:parent|{{{parent 1}}}}}}}{{#if:{{{parent 2|}}}|{{#genealogy:parent|{{{parent 2}}}}}}} | ||
| colspan="2" style="text-align: center;" | [[ | |- class="infoboxheader" | ||
|- | | colspan="2"| | ||
| colspan="2" style="text-align:center;" | <span class="mw-customtoggle-infobox">[show/hide spoilers]</span> | {| | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{name|}}}" | |- style="text-align: left; font-size: larger;" cellpadding="0" cellspacing="0" width="100%" | ||
| width="27" | {{Series Icon|series={{{series|}}}}} | |||
| 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|}}}}}|}} | |||
| style="text-align: center;" width="95%" | '''{{{title|{{PAGENAME}}}}}''' | |||
|} | |||
|- | |||
|- class="hiddenStructure{{#if:{{{photo|}}}|Y|}}" | |||
| 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;" | | | style="white-space: nowrap;" | | ||
{{#switch:{{{cylon}}} | {{#switch:{{{cylon}}} | ||
| Y | | Y | y | Yes | yes = '''Human Name''' | ||
| y | |||
| Yes | |||
| yes = '''Human Name''' | |||
| #default='''Name''' | | #default='''Name''' | ||
}} | }} | ||
| {{{name}}} | | {{{name}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{age|}}}" | |- 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|}}" | ||
| '''Age''' | | '''Age''' | ||
| {{{age}}} | | {{{age}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{colony|}}}" | |- 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|}}" | ||
| '''Colony''' | | '''Colony''' | ||
| {{{colony}}} | | {{{colony}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{birthplace|}}}" | |- 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|}}" | ||
| '''Birth place''' | | '''Birth place''' | ||
| {{{birthplace}}} | | {{{birthplace}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{birthname|}}}" | |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{birthname|}}}|Y|}}" | ||
| style="white-space: nowrap;" | '''Birth Name''' | | style="white-space: nowrap;" | '''Birth Name''' | ||
| {{{birthname}}} | | {{{birthname}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{birthdate|}}}" | |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{birthdate|}}}|Y|}}" | ||
| style="white-space: nowrap;" | '''Birth Date''' | | style="white-space: nowrap;" | '''Birth Date''' | ||
| {{{birthdate}}} | | {{{birthdate}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{callsign|}}}" | |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{callsign|}}}|Y|}}" | ||
| '''Callsign''' | | '''Callsign''' | ||
| {{{callsign}}} | | {{{callsign}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{nickname|}}}" | |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{nickname|}}}|Y|}}" | ||
| '''Nickname''' | | '''Nickname''' | ||
| {{{nickname}}} | | {{{nickname}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{seen|}}}{{{seenref|}}}" | |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{seen|}}}{{{seenref|}}}|Y|}}" | ||
| 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;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed hiddenStructure{{{death|}}}" | |- 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|}}" | ||
| '''Last Known Appearance''' | |||
| {{#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|}}" | |||
| '''Death''' | | '''Death''' | ||
| {{{death}}} | | {{{death}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{parents|}}}" | |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{parents|}}}|Y|}}" | ||
| '''Parents''' | | '''Parents''' | ||
| {{{parents}}} | | {{{parents}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{siblings|}}}" | |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{siblings|}}}|Y|}}" | ||
| '''Siblings''' | | '''Siblings''' | ||
| {{{siblings}}} | | {{{siblings}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{children|}}}" | |- 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|}}" | ||
| '''Children''' | | '''Children''' | ||
| {{{children}}} | | {{{children}}} | ||
|- style="vertical-align: top; text-align: left;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed hiddenStructure{{{marital status|}}}" | |- 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="white-space: nowrap;"|'''Marital Status''' | | style="white-space: nowrap;" | '''Marital Status''' | ||
| {{{marital status}}} | | {{{marital status}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{familytree|}}}" | |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{familytree|}}}|Y|}}" | ||
| 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;" class="hiddenStructure{{{role|}}}" | |- 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|}}" | ||
| '''Role''' | | '''Role''' | ||
| {{{role}}} | | {{{role}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{rank|}}}" | |- 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|}}" | ||
| '''Rank''' | | '''Rank''' | ||
| {{{rank}}} | | {{{rank}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{serial|}}}" | |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{serial|}}}|Y|}}" | ||
| '''Serial Number''' | | '''Serial Number''' | ||
| {{{serial}}} | | {{{serial}}} | ||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{actor|}}}" | |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{actor|}}}|Y|}}" | ||
| style="white-space: nowrap;" |'''Portrayed by''' | | style="white-space: nowrap;" | '''Portrayed by''' | ||
| style="white-space: nowrap;" | {{{actor}}} | | style="white-space: nowrap;" | {{{actor}}} | ||
|- style="vertical-align: top; text-align: center;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed hiddenStructure{{{cylon|}}}" | |- 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|}}" | ||
| 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;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed hiddenStructure{{{5cylon|}}}" | |- 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|}}" | ||
| 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{{{hcylon|}}}" | |- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{hcylon|}}}|Y|}}" | ||
| 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{{{mcylon|}}}" | |- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{mcylon|}}}|Y|}}" | ||
| 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{{{archives|}}}{{{media|}}}" | |- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{archives|}}}{{{media|}}}|Y|}}" | ||
! class="infoboxheader" | ! class="infoboxheader" colspan="2" | Related Media | ||
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{archives|}}}{{{media|}}}" | |- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{archives|}}}{{{media|}}}|Y|}}" | ||
| {{#if:{{{media|}}}| | | {{#if:{{{media|}}}||colspan="2"}} style="white-space: nowrap;" class="hiddenStructure{{#if:{{{archives|}}}|Y|}}" | {{#if:{{{archives|}}}|[[Gallery:{{PAGENAME}}|Photo Gallery]]}} | ||
| {{#if:{{{archives|}}}| | | {{#if:{{{archives|}}}||colspan="2"}} style="white-space: nowrap;" class="hiddenStructure{{#if:{{{media|}}}|Y|}}" | {{#if:{{{media|}}}|[[md:{{{media|}}}|@ BW Media]]}} | ||
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{sepcon|}}}{{{primecon|}}}" | |- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{sepcon|}}}{{{primecon|}}}|Y|}}" | ||
! class="infoboxheader" | ! class="infoboxheader" colspan="2" | Additional Information | ||
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{sepcon|}}}" | |- 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]] | | 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]]}} | ||
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{primecon|}}}" | |- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{primecon|}}}|Y|}}" | ||
| colspan="2"| {{#if:{{{primecon|}}}|[[{{{primecon title|{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}})|}}}}}|{{#if:{{{primecon title|}}}|{{#explode:{{{primecon title}}}|(|0}}|{{{title|{{PAGENAME}}}}}}} in the primary continuity]] | | 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{{{photo 2|}}}" | |- class="hiddenStructure{{#if:{{{photo 2|}}}|Y|}}" | ||
| colspan="2" style="text-align: center;" | [[ | | colspan="2" style="text-align: center;" | [[File:{{{photo 2|}}}|300px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 2|}}}|<br/> {{{caption 2|}}}|}} | ||
|} | |- class="hiddenStructure{{#if:{{{debug|}}}|Y|}}" | ||
| 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}} | |||
<noinclude> | |}{{#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. | ||
== | == Parameter Descriptions == | ||
=== | === Header & Display === | ||
* '''title''': | * '''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. | |||
* ''' | * '''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., <code>Adama, William</code>). | |||
* ''' | |||
* ''' | |||
=== | === Biography === | ||
* ''' | * '''name''': For Cylons, this is their human alias (e.g., <code>Sharon Valerii</code>). | ||
* ''' | * '''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. | |||
* '''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. These allow wikilinks, line breaks, and notes (e.g., <code>†</code>). | ||
* '''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 in the story. | |||
* '''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 === | ||
* '''archives''': Set to '''Y''' to link to a <code>Gallery:{{PAGENAME}}</code> photo gallery. | |||
* '''media''': The key for linking to external media collections (e.g., <code>willie-adama</code>). | |||
: '' | === 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. | |||
=== Genealogy Extension (Automated Trees) === | |||
These fields are invisible in the infobox but populate the database for <code>{{#genealogy:tree ...}}</code>. | |||
* '''gender''': '''M''' or '''F'''. Critical for tree logic and icons. | |||
* '''parent 1 / parent 2''': Exact page name of biological parents. | |||
* '''spouse''': Exact page name of a partner for marriage lines. | |||
* '''gen_birthdate''': A clean year/date (e.g., <code>31 BCH</code>) to appear inside tree nodes. | |||
== Example == | |||
<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> | |||
<templatedata> | <templatedata> | ||
| Line 202: | Line 178: | ||
"params": { | "params": { | ||
"title": {}, | "title": {}, | ||
"photo": { | "photo": { "type": "wiki-file-name" }, | ||
"photo 2": { "type": "wiki-file-name" }, | |||
}, | |||
"caption": {}, | "caption": {}, | ||
"name": {}, | "caption 2": {}, | ||
" | "gender": { "label": "Gender (M/F)", "description": "M or F. Required for Genealogy.", "suggested": true }, | ||
"parent 1": { "label": "Genealogy Parent 1", "description": "Exact page name." }, | |||
"parent 2": { "label": "Genealogy Parent 2", "description": "Exact page name." }, | |||
"spouse": { "label": "Genealogy Spouse", "description": "Exact page name." }, | |||
"gen_birthdate": { "label": "Clean Birth Date" }, | |||
"age": {}, | "age": {}, | ||
"colony": {}, | "colony": {}, | ||
"birthplace": {}, | "birthplace": {}, | ||
"birthname": {}, | "birthname": {}, | ||
"birthdate": {}, | "birthdate": { "label": "Visual Birth Date" }, | ||
"callsign": {}, | "callsign": {}, | ||
"nickname": {}, | "nickname": {}, | ||
"seen": {}, | "seen": {}, | ||
"pseen": {}, | "pseen": {}, | ||
"lastseen": {}, | |||
"death": {}, | "death": {}, | ||
"parents": {}, | "parents": { "label": "Visual Parents List" }, | ||
"siblings": {}, | "siblings": {}, | ||
"children": {}, | "children": {}, | ||
"marital status": {}, | "marital status": {}, | ||
"familytree": {}, | "familytree": { "label": "Show 'View' Link (Y)" }, | ||
"role": {}, | "role": {}, | ||
"rank": {}, | "rank": {}, | ||
"serial": {}, | "serial": {}, | ||
"actor": {}, | "actor": {}, | ||
"cylon": {}, | |||
"5cylon": {}, | "5cylon": {}, | ||
"hcylon": {}, | "hcylon": {}, | ||
"mcylon": {}, | "mcylon": {}, | ||
"sepcon": {}, | "sepcon": {}, | ||
"primecon": {}, | "primecon": {}, | ||
"series": {}, | "series": {}, | ||
" | "archives": { "label": "Photo Gallery (Y)" }, | ||
" | "media": { "label": "Media Key" }, | ||
"sortkey": {}, | |||
"spoilers": { "description": "Set to Y to hide spoiler rows." } | |||
" | }, | ||
" | "description": "Comprehensive character infobox with Extension:Genealogy support." | ||
} | |||
} | } | ||
</templatedata></noinclude> | </templatedata> | ||
</noinclude> | |||
Revision as of 21:14, 27 December 2025
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.
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.
- 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).
Biography
- name: For Cylons, this is their human alias (e.g.,
Sharon Valerii). - 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.
- 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. These allow wikilinks, line breaks, and notes (e.g.,
†). - 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
- role: The character's primary job or function in the story.
- 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.
Related Media
- archives: Set to Y to link to a
Gallery:Character Dataphoto gallery. - media: The key for linking to external media collections (e.g.,
willie-adama).
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.
Genealogy Extension (Automated Trees)
These fields are invisible in the infobox but populate the database for Genealogy parser function type not recognised: tree ....
- gender: M or F. Critical for tree logic and icons.
- parent 1 / parent 2: Exact page name of biological parents.
- spouse: Exact page name of a partner for marriage lines.
- gen_birthdate: A clean year/date (e.g.,
31 BCH) to appear inside tree nodes.
Example
{{Character Data
| series = TOS
| photo = Apollo.jpg
| gender = M
| parent 1 = Adama (TOS)
| parent 2 = Ila
| spouse = Serina
| rank = Captain
| actor = [[Richard Hatch]]
}}
Comprehensive character infobox with Extension:Genealogy support.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | no description | Unknown | optional |
| photo | photo | no description | File | optional |
| photo 2 | photo 2 | no description | File | optional |
| caption | caption | no description | Unknown | optional |
| caption 2 | caption 2 | no description | Unknown | optional |
| Gender (M/F) | gender | M or F. Required for Genealogy. | Unknown | suggested |
| Genealogy Parent 1 | parent 1 | Exact page name. | Unknown | optional |
| Genealogy Parent 2 | parent 2 | Exact page name. | Unknown | optional |
| Genealogy Spouse | spouse | Exact page name. | Unknown | optional |
| Clean Birth Date | gen_birthdate | no description | Unknown | optional |
| age | age | no description | Unknown | optional |
| colony | colony | no description | Unknown | optional |
| birthplace | birthplace | no description | Unknown | optional |
| birthname | 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 |
| seen | seen | no description | Unknown | optional |
| pseen | pseen | no description | Unknown | optional |
| lastseen | lastseen | no description | Unknown | optional |
| death | death | no description | Unknown | optional |
| Visual Parents List | 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 'View' Link (Y) | familytree | no description | Unknown | optional |
| role | role | no description | Unknown | optional |
| rank | rank | no description | Unknown | optional |
| serial | serial | no description | Unknown | optional |
| actor | actor | no description | Unknown | optional |
| cylon | cylon | no description | Unknown | optional |
| 5cylon | 5cylon | no description | Unknown | optional |
| hcylon | hcylon | no description | Unknown | optional |
| mcylon | mcylon | no description | Unknown | optional |
| sepcon | sepcon | no description | Unknown | optional |
| primecon | primecon | no description | Unknown | optional |
| series | series | no description | Unknown | optional |
| Photo Gallery (Y) | archives | no description | Unknown | optional |
| Media Key | media | no description | Unknown | optional |
| sortkey | sortkey | no description | Unknown | optional |
| spoilers | spoilers | Set to Y to hide spoiler rows. | Unknown | optional |