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

Editing Template:Character Data

Template page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
<includeonly>{| class="infobox" cellspacing="5"
<includeonly>{| class="infobox character-infobox" cellspacing="5"
|-class="infoboxheader"
|-class="infoboxheader"
| colspan="2"|
| colspan="2"|
{|  
{|  
|- style="text-align: left; font-size: larger;" cellpadding="0" cellspacing="0" width="100%"
|- style="text-align: left; font-size: larger;" cellpadding="0" cellspacing="0" width="100%"
| width="27" | {{Series Icon|series={{{series|}}}}}
| width="27" | {{#ifexist:Template:Series Icon|{{Series Icon|series={{{series|}}}}}|<span class="series-icon-placeholder">{{#if:{{{series|}}}|{{{series}}}|}}</span>}}
| width="{{#if:{{{series 2|}}}|27|0}}" | {{#if:{{{series 2|}}}|{{Series Icon|series={{{series 2|}}}}}|<!--null-->}}
| width="{{#if:{{{series 2|}}}|27|0}}" | {{#if:{{{series 2|}}}|{{#ifexist:Template:Series Icon|{{Series Icon|series={{{series 2|}}}}}|<span class="series-icon-placeholder">{{{series 2}}}</span>}}|}}
| width="{{#if:{{{series 3|}}}|27|0}}" | {{#if:{{{series 3|}}}|{{Series Icon|series={{{series 3|}}}}}|<!--null-->}}
| width="{{#if:{{{series 3|}}}|27|0}}" | {{#if:{{{series 3|}}}|{{#ifexist:Template:Series Icon|{{Series Icon|series={{{series 3|}}}}}|<span class="series-icon-placeholder">{{{series 3}}}</span>}}|}}
| style="text-align: center;" width="95%" | '''{{{title|{{PAGENAME}}}}}'''
| style="text-align: center;" width="95%" | '''{{{title|{{PAGENAME}}}}}'''
|}
|}
|-
|-
|- class="hiddenStructure{{#if:{{{photo|}}}|Y|}}"
{{#if:{{{photo|}}}|
| colspan="2" style="text-align: center;" | [[File:{{{photo|}}}|300px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption|}}}|<br/> {{{caption|}}}|}}
|- class="character-photo"
|- {{#if:{{{spoilers|}}}|class="hiddenStructure{{void}}"}}
| colspan="2" style="text-align: center;" | [[File:{{{photo}}}|300px|alt={{{title|{{PAGENAME}}}}}|{{{title|{{PAGENAME}}}}}]]{{#if:{{{caption|}}}|<br/><small>{{{caption}}}</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 only.</small>
|}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{name|}}}|Y|}}"
{{#if:{{{spoilers|}}}|
|-
| colspan="2" style="text-align:center;" | <div class="spoiler-toggle-container"><span class="mw-customtoggle-infobox spoiler-toggle" style="color: var(--color-link);">[show/hide spoilers]</span><br/><small>Spoilers hidden in infobox by default only.</small></div>
|}}
{{#if:{{{name|}}}|
|- style="vertical-align: top; text-align: left;"
| style="white-space: nowrap;" |  
| style="white-space: nowrap;" |  
{{#switch:{{{cylon}}}
{{#switch:{{{cylon|}}}
| Y
  | Y | y | Yes | yes = '''Human Name'''
| y
  | #default = '''Name'''
| Yes
| yes = '''Human Name'''
| #default='''Name'''
}}
}}
| {{{name}}}
| {{{name}}}
|- 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|}}"
|}}
{{#if:{{{age|}}}|
{{#if:{{{spoilers|}}}|
|- style="vertical-align: top; text-align: left;" class="spoiler-content"
|
|- style="vertical-align: top; text-align: left;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed"
}}
| '''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|}}"
|}}
{{#if:{{{colony|}}}|
{{#if:{{{spoilers|}}}|
|- style="vertical-align: top; text-align: left;" class="spoiler-content"
|
|- style="vertical-align: top; text-align: left;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed"
}}
| '''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|}}"
|}}
{{#if:{{{birthplace|}}}|
{{#if:{{{spoilers|}}}|
|- style="vertical-align: top; text-align: left;" class="spoiler-content"
|
|- style="vertical-align: top; text-align: left;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed"
}}
| '''Birth place'''
| '''Birth place'''
| {{{birthplace}}}
| {{{birthplace}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{birthname|}}}|Y|}}"
|}}
{{#if:{{{birthname|}}}|
|- style="vertical-align: top; text-align: left;"
| 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|}}"
|}}
{{#if:{{{birthdate|}}}|
|- style="vertical-align: top; text-align: left;"
| 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|}}"
|}}
{{#if:{{{callsign|}}}|
|- style="vertical-align: top; text-align: left;"
| '''Callsign'''
| '''Callsign'''
| {{{callsign}}}
| {{{callsign}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{nickname|}}}|Y|}}"
|}}
{{#if:{{{nickname|}}}|
|- style="vertical-align: top; text-align: left;"
| '''Nickname'''
| '''Nickname'''
| {{{nickname}}}
| {{{nickname}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{seen|}}}{{{seenref|}}}|Y|}}"
|}}
{{#if:{{{seen|}}}{{{seenref|}}}|
|- style="vertical-align: top; text-align: left;"
| style="white-space: nowrap;" |'''Introduced'''
| style="white-space: nowrap;" |'''Introduced'''
| {{#if:{{{seenref|}}}|{{{seenref|}}}|{{#if:{{{pseen|}}}|[[{{{seen}}}|{{{pseen}}}]]|[[{{{seen}}}]]}}}}
| {{#if:{{{seenref|}}}|{{{seenref}}}|{{#if:{{{seen|}}}|[[{{{seen}}}{{#if:{{{pseen|}}}|{{!}}{{{pseen}}}|}}]]|}}}}
|- 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|}}"
|}}
{{#if:{{{lastseen|}}}{{{lastseenref|}}}|
{{#if:{{{spoilers|}}}|
|- style="vertical-align: top; text-align: left;" class="spoiler-content"
|
|- style="vertical-align: top; text-align: left;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed"
}}
| '''Last Known Appearance'''
| '''Last Known Appearance'''
| {{#if:{{{lastseenref|}}}|{{{lastseenref|}}}|{{#if:{{{plastseen|}}}|[[{{{lastseen}}}|{{{plastseen}}}]]|[[{{{lastseen}}}]]}}}}
| {{#if:{{{lastseenref|}}}|{{{lastseenref}}}|{{#if:{{{lastseen|}}}|[[{{{lastseen}}}{{#if:{{{plastseen|}}}|{{!}}{{{plastseen}}}|}}]]|}}}}
|- 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|}}"
|}}
{{#if:{{{death|}}}|
{{#if:{{{spoilers|}}}|
|- style="vertical-align: top; text-align: left;" class="spoiler-content"
|
|- style="vertical-align: top; text-align: left;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed"
}}
| '''Death'''
| '''Death'''
| {{{death}}}
| {{{death}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{parents|}}}|Y|}}"
|}}
{{#if:{{{parents|}}}|
|- style="vertical-align: top; text-align: left;"
| '''Parents'''
| '''Parents'''
| {{{parents}}}
| {{{parents}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{siblings|}}}|Y|}}"
|}}
{{#if:{{{siblings|}}}|
|- style="vertical-align: top; text-align: left;"
| '''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|}}"
|}}
{{#if:{{{children|}}}|
{{#if:{{{spoilers|}}}|
|- style="vertical-align: top; text-align: left;" class="spoiler-content"
|
|- style="vertical-align: top; text-align: left;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed"
}}
| '''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|}}"
|}}
{{#if:{{{marital status|}}}|
{{#if:{{{spoilers|}}}|
|- style="vertical-align: top; text-align: left;" class="spoiler-content"
|
|- style="vertical-align: top; text-align: left;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed"
}}
| 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|}}"
|}}
{{#if:{{{familytree|}}}|
|- style="vertical-align: top; text-align: left;"
| 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|}}"
|}}
{{#if:{{{role|}}}|
{{#if:{{{spoilers|}}}|
|- style="vertical-align: top; text-align: left;" class="spoiler-content"
|
|- style="vertical-align: top; text-align: left;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed"
}}
| '''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|}}"
|}}
{{#if:{{{rank|}}}|
{{#if:{{{spoilers|}}}|
|- style="vertical-align: top; text-align: left;" class="spoiler-content"
|
|- style="vertical-align: top; text-align: left;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed"
}}
| '''Rank'''
| '''Rank'''
| {{{rank}}}
| {{{rank}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{serial|}}}|Y|}}"
|}}
{{#if:{{{serial|}}}|
|- style="vertical-align: top; text-align: left;"
| '''Serial Number'''
| '''Serial Number'''
| {{{serial}}}
| {{{serial}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{actor|}}}|Y|}}"
|}}
{{#if:{{{actor|}}}|
|- style="vertical-align: top; text-align: left;"
| 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;" {{#if:{{{cylon|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{cylon|}}}|Y|}}"
|}}
{{#if:{{{cylon|}}}|
{{#if:{{{spoilers|}}}|
|- style="vertical-align: top; text-align: center;" class="spoiler-content cylon-indicator"
|
|- style="vertical-align: top; text-align: center;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed cylon-indicator"
}}
| 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|}}"
|}}
{{#if:{{{5cylon|}}}|
{{#if:{{{spoilers|}}}|
|- style="vertical-align: top; text-align: center;" class="spoiler-content cylon-indicator"
|
|- style="vertical-align: top; text-align: center;" id="mw-customcollapsible-infobox" class="mw-collapsible mw-collapsed cylon-indicator"
}}
| 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|}}"
|}}
{{#if:{{{hcylon|}}}|
|- style="vertical-align: top; text-align: center;" class="cylon-indicator"
| 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|}}"
|}}
{{#if:{{{mcylon|}}}|
|- style="vertical-align: top; text-align: center;" class="cylon-indicator"
| 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|}}"
|-
| {{#if:{{{media|}}}|{{void}}|colspan="2"}} style="white-space: nowrap;" class="hiddenStructure{{#if:{{{archives|}}}|Y|}}" | {{#if:{{{archives|}}}|[[Gallery:{{PAGENAME}}|Photo Gallery]]}}
! class="infoboxheader" colspan="2" | Related Media
| {{#if:{{{archives|}}}||{{void}}|colspan="2"}} style="white-space: nowrap;" class="hiddenStructure{{#if:{{{media|}}}|Y|}}" | {{#if:{{{media|}}}|[[md:{{{media|}}}|@ BW Media]]}}
{{#if:{{{archives|}}}|
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{sepcon|}}}{{{primecon|}}}|Y|}}"
|- style="vertical-align: top; text-align: center;"
! class="infoboxheader" colspan="2" | Additional Information
| {{#if:{{{media|}}}||colspan="2"}} style="white-space: nowrap;" | [[Gallery:{{PAGENAME}}|Photo Gallery]]
|- 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]]|{{void}}}}
{{#if:{{{media|}}}|
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{primecon|}}}|Y|}}"
|- style="vertical-align: top; text-align: center;"
| colspan="2"| {{#if:{{{primecon|}}}|[[{{{primecon title|{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}})|}}}}}|{{#if:{{{primecon title|}}}|{{#explode:{{{primecon title}}}|(|0}}|{{{title|{{PAGENAME}}}}}}} in the primary continuity]]|{{void}}}}
| {{#if:{{{archives|}}}||colspan="2"}} style="white-space: nowrap;" | [[md:{{{media}}}|@ BW Media]]
|- class="hiddenStructure{{#if:{{{photo 2|}}}|Y|}}"
|}}
| colspan="2" style="text-align: center;" | [[File:{{{photo 2|}}}|300px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 2|}}}|<br/> {{{caption 2|}}}|}}
|}}
|}<!--
{{#if:{{{sepcon|}}}{{{primecon|}}}|
-->{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}}</includeonly>
|-
! class="infoboxheader" colspan="2" | Additional Information
{{#if:{{{sepcon|}}}|
|- style="vertical-align: top; text-align: center;"
| colspan="2"| [[{{{sepcon title|{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series}}} alternate)|(alternate)}}}}}|{{#if:{{{sepcon title|}}}|{{#explode:{{{sepcon title}}}|(|0}}|{{{title|{{PAGENAME}}}}}}} in the separate continuity]]
|}}
{{#if:{{{primecon|}}}|
|- style="vertical-align: top; text-align: center;"
| 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|}}}|
|- class="character-photo-secondary"
| colspan="2" style="text-align: center;" | [[File:{{{photo 2}}}|300px|alt={{{title|{{PAGENAME}}}}} - Additional Image|{{{title|{{PAGENAME}}}}}]]{{#if:{{{caption 2|}}}|<br/><small>{{{caption 2}}}</small>|}}
|}}
|}
{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}|}}</includeonly>
 
<noinclude>
<noinclude>
= Documentation =
= Documentation =
Line 125: Line 234:
  | seen=
  | seen=
  | pseen=
  | pseen=
| seenref=
  | lastseen=
  | lastseen=
  | plastseen=  
  | plastseen=  
| lastseenref=
  | death=
  | death=
  | parents=
  | parents=
Line 141: Line 252:
  | hcylon=
  | hcylon=
  | mcylon=
  | mcylon=
| archives=
| media=
  | sepcon=
  | sepcon=
  | primecon=
  | primecon=
| sepcon title=
| primecon title=
  | series=
  | series=
| series 2=
| series 3=
  | name=
  | name=
  | sortkey=
  | sortkey=
| spoilers=
}}
}}
</pre>
</pre>
=== Required parameters ===
None. All parameters are optional.


=== Optional parameters ===
=== Optional parameters ===
* '''title''': If different from the article name.
* '''title''': If different from the article name.
* '''photo''': The filename of the photo.
* '''photo''': The filename of the photo (without File: prefix).
* '''photo 2''': The file name for a second photo, which goes on the bottom of the infobox.
* '''photo 2''': The file name for a second photo, which goes on the bottom of the infobox.
* '''caption''': The caption of the first photo.
* '''caption''': The caption of the first photo.
Line 164: Line 285:
* '''seen''': The episode in which the character first appears. Do not wikify.
* '''seen''': The episode in which the character first appears. Do not wikify.
* '''pseen''': If the episode name is different than the article name, this is what will displayed. Do not wikify.
* '''pseen''': If the episode name is different than the article name, this is what will displayed. Do not wikify.
* '''seenref''': Custom reference for first appearance (overrides seen/pseen).
* '''lastseen''': The episode in which the character last appears. Do not wikify.
* '''plastseen''': If the last seen episode name is different than the article name, this is what will displayed. Do not wikify.
* '''lastseenref''': Custom reference for last appearance (overrides lastseen/plastseen).
* '''death''': When, Where, and How they died. Please wikify the episode.
* '''death''': When, Where, and How they died. Please wikify the episode.
* '''parents''': Who are their parents.
* '''parents''': Who are their parents.
Line 175: Line 300:
* '''actor''': Actor/actress who plays this character. Please wikify.
* '''actor''': Actor/actress who plays this character. Please wikify.
* '''name''': If the character is a Cylon, this is their human name. For example, "[[Sharon Valerii]]" for [[Number Eight]].
* '''name''': If the character is a Cylon, this is their human name. For example, "[[Sharon Valerii]]" for [[Number Eight]].
* '''sortkey''': This tells the category system where this entry should go. (For [[William Adama]], the sortkey would be "Adama, William"—without quotes—thus telling the software to alphabetize by his last name.)  
* '''sortkey''': This tells the category system where this entry should go. (For [[William Adama]], the sortkey would be "Adama, William"—without quotes—thus telling the software to alphabetize by his last name.)
* '''spoilers''': Set to '''Y''' to enable spoiler mode for sensitive information.
 
==== Series Icons ====
* '''series''': Insert the series acronym for the primary series. Values are '''TOS''', '''1980''', and '''RDM'''.
* '''series 2''': Insert the series acronym for a secondary series icon.
* '''series 3''': Insert the series acronym for a tertiary series icon.


==== RDM ====
==== RDM ====
Line 184: Line 315:
==== TOS ====
==== TOS ====
* '''mcylon''': Insert '''Y''' to indicate that this character is a Cylon.
* '''mcylon''': Insert '''Y''' to indicate that this character is a Cylon.
==== Media Parameters ====
* '''archives''': Insert '''Y''' to show link to photo gallery.
* '''media''': Insert media identifier to show link to BW Media.


==== Separate Continuity ====
==== Separate Continuity ====
* '''sepcon''': Insert '''Y''' to indicate that a [[Battlestar Wiki:Separate continuity|separate continuity]] article is available on the subject.
* '''sepcon''': Insert '''Y''' to indicate that a [[Battlestar Wiki:Separate continuity|separate continuity]] article is available on the subject.
* '''sepcon title''': The name of the article on the subject in the separate continuity. Do not encase in any link syntax.
* '''sepcon title''': The name of the article on the subject in the separate continuity. Do not encase in any link syntax.
** ''Note:'' Anything encased in parentheses will be "piped," thus anything including or after the "(" will be ignored when outputting a name, just like an automatically piped link. Example: <code>Vella (TOS alternate reality)</code> will only print <code>Vella</code>. It will '''not affect''' the actual link itself, only the '''printed output''' in the template.
** ''Note:'' Anything encased in parentheses will be "piped," thus anything including or after the "(" will be ignored when outputting a name, just like an automatically piped link. Example: <code>Vella (TOS alternate reality)</code> will only print <code>Vella</code>. It will '''not affect''' the actual link itself, only the '''printed output''' in the template.
* '''series''': Insert the series acronym that the separate continuity is a part of.  Values are '''TOS''', '''1980''', and '''RDM'''.
: '''Note:''' This is only for articles where the name crosses more than one continuity. For instance, "Boxey" is both a character in the Original Series as well as the Re-imagined Series. So an article on Boxey in the separate continuity material for the Original Series would use the "TOS" acronym, and thus would facilitate a link to [[Boxey (TOS alternate)]].


==== Primary Continuity ====
==== Primary Continuity ====
: ''This is meant for articles on ''separate continuity'' characters, i.e. {{alt|Daniel Novacek}}.''
: ''This is meant for articles on ''separate continuity'' characters, i.e. {{alt|Daniel Novacek}}.''


Line 200: Line 331:
* '''primecon title''': The name of the article on the subject in the primary continuity. Do not encase in any link syntax.
* '''primecon title''': The name of the article on the subject in the primary continuity. Do not encase in any link syntax.
** ''Note:'' Anything encased in parentheses will be "piped," thus anything including or after the "(" will be ignored when outputting a name, just like an automatically piped link. Example: <code>Adama (TOS)</code> will only print <code>Adama</code>. It will '''not affect''' the actual link itself, only the '''printed output''' in the template.
** ''Note:'' Anything encased in parentheses will be "piped," thus anything including or after the "(" will be ignored when outputting a name, just like an automatically piped link. Example: <code>Adama (TOS)</code> will only print <code>Adama</code>. It will '''not affect''' the actual link itself, only the '''printed output''' in the template.
* '''series''': Insert the series acronym that the primary continuity is a part of.  Values are '''TOS''', '''1980''', and '''RDM'''.
 
: '''Note:''' This is only for articles where the name crosses more than one continuity. For instance, "Boxey" is both a character in the Original Series as well as the Re-imagined Series. So an article on Boxey in the primary continuity material for the Original Series would use the "TOS" acronym, and thus would facilitate a link to [[Boxey (TOS)]].
== Changes Made ==
This improved version includes:
 
* **Fixed table structure** - Proper opening and closing tags
* **Improved error handling** - Template existence checks with fallbacks
* **Better accessibility** - Added alt attributes for images
* **Cleaner conditional logic** - Simplified spoiler and collapsible handling
* **Standardized parameters** - Consistent use of parameter defaults
* **Enhanced documentation** - Clearer parameter descriptions and relationships
* **Added CSS classes** - For better styling control
* **Improved link generation** - Better handling of episode links with display names


[[Category:Infobox|Character]]
[[Category:Infobox|Character]]
Line 207: Line 348:


[[de:Vorlage:Charakterdaten]]
[[de:Vorlage:Charakterdaten]]
[[fr:Modèle:Infobox Personnage]]
[[fr:Modèle:Infobox Personnage]]


<templatedata>
<templatedata>
{
{
"params": {
"params": {
"title": {},
"title": {
"description": "Character name if different from article name"
},
"photo": {
"photo": {
"type": "wiki-file-name"
"type": "wiki-file-name",
"description": "Main character image filename"
},
"caption": {
"description": "Caption for main photo"
},
},
"caption": {},
"name": {},
"cylon": {},
"age": {},
"colony": {},
"birthplace": {},
"birthname": {},
"birthdate": {},
"callsign": {},
"nickname": {},
"seen": {},
"seenref": {},
"pseen": {},
"death": {},
"parents": {},
"siblings": {},
"children": {},
"marital status": {},
"familytree": {},
"role": {},
"rank": {},
"serial": {},
"actor": {},
"5cylon": {},
"hcylon": {},
"mcylon": {},
"archives": {},
"media": {},
"sepcon": {},
"primecon": {},
"sepcon title": {},
"series": {},
"primecon title": {},
"photo 2": {
"photo 2": {
"type": "wiki-file-name"
"type": "wiki-file-name",
"description": "Secondary character image filename"
},
},
"caption 2": {},
"caption 2": {
"sortkey": {},
"description": "Caption for secondary photo"
"lastseen": {},
},
"lastseenref": {},
"name": {
"plastseen": {},
"description": "Human name if character is a Cylon"
"spoilers": {}
},
"cylon": {
"type": "boolean",
"description": "Set to Y if character is a Cylon"
},
"5cylon": {
"type": "boolean",
"description": "Set to Y if character is a Final Five Cylon"
},
"hcylon": {
"type": "boolean",
"description": "Set to Y if character is a Human/Cylon Hybrid"
},
"mcylon": {
"type": "boolean",
"description": "Set to Y if character is an Original Series Cylon"
},
"age": {
"description": "Character's age"
},
"colony": {
"description": "Home colony"
},
"birthplace": {
"description": "Birth location if not from the Twelve Colonies"
},
"birthname": {
"description": "Full birth name"
},
"birthdate": {
"description": "Date of birth"
},
"callsign": {
"description": "Pilot callsign"
},
"nickname": {
"description": "Character nickname"
},
"seen": {
"description": "First appearance episode"
},
"pseen": {
"description": "Display name for first appearance if different from episode title"
},
"seenref": {
"description": "Custom reference for first appearance (overrides seen/pseen)"
},
"lastseen": {
"description": "Last appearance episode"
},
"plastseen": {
"description": "Display name for last appearance if different from episode title"
},
"lastseenref": {
"description": "Custom reference for last appearance (overrides lastseen/plastseen)"
},
"death": {
"description": "Information about character's death"
},
"parents": {
"description": "Character's parents"
},
"siblings": {
"description": "Character's siblings"
},
"children": {
"description": "Character's children"
},
"marital status": {
"description": "Current marital status"
},
"familytree": {
"type": "boolean",
"description": "Set to Y if article has a family tree section"
},
"role": {
"description": "Current job or position"
},
"rank": {
"description": "Military rank"
},
"serial": {
"description": "Military serial number"
},
"actor": {
"description": "Actor who portrays the character"
},
"series": {
"description": "Primary series (TOS, 1980, RDM)"
},
"series 2": {
"description": "Secondary series icon"
},
"series 3": {
"description": "Tertiary series icon"
},
"archives": {
"type": "boolean",
"description": "Set to Y to show photo gallery link"
},
"media": {
"description": "Media identifier for BW Media link"
},
"sepcon": {
"type": "boolean",
"description": "Set to Y if separate continuity article exists"
},
"sepcon title": {
"description": "Title of separate continuity article"
},
"primecon": {
"type": "boolean",
"description": "Set to Y if primary continuity article exists"
},
"primecon title": {
"description": "Title of primary continuity article"
},
"sortkey": {
"description": "Category sort key (Last, First format)"
},
"spoilers": {
"type": "boolean",
"description": "Set to Y to enable spoiler hiding functionality"
}
},
},
"description": "Creates an infobox for characters.",
"description": "Creates an infobox for Battlestar Galactica characters with improved error handling and accessibility.",
"paramOrder": [
"paramOrder": [
"title",
"title",
"photo",
"photo",
"caption",
"caption",
"photo 2",
"caption 2",
"name",
"name",
"cylon",
"cylon",
"5cylon",
"hcylon",
"mcylon",
"age",
"age",
"colony",
"colony",
Line 276: Line 517:
"nickname",
"nickname",
"seen",
"seen",
"pseen",
"seenref",
"seenref",
"pseen",
"lastseen",
"lastseen",
"plastseen",
"lastseenref",
"lastseenref",
"plastseen",
"death",
"death",
"parents",
"parents",
Line 291: Line 532:
"serial",
"serial",
"actor",
"actor",
"5cylon",
"series",
"hcylon",
"series 2",
"mcylon",
"series 3",
"archives",
"archives",
"media",
"media",
"sepcon",
"sepcon",
"sepcon title",
"primecon",
"primecon",
"sepcon title",
"series",
"primecon title",
"primecon title",
"photo 2",
"caption 2",
"sortkey",
"sortkey",
"spoilers"
"spoilers"
]
]
}
}
</templatedata></noinclude>
</templatedata>
</noinclude>

To edit this page, please enter the words that appear below in the box (more info):

Refresh
Cancel Editing help (opens in new window)

  [] · [[]] · [[|]] · {{}} · · “” ‘’ «» ‹› „“ ‚‘ · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
     [[Category:]] · [[:File:]] · [[Special:MyLanguage/]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <syntaxhighlight></syntaxhighlight> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · <translate></translate> · <languages/> · {{#translation:}} · <tvar|></> · {{DEFAULTSORT:}} · <categorytree></categorytree> · <div style="clear:both;"></div> <s></s>


Your changes will be visible immediately.
  • For testing, please use the sandbox instead.
  • On talk pages, please sign your comment by typing four tildes (~~~~).

Templates used on this page: