More actions
m tweak |
m + nocat and tweaks |
||
Line 91: | Line 91: | ||
|} | |} | ||
<div style="visibility:hidden; display:none;"> | <div style="visibility:hidden; display:none;"> | ||
{{#if:{{{nocat|}}}|<!-- Categories are to be added. -->| | |||
<!-- The DIV removes the newlines that are generated by this code. ;-) --> | <!-- The DIV removes the newlines that are generated by this code. ;-) --> | ||
{{DEFAULTSORT:{{{2}}}, {{{1}}}}} | {{DEFAULTSORT:{{{2}}}, {{{1}}}}} | ||
Line 96: | Line 97: | ||
[[Category: Cast]] | [[Category: Cast]] | ||
{{#switch:{{{series|}}} | {{#switch:{{{series|}}} | ||
| 1980=[[Category: Cast (1980)]] {{#if:{{{series 2}}}|[[Category: 1980]]}} | | 1980=[[Category: Cast (1980)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: 1980]]}} | ||
| caprica | | caprica | ||
| Caprica=[[Category: Cast (Caprica)]] [[Category: Cast (RDM)]] {{#if:{{{series 2}}}|[[Category: Caprica]] [[Category: RDM]]}} | | Caprica=[[Category: Cast (Caprica)]] [[Category: Cast (RDM)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: Caprica]] [[Category: RDM]]}} | ||
| rdm | | rdm | ||
| RDM=[[Category: Cast (RDM)]] {{#if:{{{series 2}}}|[[Category: RDM]]}} | | RDM=[[Category: Cast (RDM)]] {{#if:{{{series 2}}}|<!-- -->|[[Category: RDM]]}} | ||
| tos | | tos | ||
| TOS=[[Category: Cast (TOS)]] {{#if:{{{series 2}}}|[[Category: TOS]]}} | | TOS=[[Category: Cast (TOS)]] {{#if:{{{series 2}}}|<!-- -->|[[Category: TOS]]}} | ||
}} | }} | ||
{{#switch:{{{series 2|}}} | {{#switch:{{{series 2|}}} | ||
| 1980=[[Category: Cast (1980)]] {{#switch:{{{series|}}} | | 1980=[[Category: Cast (1980)]] | ||
{{#switch:{{{series|}}} | |||
| caprica | | caprica | ||
| Caprica=[[Category: 1980]] [[Category: Caprica]] [[Category: RDM]] | | Caprica=[[Category: 1980]] [[Category: Caprica]] [[Category: RDM]] | ||
Line 134: | Line 136: | ||
| TOS=[[Category: Cast (TOS)]] [[Category:{{{series}}}]] [[Category: TOS]] | | TOS=[[Category: Cast (TOS)]] [[Category:{{{series}}}]] [[Category: TOS]] | ||
| #default= | | #default= | ||
}} | |||
}} | }} | ||
</div> | </div> | ||
Line 146: | Line 149: | ||
| size= | | size= | ||
| series= | | series= | ||
| series 2= | |||
| credit= | | credit= | ||
| showage= | | showage= | ||
Line 158: | Line 162: | ||
| site= | | site= | ||
| imdb= | | imdb= | ||
| nocat= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 169: | Line 174: | ||
** '''size''': By default, the size will be limited to 200px. If this need to be increased enter the number here. | ** '''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. | ** '''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]]) | |||
* '''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. | * '''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_month''': The month number that the actor was born. | ||
Line 181: | Line 187: | ||
* '''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. | ||
* '''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. | |||
[[Category:Infobox|Cast]] | [[Category:Infobox|Cast]] | ||
</noinclude> | </noinclude> |
Revision as of 01:55, 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= | series 2= | credit= | showage= | born_month= | born_day= | born_year= | death_month= | death_day= | death_year= | character= | nationality= | site= | imdb= | nocat= }}
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.
- series 2: The second series the actor is a part of, if applicable. (e.g. Richard Hatch, Richard Lynch)
- 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.
- 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.