| Latest revision |
Your text |
| Line 1: |
Line 1: |
| <includeonly>{| class="infobox" cellspacing="5"
| | {| class="toccolours" style="float: right; margin: 0 0 1em 1em; width: 20em; font-size: 90%; clear:right;" cellspacing="5" |
| |-class="infoboxheader"
| | |- |
| | colspan="2"|
| | ! colspan="2" style="text-align: center; font-size: larger;" | '''{{PAGENAME}}''' |
| {|
| |
| |- 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|}}}}}|<!--null-->}}
| |
| | width="{{#if:{{{series 3|}}}|27|0}}" | {{#if:{{{series 3|}}}|{{Series Icon|series={{{series 3|}}}}}|<!--null-->}}
| |
| | style="text-align: center;" width="95%" | '''{{{title|{{PAGENAME}}}}}'''
| |
| |}
| |
| |- | | |- |
| |- class="hiddenStructure{{#if:{{{photo|}}}|Y|}}"
| | | colspan="2" style="padding: 1em 0; text-align: center;" | {{{photo}}} |
| | colspan="2" style="text-align: center;" | [[File:{{{photo|}}}|300px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption|}}}|<br/> {{{caption|}}}|}} | | |- style="vertical-align: top; text-align: left;" |
| |- {{#if:{{{spoilers|}}}|class="hiddenStructure{{void}}"}}
| |
| | colspan="2" style="text-align:center;" | <span class="mw-customtoggle-infobox" style="color: var(--color-link);">[show/hide spoilers]</span><br/><small>Spoilers hidden in infobox by default only.</small>
| |
| |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{name|}}}|Y|}}"
| |
| | style="white-space: nowrap;" |
| |
| {{#switch:{{{cylon}}}
| |
| | Y
| |
| | y
| |
| | Yes
| |
| | yes = '''Human Name'''
| |
| | #default='''Name'''
| |
| }}
| |
| | {{{name}}}
| |
| |- 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;" {{#if:{{{colony|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{colony|}}}|Y|}}" | | |- style="vertical-align: top; text-align: left;" |
| | '''Colony''' | | | '''[[Colonies|Colony]]''' |
| | {{{colony}}} | | | {{{colony}}} |
| |- style="vertical-align: top; text-align: left;" {{#if:{{{birthplace|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{birthplace|}}}|Y|}}" | | |- style="vertical-align: top; text-align: left;" |
| | '''Birth place'''
| | |style="white-space: nowrap;"| '''Birth Name''' |
| | {{{birthplace}}}
| |
| |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{birthname|}}}|Y|}}"
| |
| | style="white-space: nowrap;" | '''Birth Name''' | |
| | {{{birthname}}} | | | {{{birthname}}} |
| |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{birthdate|}}}|Y|}}"
| | {{If defined call1|{{{death}}}|Template:Character Data/Death|{{{death}}}}}{{If defined call1|{{{callsign}}}|Template:Character Data/Callsign|{{{callsign}}}}} |
| | style="white-space: nowrap;" | '''Birth Date'''
| | |- style="vertical-align: top; text-align: left;" |
| | {{{birthdate}}} | |
| |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{callsign|}}}|Y|}}" | |
| | '''Callsign'''
| |
| | {{{callsign}}} | |
| |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{nickname|}}}|Y|}}"
| |
| | '''Nickname'''
| |
| | {{{nickname}}}
| |
| |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{seen|}}}{{{seenref|}}}|Y|}}"
| |
| | style="white-space: nowrap;" |'''Introduced'''
| |
| | {{#if:{{{seenref|}}}|{{{seenref|}}}|{{#if:{{{pseen|}}}|[[{{{seen}}}|{{{pseen}}}]]|[[{{{seen}}}]]}}}} | |
| |- style="vertical-align: top; text-align: left;" {{#if:{{{lastseen|}}}{{{lastseenref|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{lastseen|}}}{{{lastseenref|}}}|Y|}}"
| |
| | '''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}}}
| |
| |- 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{{#if:{{{siblings|}}}|Y|}}" | | |- 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|}}" | | |- style="vertical-align: top; text-align: left;" |
| | '''Children'''
| | |style="white-space: nowrap;"|'''Marital Status''' |
| | {{{children}}}
| |
| |- style="vertical-align: top; text-align: left;" {{#if:{{{marital status|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{marital status|}}}|Y|}}"
| |
| | style="white-space: nowrap;"|'''Marital Status''' | |
| | {{{marital status}}} | | | {{{marital status}}} |
| |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{familytree|}}}|Y|}}" | | |- style="vertical-align: top; text-align: left;" |
| | style="white-space: nowrap;"|'''Family Tree'''
| | |'''Role''' |
| | [[#Family tree|View]] | | |{{{role}}}{{If defined call1|{{{rank}}}|Template:Character Data/Rank|{{{rank}}}}}{{If defined call1|{{{cylon}}}|Template:Character Data/Cylon|{{{cylon}}}}} |
| |- style="vertical-align: top; text-align: left;" {{#if:{{{role|}}}|id="mw-customcollapsible-infobox"|}} class="{{#if:{{{spoilers|}}}|{{void}}|mw-collapsible mw-collapsed}} hiddenStructure{{#if:{{{role|}}}|Y|}}"
| | |- style="vertical-align: top; text-align: left;" |
| | '''Role'''
| | |style="white-space: nowrap;"|'''Portrayed by''' |
| | {{{role}}}
| | | {{{actor}}} |
| |- 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}}} | |
| |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{serial|}}}|Y|}}"
| |
| | '''Serial Number'''
| |
| | {{{serial}}}
| |
| |- style="vertical-align: top; text-align: left;" class="hiddenStructure{{#if:{{{actor|}}}|Y|}}" | |
| | style="white-space: nowrap;" |'''Portrayed by'''
| |
| | 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|}}"
| |
| | 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|}}"
| |
| | colspan="2"| {{{title|{{PAGENAME}}}}} is a [[Final Five]] [[Humanoid Cylon|Cylon]]
| |
| |- 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]]
| |
| |- style="vertical-align: top; text-align: center;" class="hiddenStructure{{#if:{{{mcylon|}}}|Y|}}" | |
| | 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
| |
| |- 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]]}} | |
| | {{#if:{{{archives|}}}||{{void}}|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{{#if:{{{sepcon|}}}{{{primecon|}}}|Y|}}"
| |
| ! class="infoboxheader" colspan="2" | Additional Information
| |
| |- 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}}}}
| |
| |- 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]]|{{void}}}}
| |
| |- 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:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}}</includeonly>
| |
| <noinclude>
| |
| = Documentation =
| |
| This template is used to place character info on a Battlestar Wiki article. It provides lower case parameters only.
| |
| | |
| == Usage ==
| |
| <pre>
| |
| {{Character Data
| |
| | title=
| |
| | photo=
| |
| | photo 2=
| |
| | caption=
| |
| | caption 2=
| |
| | age=
| |
| | colony=
| |
| | birthplace=
| |
| | birthname=
| |
| | birthdate=
| |
| | callsign=
| |
| | nickname=
| |
| | seen=
| |
| | pseen=
| |
| | lastseen=
| |
| | plastseen=
| |
| | death=
| |
| | parents=
| |
| | siblings=
| |
| | children=
| |
| | marital status=
| |
| | familytree=
| |
| | role=
| |
| | rank=
| |
| | serial=
| |
| | actor=
| |
| | cylon=
| |
| | 5cylon=
| |
| | hcylon=
| |
| | mcylon=
| |
| | sepcon=
| |
| | primecon=
| |
| | series=
| |
| | name=
| |
| | sortkey=
| |
| }}
| |
| </pre>
| |
| | |
| === Optional parameters ===
| |
| * '''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.
| |
| * '''[[Colonies|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 <code>Family tree</code>.
| |
| * '''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 ====
| |
| * '''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 ====
| |
| * '''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:Templates using ParserFunctions|{{PAGENAME}}]]
| |
| | |
| [[de:Vorlage:Charakterdaten]]
| |
| | |
| [[fr:Modèle:Infobox Personnage]]
| |
| | |
| | |
| <templatedata>
| |
| {
| |
| "params": {
| |
| "title": {},
| |
| "photo": {
| |
| "type": "wiki-file-name"
| |
| },
| |
| "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": {
| |
| "type": "wiki-file-name"
| |
| },
| |
| "caption 2": {},
| |
| "sortkey": {},
| |
| "lastseen": {},
| |
| "lastseenref": {},
| |
| "plastseen": {},
| |
| "spoilers": {}
| |
| },
| |
| "description": "Creates an infobox for characters.",
| |
| "paramOrder": [
| |
| "title",
| |
| "photo",
| |
| "caption",
| |
| "name",
| |
| "cylon",
| |
| "age",
| |
| "colony",
| |
| "birthplace",
| |
| "birthname",
| |
| "birthdate",
| |
| "callsign",
| |
| "nickname",
| |
| "seen",
| |
| "seenref",
| |
| "pseen",
| |
| "lastseen",
| |
| "lastseenref",
| |
| "plastseen",
| |
| "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",
| |
| "caption 2",
| |
| "sortkey",
| |
| "spoilers"
| |
| ]
| |
| }
| |
| </templatedata></noinclude>
| |