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

Template:Cast Data: Difference between revisions

Template page
LIMAFOX76 (talk | contribs)
m →‎Optional parameters: I missed the explanation
Joe Beaudoin Jr. (talk | contribs)
mNo edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 58: Line 58:
{{!}} colspan="2" valign="top" {{!}} {{flag|{{{nationality|}}}}}
{{!}} colspan="2" valign="top" {{!}} {{flag|{{{nationality|}}}}}
}}
}}
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{archives|}}}{{{media|}}}"
! class="infoboxheader"  colspan="2" | Related Media
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{archives|}}}{{{media|}}}"
| {{#if:{{{media|}}}|{{void}}|colspan="2"}} style="white-space: nowrap;" class="hiddenStructure{{{archives|}}} | {{#if:{{{archives|}}}|[[Gallery:{{PAGENAME}}|Photo Gallery]]}}
| {{#if:{{{archives|}}}||{{void}}|colspan="2"}} style="white-space: nowrap;" class="hiddenStructure{{{media|}}}" | {{#if:{{{media|}}|[[md:{{{media|}}}|@ BW Media]]}}
|- class="hiddenStructure{{{site|}}}"
|- class="hiddenStructure{{{site|}}}"
| style="text-align: center" colspan="2" | <div class="plainlinks">[{{{site}}} Official Site]</div>
| style="text-align: center" colspan="2" | {{#if:{{{site archive|}}}|{{archivelink|url={{{site}}}|title=Official Site (archived)|live=N}}|<div class="plainlinks">[{{{site}}} Official Site]}}</div>
|- class="hiddenStructure{{{imdb|}}}"
|- class="hiddenStructure{{{imdb|}}}"
| 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">[https://www.imdb.com/name/nm{{{imdb}}} IMDb profile]</div>
|}
|}
<div style="visibility:hidden; display:none;">
<div style="visibility:hidden; display:none;">
Line 77: Line 82:
| b&c
| b&c
| B&C=[[Category: Cast (BAC)]] [[Category: Cast (RDM)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: BAC]] [[Category: RDM]]}}
| B&C=[[Category: Cast (BAC)]] [[Category: Cast (RDM)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: BAC]] [[Category: RDM]]}}
| CAP
| caprica
| caprica
| Caprica=[[Category: Cast (Caprica)]] [[Category: Cast (RDM)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: Caprica (series)]] [[Category: RDM]]}}
| Caprica=[[Category: Cast (Caprica)]] [[Category: Cast (RDM)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: Caprica (series)]] [[Category: RDM]]}}
Line 108: Line 114:
| b&c
| b&c
| B&C=[[Category: Cast (BAC)]] [[Category: Cast (RDM)]]
| B&C=[[Category: Cast (BAC)]] [[Category: Cast (RDM)]]
| CAP
| caprica
| caprica
| Caprica=[[Category: Cast (Caprica)]] [[Category: Cast (RDM)]]  
| Caprica=[[Category: Cast (Caprica)]] [[Category: Cast (RDM)]]  
Line 133: Line 140:
| b&c
| b&c
| B&C=[[Category: BAC]] [[Category: RDM]]
| B&C=[[Category: BAC]] [[Category: RDM]]
| CAP
| caprica
| caprica
| Caprica= [[Category: Caprica (series)]] [[Category: RDM]]
| Caprica= [[Category: Caprica (series)]] [[Category: RDM]]
Line 167: Line 175:
| nationality=  
| nationality=  
| site=
| site=
| site archive=
| imdb=  
| imdb=  
| nocat=
| nocat=
Line 195: Line 204:
** <code>Earth</code> as to indicate from the planet Earth
** <code>Earth</code> 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.  
* '''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.  
* '''site archive''': If the site is offline, but exists at the Wayback Machine, type "Y" or "y" (sans quotes).
* '''imdb''': The ID number on their IMDB page. Include only the numbers, '''not''' the two letter prefix. (i.e. 123456 instead of nm123456)
* '''imdb''': The ID number on their IMDB page. Include only the numbers, '''not''' the two letter prefix. (i.e. 123456 instead of nm123456)
* '''nocat:''' Insert '''Y''' to disable automatic categorization. Typically, this is done for articles that require more complex categorization techniques, and thus the categories need to be entered in manually.
* '''nocat:''' Insert '''Y''' to disable automatic categorization. Typically, this is done for articles that require more complex categorization techniques, and thus the categories need to be entered in manually.
Line 201: Line 211:


[[de: Vorlage:Castdaten]]
[[de: Vorlage:Castdaten]]
</noinclude>
<templatedata>
{
"params": {
"series": {},
"series 2": {},
"series 3": {},
"title": {},
"image": {
"type": "wiki-file-name"
},
"size": {},
"name": {},
"credit": {},
"character": {},
"born_month": {},
"born_day": {},
"born_year": {},
"death_month": {},
"death_day": {},
"death_year": {},
"showage": {},
"nationality": {},
"archives": {},
"media": {},
"site": {},
"site archive": {},
"imdb": {},
"sortkey": {},
"nocat": {}
},
"paramOrder": [
"series",
"series 2",
"series 3",
"title",
"image",
"size",
"name",
"credit",
"character",
"born_month",
"born_day",
"born_year",
"death_month",
"death_day",
"death_year",
"showage",
"nationality",
"archives",
"media",
"site",
"site archive",
"imdb",
"sortkey",
"nocat"
]
}
</templatedata></noinclude>

Latest revision as of 17:37, 6 December 2023

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.

By default, this template employs automatic categorization, thus removing the need to manually add categories to most cast articles. Should the need arise to disable it, use the nocat attribute as stated in this documentation. Doing this, however, requires that you manually add the categories to the end of the article text.

Usage

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

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: TOS, 1980, RDM, Caprica, BAC, SDS, TSC
  • sortkey: This tells the category system where this entry should go. (For Richard Hatch, the sortkey would be "Hatch, Richard"—without quotes—thus telling the software to alphabetize by his last name.)

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.
  • series 2: The second series the actor is a part of, if applicable. (e.g. Richard Hatch, Richard Lynch) Codes are TOS, 1980, RDM, Caprica, BAC, SDS, TSC
  • series 3: Like "series 2" for a third series the actor is involved in.
  • 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.
  • site archive: If the site is offline, but exists at the Wayback Machine, type "Y" or "y" (sans quotes).
  • imdb: The ID number on their IMDB page. Include only the numbers, not the two letter prefix. (i.e. 123456 instead of nm123456)
  • nocat: Insert Y to disable automatic categorization. Typically, this is done for articles that require more complex categorization techniques, and thus the categories need to be entered in manually.

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
seriesseries

no description

Unknownoptional
series 2series 2

no description

Unknownoptional
series 3series 3

no description

Unknownoptional
titletitle

no description

Unknownoptional
imageimage

no description

Fileoptional
sizesize

no description

Unknownoptional
namename

no description

Unknownoptional
creditcredit

no description

Unknownoptional
charactercharacter

no description

Unknownoptional
born_monthborn_month

no description

Unknownoptional
born_dayborn_day

no description

Unknownoptional
born_yearborn_year

no description

Unknownoptional
death_monthdeath_month

no description

Unknownoptional
death_daydeath_day

no description

Unknownoptional
death_yeardeath_year

no description

Unknownoptional
showageshowage

no description

Unknownoptional
nationalitynationality

no description

Unknownoptional
archivesarchives

no description

Unknownoptional
mediamedia

no description

Unknownoptional
sitesite

no description

Unknownoptional
site archivesite archive

no description

Unknownoptional
imdbimdb

no description

Unknownoptional
sortkeysortkey

no description

Unknownoptional
nocatnocat

no description

Unknownoptional