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

Template:Character Data/2.0: Difference between revisions

Template page
Shane (talk | contribs)
mNo edit summary
Joe Beaudoin Jr. (talk | contribs)
finishing
Line 100: Line 100:
<div style="visibility:hidden; display:none;">
<div style="visibility:hidden; display:none;">
{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}}
{{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}}
{{#if:{{{nocat|}}}|<!-- Categorization is not automatically applied. -->|  
{{#if:{{{cat|}}}|
[[Category: A to Z]]
[[Category: A to Z]]
[[Category: Characters]]
[[Category: Characters]]
Line 167: Line 167:
| #default=
| #default=
}}
}}
}}
| <!-- Categorization is not automatically applied. -->}}
</div>
</div>


Line 180: Line 180:
{{Character Data
{{Character Data
  | title=
  | title=
| name=
  | photo=
  | photo=
  | photo 2=
  | photo 2=
Line 212: Line 213:
  | recurring=
  | recurring=
  | oneshot=
  | oneshot=
  | name=
  | cat=
}}
}}
</pre>
</pre>


== Required Parameters ==
=== Required Parameters ===


* '''series''': This is the designation for the series that this character is a part of.  Values are '''TOS''', '''1980''', '''Caprica''' and '''RDM'''.
* '''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 233: Line 237:
* '''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 241: Line 243:
* '''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 263: Line 264:
==== Categorization ====
==== Categorization ====


Categorization with this template is automatic.  
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]]

Revision as of 19:25, 11 May 2008


Documentation

This template is used to place an Character info on a Battlestar Wiki articles. It provides lower case parameters only.

Usage

{{Character Data
 | title=
 | name=
 | 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=
 | series=
 | main=
 | recurring=
 | oneshot=
 | cat=
}}

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

  • 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.
  • 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.
  • 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.

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 separate continuity article is available on the subject.
  • 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).

Categorization

Categorization with this template can be turned on by adding | cat=Y 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.