More languages
More actions
mNo edit summary |
mNo edit summary |
||
(118 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly> | ||
{| class="infobox" cellspacing="5" | |||
|-class="infoboxheader" | |||
| colspan="2"| | |||
{| | |||
| | |- 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}}}}}''' | |||
|} | |||
|- | |- | ||
| style=" | |- style="text-align: center;" class="hiddenStructure{{{image|}}}" | ||
| colspan= | | colspan="3" | [[Image:{{{image}}}|{{{size|200}}}px|{{{name|{{PAGENAME}}}}}]] | ||
|- | |- | ||
| style="white-space:nowrap;" | ''' | |- style="text-align: center;" class="hiddenStructure{{{credit|}}}" | ||
| colspan=2 | {{{ | | colspan="3" | <small>{{{credit}}}</small> | ||
|- | |||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{character|}}}" | |||
| style="white-space: nowrap;" | '''Portrays:''' | |||
| {{{character}}} | |||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{born_month|}}}{{{born_day|}}}{{{born_year|}}}" | |||
| style="white-space: nowrap;" | '''Date of Birth:''' | |||
| style="white-space: nowrap;" | {{#if:{{{born_month|}}}|{{MONTHNAME|{{{born_month|}}}}}}} {{#if:{{{born_day|}}}|{{{born_day|}}},}} {{{born_year|}}} | |||
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{death_month|}}}{{{death_day|}}}{{{death_year|}}}" | |||
| style="white-space: nowrap;" | '''Date of Death:''' | |||
| {{MONTHNAME|{{{death_month|}}}}} {{{death_day|}}}, {{{death_year|}}} | |||
<!--- AGE ---> | |||
{{#switch:{{{showage|}}} | |||
| N | |||
| n= | |||
| #default= | |||
{{#ifeq: | |||
{{#expr:({{#if:{{{born_month|}}}|1|0}}+ | |||
{{#if:{{{born_day|}}}|1|0}}+ | |||
{{#if:{{{born_year|}}}|1|0}})=3}} | |||
| 1 | |||
| <!-- THEN: --> | |||
{{#ifeq: | |||
{{#expr:({{#if:{{{death_month|}}}|1|0}}+ | |||
{{#if:{{{death_day|}}}|1|0}}+ | |||
{{#if:{{{death_year|}}}|1|0}})=3}} | |||
| 1 | |||
| <!-- THEN: --> {{!}}-style="vertical-align: top; text-align: left;" | |||
{{!}} '''Age at Death:''' | |||
{{!}} {{age|{{{born_year|}}}|{{{born_month|}}}|{{{born_day|}}}|{{{death_year|}}}|{{{death_month|}}}|{{{death_day|}}}}} | |||
| <!-- ELSE: --> {{!}}-style="vertical-align: top; text-align: left;" | |||
{{!}} '''Age:''' | |||
{{!}} {{age|{{{born_year|}}}|{{{born_month|}}}|{{{born_day|}}}}} | |||
}} | |||
| <!-- ELSE: --> | |||
}} | |||
}} | |||
<!--- AGE ---> | |||
{{#if:{{{nationality|}}} | |||
| {{!}}- | |||
{{!}} style="text-align: left; white-space:nowrap;" valign="top" {{!}} '''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|}}}" | |||
| 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|}}}" | |||
| 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;"> | ||
</ | {{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}} | ||
</ | {{#if:{{{nocat|}}}|<!-- Categories are to be added. -->| | ||
<!-- The DIV removes the newlines that are generated by this code. ;-) --> | |||
[[Category: A to Z]] | |||
[[Category: Cast]] | |||
{{#switch:{{{series|}}} | |||
| 1980=[[Category: Cast (1980)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: 1980]]}} | |||
| bac | |||
| BAC | |||
| Blood and Chrome | |||
| blood & chrome | |||
| b&c | |||
| B&C=[[Category: Cast (BAC)]] [[Category: Cast (RDM)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: BAC]] [[Category: RDM]]}} | |||
| CAP | |||
| caprica | |||
| Caprica=[[Category: Cast (Caprica)]] [[Category: Cast (RDM)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: Caprica (series)]] [[Category: RDM]]}} | |||
| rdm | |||
| RDM=[[Category: Cast (RDM)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: RDM]]}} | |||
| trs | |||
| TRS=[[Category: Cast (RDM)]] [[Category: Cast (TRS)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: RDM]] [[Category: TRS]]}} | |||
| tos | |||
| TOS=[[Category: Cast (TOS)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: TOS]]}} | |||
| tsc | |||
| TSC=[[Category: Cast (TSC)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: TSC]]}} | |||
| sds | |||
| SDS=[[Category: Cast (SDS)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: SDS]]}} | |||
}} | |||
{{#switch:{{{series 2|}}} | |||
| 1980=[[Category: Cast (1980)]] | |||
{{#switch:{{{series|}}} | |||
| caprica | |||
| Caprica=[[Category: 1980]] [[Category: Caprica (series)]] [[Category: RDM]] | |||
| rdm | |||
| RDM=[[Category: 1980]] [[Category: RDM]] | |||
| tos | |||
| TOS | |||
| #default=[[Category: 1980]] [[Category: TOS]] | |||
}} | |||
| bac | |||
| BAC | |||
| Blood and Chrome | |||
| blood & chrome | |||
| b&c | |||
| B&C=[[Category: Cast (BAC)]] [[Category: Cast (RDM)]] | |||
| CAP | |||
| caprica | |||
| Caprica=[[Category: Cast (Caprica)]] [[Category: Cast (RDM)]] | |||
{{#switch:{{{series|}}} | |||
| 1980=[[Category: 1980]] [[Category: Caprica (series)]] [[Category: RDM]] | |||
| tos | |||
| TOS=[[Category: Caprica (series)]] [[Category: RDM]] [[Category: TOS]] | |||
| #default=[[Category: Caprica (series)]] [[Category: RDM]] | |||
}} | |||
| rdm | |||
| RDM=[[Category: Cast (RDM)]] | |||
{{#switch:{{{series|}}} | |||
| 1980=[[Category: 1980]] [[Category: RDM]] | |||
| tos | |||
| TOS | |||
| #default=[[Category: RDM]] [[Category: TOS]] | |||
}} | |||
| tos | |||
| TOS=[[Category: Cast (TOS)]] | |||
{{#switch:{{{series|}}} | |||
| bac | |||
| BAC | |||
| Blood and Chrome | |||
| blood & chrome | |||
| b&c | |||
| B&C=[[Category: BAC]] [[Category: RDM]] | |||
| CAP | |||
| caprica | |||
| Caprica= [[Category: Caprica (series)]] [[Category: RDM]] | |||
| #default= [[Category: {{{series}}}]] | |||
}} | |||
[[Category: TOS]] | |||
| #default= | |||
}} | |||
}} | |||
</div> | |||
</includeonly><noinclude> | |||
= 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 <tt>nocat</tt> attribute as stated in this documentation. Doing this, however, requires that you manually add the categories to the end of the article text. | |||
< | == Usage == | ||
{| | <pre> | ||
| | {{Cast Data | ||
| image= | |||
| size= | |||
| credit = | | series= | ||
| character= | | 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= | |||
}} | }} | ||
</pre> | </pre> | ||
|} | |||
</noinclude> | === Required parameters === | ||
* '''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: <code>TOS, 1980, RDM, Caprica, BAC, SDS, TSC</code> | |||
* '''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 [[:md:Main Page|Media Wiki]] image page itself the correct [[:md:BWM:ITP|image tags]] per the [[:md:Main Page|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 <code>TOS, 1980, RDM, Caprica, BAC, SDS, TSC</code> | |||
* '''series 3''': Like "series 2" for a third series the actor is involved in. | |||
* '''showage''': Type <code>N</code> or <code>n</code> 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. <code>1971</code>) | |||
* '''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. <code>1971</code>) | |||
* '''nationality''': Uses the ''flag'' template. | |||
** <code>US</code>, <code>UK</code>, or others. For a full listing of possible country codes please visit [http://www.iana.org/cctld/cctld-whois.htm IANA's Root-Zone Index] | |||
** <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 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. | |||
[[Category:Infobox|Cast]] | |||
[[de: Vorlage:Castdaten]] | |||
<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
orn
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 IndexEarth
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
series | series | no description | Unknown | optional |
series 2 | series 2 | no description | Unknown | optional |
series 3 | series 3 | no description | Unknown | optional |
title | title | no description | Unknown | optional |
image | image | no description | File | optional |
size | size | no description | Unknown | optional |
name | name | no description | Unknown | optional |
credit | credit | no description | Unknown | optional |
character | character | no description | Unknown | optional |
born_month | born_month | no description | Unknown | optional |
born_day | born_day | no description | Unknown | optional |
born_year | born_year | no description | Unknown | optional |
death_month | death_month | no description | Unknown | optional |
death_day | death_day | no description | Unknown | optional |
death_year | death_year | no description | Unknown | optional |
showage | showage | no description | Unknown | optional |
nationality | nationality | no description | Unknown | optional |
archives | archives | no description | Unknown | optional |
media | media | no description | Unknown | optional |
site | site | no description | Unknown | optional |
site archive | site archive | no description | Unknown | optional |
imdb | imdb | no description | Unknown | optional |
sortkey | sortkey | no description | Unknown | optional |
nocat | nocat | no description | Unknown | optional |