Template:Character Data: Difference between revisions

Template page
m (actually, given that this template is used for both TOS and RDM articles, we really shouldn't link the Colony term at all)
(if statements to help with mitigating unwanted (and unnecessary) entries in Special:WantedPages)
(44 intermediate revisions by 4 users not shown)
Line 3: Line 3:
! class="infoboxheader" colspan="2" style="text-align: center; font-size: larger;" | '''{{{title|{{PAGENAME}}}}}'''
! class="infoboxheader" colspan="2" style="text-align: center; font-size: larger;" | '''{{{title|{{PAGENAME}}}}}'''
|- class="hiddenStructure{{{photo|}}}"
|- class="hiddenStructure{{{photo|}}}"
| colspan="2" style="padding: 1em 0; text-align: center;" | [[Image:{{{photo|}}}|200px|{{{title|{{PAGENAME}}}}}]]
| colspan="2" style="text-align: center;" | [[Image:{{{photo|}}}|200px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption|}}}|<br/> {{{caption|}}}|}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{name|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{name|}}}"
| style="white-space: nowrap;" | '''Human Name'''
| style="white-space: nowrap;" |  
{{#switch:{{{cylon}}}
| Y
| y
| Yes
| yes = '''Human Name'''
| #default='''Name'''
}}
| {{{name}}}
| {{{name}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{age|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{age|}}}"
Line 13: Line 20:
| '''Colony'''
| '''Colony'''
| {{{colony}}}
| {{{colony}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{birthplace|}}}"
| '''Birth place'''
| {{{birthplace}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{birthname|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{birthname|}}}"
| 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="white-space: nowrap;" | '''Birth Date'''
| {{{birthdate}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{callsign|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{callsign|}}}"
| '''Callsign'''
| '''Callsign'''
Line 22: Line 35:
| '''Nickname'''
| '''Nickname'''
| {{{nickname}}}
| {{{nickname}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{seen|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{seen|}}}{{{seenref|}}}"
| style="white-space: nowrap;" |'''Introduced'''
| style="white-space: nowrap;" |'''Introduced'''
| {{#if:{{{pseen|}}}|[[{{{seen}}}|{{{pseen}}}]]|[[{{{seen}}}]]}}
| {{#if:{{{seenref|}}}|{{{seenref|}}}|{{#if:{{{pseen|}}}|[[{{{seen}}}|{{{pseen}}}]]|[[{{{seen}}}]]}}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{death|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{death|}}}"
| '''Death'''
| '''Death'''
Line 40: Line 53:
| 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="white-space: nowrap;"|'''Family Tree'''
| [[#Family tree|View]]
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{role|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{role|}}}"
| '''Role'''
| '''Role'''
| {{{role}}}
| {{{role}}}
|-
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{rank|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{rank|}}}"
| '''Rank'''
| '''Rank'''
| {{{rank}}}
| {{{rank}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{serial|}}}"
| '''Serial Number'''
| {{{serial}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{actor|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{actor|}}}"
| style="white-space: nowrap;" |'''Portrayed by'''
| style="white-space: nowrap;" |'''Portrayed by'''
Line 58: Line 76:
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{mcylon|}}}"
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{mcylon|}}}"
| 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{{{sepcon|}}}{{{primecon|}}}"
</includeonly>
! class="infoboxheader"  colspan="2" | Additional Information
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{sepcon|}}}"
| 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}}}}
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{primecon|}}}"
| 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}}}}
|- class="hiddenStructure{{{photo 2|}}}"
| colspan="2" style="text-align: center;" | [[Image:{{{photo 2|}}}|200px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 2|}}}|<br/> {{{caption 2|}}}|}}
|}<!--
-->{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}}</includeonly>
<noinclude>
<noinclude>
= Documentation =
= Documentation =
This template is used to place an Character info on a ''Battlestar Wiki'' articles. It provides lower case parameters only.
This template is used to place character info on a Battlestar Wiki article. It provides lower case parameters only.


== Usage ==
== Usage ==
Line 69: Line 95:
  | title=
  | title=
  | photo=
  | photo=
| photo 2=
| caption=
| caption 2=
  | age=
  | age=
  | colony=
  | colony=
| birthplace=
  | birthname=
  | birthname=
| birthdate=
  | callsign=
  | callsign=
  | nickname=
  | nickname=
Line 81: Line 112:
  | children=
  | children=
  | marital status=
  | marital status=
| familytree=
  | role=
  | role=
  | rank=
  | rank=
| serial=
  | actor=
  | actor=
  | cylon=
  | cylon=
Line 88: Line 121:
  | hcylon=
  | hcylon=
  | mcylon=
  | mcylon=
| sepcon=
| primecon=
| series=
  | name=
  | name=
