Difference between revisions of "Template:Cast Data"

From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide
(Documentation: revising documentation lead sentence)
(Test.)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{| class="infobox" cellspacing="5"
 
{| class="infobox" cellspacing="5"
|-
+
|-class="infoboxheader"
! class="infoboxheader" colspan="2" style="text-align: center; font-size: larger;" | '''{{{name|{{PAGENAME}}}}}'''
+
| colspan="2"|
 +
{|
 +
|- style="text-align: left; font-size: larger;" cellpadding="0" cellspacing="0" width="100%"
 +
| width="27" | {{#switch:{{{series|}}}
 +
| tos
 +
| TOS={{Click
 +
| image = BSG 1978 Patch.png
 +
| width = 25px
 +
| height = 25px
 +
| link = Battlestar Galactica (TOS)
 +
}}
 +
| rdm
 +
| RDM
 +
| #default= {{Click
 +
| image = Colonial Seal.svg
 +
| width = 25px
 +
| height = 30px
 +
| link = Battlestar Galactica (RDM)
 +
}}
 +
| caprica
 +
| Caprica= {{Click
 +
| image = ColonialColors3.png
 +
| width = 25px
 +
| height = 25px
 +
| link = Caprica (RDM)
 +
}}
 +
| 1980= {{Click
 +
| image = Stuart Zee.jpg
 +
| width = 25px
 +
| height = 25px
 +
| link = Galactica 1980
 +
}}
 +
}}
 +
| style="text-align: center;" width="95%" | '''{{{title|{{PAGENAME}}}}}'''
 +
|}
 
|-
 
|-
 
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
 
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
Line 56: Line 90:
 
| style="text-align: center" colspan="2" | <div class="plainlinks">[http://us.imdb.com/name/nm{{{imdb}}} IMDb profile]</div>
 
| style="text-align: center" colspan="2" | <div class="plainlinks">[http://us.imdb.com/name/nm{{{imdb}}} IMDb profile]</div>
 
|}
 
|}
 +
<div style="visibility:hidden; display:none;">
 +
<!-- The DIV removes the newlines that are generated by this code. ;-) -->
 +
{{DEFAULTSORT:{{{2}}}, {{{1}}}}}
 +
[[Category: A to Z]]
 +
[[Category: Cast]]
 +
{{#switch:{{{series|}}}
 +
| 1980=[[Category: Cast (1980)]] {{#if:{{{series 2|}}}|[[Category: 1980]]}}
 +
| caprica
 +
| Caprica=[[Category: Cast (Caprica)]] [[Category: Cast (RDM)]] {{#if:{{{series 2|}}}|[[Category: Caprica]] [[Category: RDM]]}}
 +
| rdm
 +
| RDM=[[Category: Cast (RDM)]] {{#if:{{{series 2|}}}|[[Category: RDM]]}}
 +
| tos
 +
| TOS=[[Category: Cast (TOS)]] {{#if:{{{series 2|}}}|[[Category: TOS]]}}
 +
}}
 +
{{#switch:{{{series 2|}}}
 +
| 1980=[[Category: Cast (1980)]]
 +
{{#switch:{{{series|}}}
 +
| caprica
 +
| Caprica=[[Category: 1980]] [[Category: Caprica]] [[Category: RDM]]
 +
| rdm
 +
| RDM=[[Category: 1980]] [[Category: RDM]]
 +
| tos
 +
| TOS
 +
| #default=[[Category: 1980]] [[Category: TOS]]
 +
}}
 +
| caprica
 +
| Caprica=[[Category: Cast (Caprica)]] [[Category: Cast (RDM)]]
 +
{{#switch:{{{series|}}}
 +
| 1980=[[Category: 1980]] [[Category: Caprica]] [[Category: RDM]]
 +
| tos
 +
| TOS
 +
| #default=[[Category: Caprica]] [[Category: RDM]] [[Category: TOS]]
 +
}}
 +
| rdm
 +
| RDM=[[Category: Cast (RDM)]]
 +
{{#switch:{{{series|}}}
 +
| 1980=[[Category: 1980]] [[Category: RDM]]
 +
| tos
 +
| TOS
 +
| #default=[[Category: RDM]] [[Category: TOS]]
 +
}}
 +
| tos
 +
| TOS=[[Category: Cast (TOS)]] [[Category:{{{series}}}]] [[Category: TOS]]
 +
| #default=
 +
}}
 +
</div>
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
= Documentation =
 
= Documentation =
Line 65: Line 145:
 
| image=
 
| image=
 
| size=
 
| size=
 +
| series=
 
| credit=
 
| credit=
 
| showage=
 
| showage=
Line 82: Line 163:
 
=== Required parameters ===
 
=== Required parameters ===
 
* '''character''': The character this person plays. Use <code><nowiki><br /></nowiki></code> to insert more than one. Please wikify the character.
 
* '''character''': The character this person plays. Use <code><nowiki><br /></nowiki></code> to insert more than one. Please wikify the character.
 +
* '''series''': The series the actor is a part of.
  
 
=== Optional parameters ===
 
=== Optional parameters ===

Revision as of 00:44, 13 May 2008

Documentation

This template is used to place summary information on a cast member on all Battlestar Wiki biography articles. It provides lower case parameters only.

Usage

{{Cast Data
| image=
| size=
| series=
| credit=
| showage=
| born_month= 
| born_day= 
| born_year= 
| death_month= 
| death_day= 
| death_year= 
| character= 
| nationality= 
| site=
| imdb= 
}}

Required parameters

  • character: The character this person plays. Use <br /> to insert more than one. Please wikify the character.
  • series: The series the actor is a part of.

Optional parameters

  • image: The filename of the image. Do not include the Image: prefix.
    • size: By default, the size will be limited to 200px. If this need to be increased enter the number here.
    • credit: If you are using a copyrighted image with permission, enter it here the details of the copyright. Otherwise place the copyright on the Media Wiki image page itself the correct image tags per the Media Wiki Image tagging policy.
  • showage: Type N or n in order to hide the age of the cast member in question, in the event that the full date of birth (or death) is unknown.
  • born_month: The month number that the actor was born.
  • born_day: The day number that the actor was born.
  • born_year: The full year that the actor was born. (e.x. 1971)
  • death_month: The month number that the actor died.
  • death_day: The day number that the actor died.
  • death_year: The full year that the actor died. (e.x. 1971)
  • nationality: Uses the flag template.
    • US, UK, or others. For a full listing of possible country codes please visit IANA's Root-Zone Index
    • Earth as to indicate from the planet Earth
  • site: The official website of the actor. This field is not for fan websites or other unofficial websites. Any unofficial websites using this parameter should be removed and placed in an External links section in the article itself.
  • imdb: The ID number on their IMDB page. Include only the numbers, not the two letter prefix. (i.e. 123456 instead of nm123456)