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/2.0

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"
<includeonly>{| class="infobox"
|- class="infoboxheader"
|-
| colspan="2"|
! class="infoboxheader" colspan="2" style="text-align: center; font-size: larger;" |
{|
{{#switch:{{{series|}}}
|- style="text-align: left; font-size: larger;" cellpadding="0" cellspacing="0" width="100%"
| width="27" | {{#switch:{{{series|}}}
| tos
| tos
| TOS={{Click
| TOS=&nbsp; [[Image:BSG 1978 Patch.png|25px]] &nbsp;
| image = BSG 1978 Patch.png
| width = 25px
| height = 25px
| link = Battlestar Galactica (TOS)
}}
| rdm
| rdm
| RDM
| RDM
| #default= {{Click
| image = Colonial Seal.svg
| width = 25px
| height = 30px
| link = Battlestar Galactica (RDM)
}}
| caprica
| caprica
| Caprica= {{Click
| Caprica=&nbsp; [[Image:BSG-WIKI SM.png|25px]] &nbsp;
| image = ColonialColors3.png
| 1980=&nbsp; [[Image:Stuart Zee.jpg|25px]] &nbsp;
| width = 25px
| #default=&nbsp; [[Image:BSG-WIKI SM.png|25px]] &nbsp;
| height = 25px
}} '''{{{title|{{PAGENAME}}}}}'''
| link = Caprica (RDM)
}}
| 1980= {{Click
| image = Stuart Zee.jpg
| width = 25px
| height = 25px
| link = Galactica 1980
}}
}}
| style="text-align: center;" width="95%" | '''{{{title|{{PAGENAME}}}}}'''
|}
|- class="hiddenStructure{{{photo|}}}"
|- class="hiddenStructure{{{photo|}}}"
| colspan="2" style="text-align: center;" | [[File:{{{photo|}}}|200px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption|}}}|<br/> {{{caption|}}}|}}
| 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;" |  
| style="white-space: nowrap;" |  
Line 115: Line 91:
| colspan="2"| [[{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}} alternate)|(alternate)}}|{{{title|{{PAGENAME}}}}} in the separate continuity]]
| colspan="2"| [[{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}} alternate)|(alternate)}}|{{{title|{{PAGENAME}}}}} in the separate continuity]]
|- class="hiddenStructure{{{photo 2|}}}"
|- class="hiddenStructure{{{photo 2|}}}"
| colspan="2" style="text-align: center;" | [[File:{{{photo 2|}}}|200px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 2|}}}|<br/> {{{caption 2|}}}|}}
| colspan="2" style="text-align: center;" | [[Image:{{{photo 2|}}}|200px|{{{title|{{PAGENAME}}}}}]] {{#if:{{{caption 2|}}}|<br/> {{{caption 2|}}}|}}
|}
|}
<!-- Categories -->
<!-- Categories -->
<div style="visibility:hidden; display:none;">
{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}}
{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}}
{{#if:{{{cat|}}}|
[[Category: A to Z]]
[[Category: A to Z]]
[[Category: Characters]]
[[Category: Characters]]
Line 127: Line 101:
| 1980=[[Category: Characters (1980)]]
| 1980=[[Category: Characters (1980)]]
| caprica
| caprica
| Caprica=[[Category: Characters (Caprica)]] [[Category: Characters (RDM)]]
| Caprica=[[Category: Characters (Caprica)]]
| rdm
| rdm
| RDM=[[Category: Characters (RDM)]]
| RDM=[[Category: Characters (RDM)]]
Line 134: Line 108:
| #default=
| #default=
}}
}}
{{#if:{{{cylon|}}}|[[Category: Cylons]] [[Category: Cylons (RDM)]]}}
{{#if:{{{5cylon|}}}|[[Category: Cylons]] [[Category: Cylons (RDM)]]}}
{{#if:{{{hcylon|}}}|[[Category: Cylons]] [[Category: Cylons (RDM)]]}}
{{#if:{{{mcylon|}}}|[[Category: Cylons]] [[Category: Cylons (TOS)]]}}


{{#if:{{{death|}}}| [[Category: Deceased Characters]]
{{#if:{{{death|}}}| [[Category: Deceased Characters]]
Line 146: Line 115:
| #default=[[Category: Deceased Characters ({{{series}}})]]
| #default=[[Category: Deceased Characters ({{{series}}})]]
}}
}}
| &nbsp;
}}
}}


{{#if:{{{main|}}}|
{{#if:{{{main}}}|
{{#switch:{{{series|}}}
{{#switch:{{{series|}}}
| caprica
| caprica
Line 155: Line 123:
| #default=[[Category: Main Characters ({{{series}}})]]
| #default=[[Category: Main Characters ({{{series}}})]]
}}
}}
| &nbsp;
}}
}}


{{#if:{{{oneshot|}}}|
{{#if:{{{oneshot}}}|[[Category: One-Shot Characters]]
{{#switch:{{{series|}}}
{{#switch:{{{series|}}}
| caprica
| caprica
Line 164: Line 131:
| #default=[[Category: One-Shot Characters ({{{series}}})]]
| #default=[[Category: One-Shot Characters ({{{series}}})]]
}}
}}
| &nbsp;
}}
}}


{{#if:{{{colony|}}}|[[Category: People from {{{colony}}}]]}}
{{#if:{{{colony}}}|[[Category: People from {{{colony}}}]]}}


{{#if:{{{recurring|}}}|
{{#if:{{{recurring}}}
{{#switch:{{{series|}}}
{{#switch:{{{series|}}}
| caprica
| caprica
Line 175: Line 141:
| #default=[[Category: Recurring Guest Characters ({{{series}}})]]
| #default=[[Category: Recurring Guest Characters ({{{series}}})]]
}}
}}
| &nbsp;
}}
}}
{{#switch:{{{series|}}}
{{#switch:{{{series|}}}
| 1980=[[Category: 1980]]
| 1980=[[Category: 1980]]
Line 187: Line 153:
| #default=
| #default=
}}
}}
| <!-- Categorization is not automatically applied. -->}}
</div>


<!-- End Categories -->
<!-- End Categories -->
Line 200: Line 164:
{{Character Data
{{Character Data
  | title=
  | title=
| name=
  | photo=
  | photo=
  | photo 2=
  | photo 2=
Line 230: Line 193:
  | sepcon=
  | sepcon=
  | series=
  | series=
  | main=
  | name=
  | recurring=
  |  
| oneshot=
| cat=
}}
}}
</pre>
</pre>
=== Required Parameters ===
* '''series''': This is the designation for the series that this character is a part of.  Values are '''TOS''', '''1980''', '''Caprica''' and '''RDM'''. Defaults to '''RDM''' option, since a majority of the character articles are in that continuity.
* '''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.
* '''role''': Current job or position.


=== Optional parameters ===
=== Optional parameters ===
Line 257: Line 211:
* '''callsign''': The character's "callsign" if he or she is a pilot.
* '''callsign''': The character's "callsign" if he or she is a pilot.
* '''nickname''': The character's "nickname" if applicable.
* '''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 are their parents.
* '''parents''': Who are their parents.
Line 263: Line 219:
* '''marital status''': What's their current marital status.
* '''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>.
* '''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.
* '''rank''': Current rank if in the military.
* '''serial''': Serial number, if in the military.
* '''serial''': Serial number, if in the military.
Line 281: Line 238:
* '''series''': Insert the series acronym that the separate continuity is a part of.  Values are '''TOS''', '''1980''', and '''RDM'''.
* '''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)]].   
: '''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)]].   
==== Categorization ====
Categorization with this template can be turned on by adding <tt>| cat=Y</tt> to the template. By default, automatic categorization is '''deactivated'''.
* '''cat''': Insert '''Y''' to activate automatic categorization.
You must also have the '''series''' parameter defined as well if you are to use automatic categorization!
Once categorization is enabled, the following categories are automatically defined: [[:Category:A to Z]], [[:Category:Characters]], and the series-related categories (e.g. [[:Category:Characters (RDM)]] and [[:Category:RDM]]).
By defining the "death" attribute, you apply the [[:Category:Deceased Characters]] and the appropriate sub category (e.g. [[:Category:Deceased Characters (RDM)]]).
By defining the "colony" attribute, you automatically apply [[:Category:People from [Colony]]]. (e.g. defining "Aerelon" adds the character to [[:Category:People from Aerelon]]).
By defining the Cylon attributes above, you automatically apply the appropriate Cylon categories.
Additional categories that can be auto-added include:
* '''main''': Insert '''Y''' to add the character to the "One-Shot Characters" category.
* '''oneshot''': Insert '''Y''' to add the character to the "One-Shot Characters" category.
* '''recurring''': Insert '''Y''' to add the character to the "Recurring Guest Characters" category.


[[Category:Infobox|Character]]
[[Category:Infobox|Character]]
Line 308: Line 243:


[[de:Vorlage:Charakterdaten]]
[[de:Vorlage:Charakterdaten]]
 
[[es:Plantilla:Character Data]]
 
[[tr:Taslak:Karakter Bilgileri]]


</noinclude>
</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 (~~~~).