| sortkey=
}}
}}
</pre>
</pre>
Line 95: Line 132:
* '''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.
* '''age''': The approx. age of the character
* '''photo 2''': The file name for a second photo, which goes on the bottom of the infobox.
* '''[[Colonies|colony]]''': What origin colony does this character represent
* '''caption''': The caption of the first photo.
* '''birthname''': What is the full birthname of the character
* '''caption 2''': The caption of the second photo.
* '''callsign''': If they have a "callsign" (Ship Oriented)
* '''age''': The approximate age of the character.
* '''nickname''': If they have a "nickname"
* '''[[Colonies|colony]]''': The character's home colony.
* '''seen''': Episode article name. Do not wikify.
* '''birthplace''': If the character was not born on one of [[The Twelve Colonies]], then use this parameter instead of "colony".
* '''pseen''': If the episode name is different than the article name, this is what we will see. Do not wikify.
* '''birthname''': The full birthname of the character.
* '''birthdate''': The date of birth. Approximate. Link to a [[Timeline]] page if needed.
* '''callsign''': The character's "callsign" if he or she is a pilot.
* '''nickname''': The character's "nickname" if applicable.
* '''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.
* '''death''': When, Where, and How they died. Please wikify the episode.
* '''death''': When, Where, and How they died. Please wikify the episode.
* '''parents''': Who is their parents
* '''parents''': Who are their parents.
* '''siblings''': Who is related to them.
* '''siblings''': Who is related to them.
* '''children''': How many children does this character have.
* '''children''': How many children does this character have.
* '''marital status''': What's their current marital status
* '''marital status''': What's their current marital status.
* '''role''': Current Job
* '''familytree''': Set this to '''Y''' if they have a family tree. The section in the article should be <code>Family tree</code>.
* '''rank''': Current Rank
* '''role''': Current job or position.
** ''Millitary'' - Former of Current
* '''rank''': Current rank if in the military.
* '''actor''': Actor/Actress who plays this character. Please wikify.
* '''serial''': Serial number, if in the military.
* '''name''': Force name ''only'' for "Cylon" Display
* '''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]].
* '''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.)


==== RDM ====
==== RDM ====
Line 120: Line 164:
==== TOS ====
==== TOS ====
* '''mcylon''': Insert '''Y''' to indicate that this character is a Cylon.
* '''mcylon''': Insert '''Y''' to indicate that this character is a Cylon.
==== Separate Continuity ====
* '''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.
** ''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 ====
: ''This is meant for articles on ''separate continuity'' characters, i.e. {{alt|Daniel Novacek}}.''
* '''primecon''': Insert '''Y''' to indicate that a [[Battlestar Wiki:Canon|primary continuity]] article is available on the subject.
* '''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.
* '''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)]].


[[Category:Infobox|Character]]
[[Category:Infobox|Character]]
Line 125: Line 187:


[[de:Vorlage:Charakterdaten]]
[[de:Vorlage:Charakterdaten]]
[[es:Plantilla:Character Data]]
 
[[tr:Taslak:Karakter Bilgileri]]
[[fr:Modèle:Infobox Personnage]]
 


</noinclude>
</noinclude>

Revision as of 01:02, 20 September 2021


Documentation[edit]

This template is used to place character info on a Battlestar Wiki article. It provides lower case parameters only.

Usage[edit]

{{Character Data
 | title=
 | photo=
 | photo 2=
 | caption=
 | caption 2=
 | age=
 | colony=
 | birthplace=
 | birthname=
 | birthdate=
 | callsign=
 | nickname=
 | seen=
 | pseen=
 | death=
 | parents=
 | siblings=
 | children=
 | marital status=
 | familytree=
 | role=
 | rank=
 | serial=
 | actor=
 | cylon=
 | 5cylon=
 | hcylon=
 | mcylon=
 | sepcon=
 | primecon=
 | series=
 | name=
 | sortkey=
}}

Optional parameters[edit]

  • title: If different from the article name.
  • photo: The filename of the photo.
  • 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 2: The caption of the second photo.
  • age: The approximate age of the character.
  • colony: The character's home colony.
  • birthplace: If the character was not born on one of The Twelve Colonies, then use this parameter instead of "colony".
  • birthname: The full birthname of the character.
  • birthdate: The date of birth. Approximate. Link to a Timeline page if needed.
  • callsign: The character's "callsign" if he or she is a pilot.
  • nickname: The character's "nickname" if applicable.
  • 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.
  • death: When, Where, and How they died. Please wikify the episode.
  • parents: Who are their parents.
  • siblings: Who is related to them.
  • children: How many children does this character have.
  • marital status: What's their current marital status.
  • familytree: Set this to Y if they have a family tree. The section in the article should be Family tree.
  • role: Current job or position.
  • rank: Current rank if in the military.
  • serial: Serial number, if in the military.
  • 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.
  • 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.)

RDM[edit]

  • cylon: Insert Y to indicate that this character is a Cylon.
  • 5cylon: Insert Y to indicate that this character is a member of the Final Five.
  • hcylon: Insert Y to indicate that this character is a Cylon Hybrid.

TOS[edit]

  • mcylon: Insert Y to indicate that this character is a Cylon.

Separate Continuity[edit]

  • sepcon: Insert Y to indicate that a 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.
    • 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: Vella (TOS alternate reality) will only print Vella. 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[edit]

This is meant for articles on separate continuity characters, i.e. Daniel Novacek.
  • primecon: Insert Y to indicate that a primary continuity article is available on the subject.
  • 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: Adama (TOS) will only print Adama. 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).