Template:Cast Data: Difference between revisions
More languages
More actions
mNo edit summary |
No edit summary |
||
| Line 158: | Line 158: | ||
[[Category:Background Performer]] | [[Category:Background Performer]] | ||
}} | }} | ||
{{#if:{{{glen_larson|}}}|[[Category:Glen Larson Productions Cast and Crew]]}} | |||
{{#if:{{{babylon_5|}}}|[[Category:Former Babylon 5 Cast and Crew]]}} | |||
{{#if:{{{dark_angel|}}}|[[Category:Former Dark Angel Cast and Crew]]}} | |||
{{#if:{{{star_trek|}}}|[[Category:Former Star Trek Cast and Crew]]}} | |||
{{#if:{{{stargate|}}}|[[Category:Former Stargate Cast and Crew]]}} | |||
}} | }} | ||
</div> | </div> | ||
| Line 190: | Line 195: | ||
| sortkey= | | sortkey= | ||
| background= | | background= | ||
| glen_larson= | |||
| babylon_5= | |||
| dark_angel= | |||
| star_trek= | |||
| stargate= | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 218: | Line 228: | ||
* '''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. | ||
* '''glen_larson''': Set to <code>1</code> (or toggle the checkbox in VisualEditor) to add the article to Category:Glen Larson Productions Cast and Crew. | |||
* '''babylon_5''': Set to <code>1</code> (or toggle the checkbox in VisualEditor) to add the article to Category:Former Babylon 5 Cast and Crew. | |||
* '''dark_angel''': Set to <code>1</code> (or toggle the checkbox in VisualEditor) to add the article to Category:Former Dark Angel Cast and Crew. | |||
* '''star_trek''': Set to <code>1</code> (or toggle the checkbox in VisualEditor) to add the article to Category:Former Star Trek Cast and Crew. | |||
* '''stargate''': Set to <code>1</code> (or toggle the checkbox in VisualEditor) to add the article to Category:Former Stargate Cast and Crew. | |||
[[Category:Infobox|Cast]] | [[Category:Infobox|Cast]] | ||
| Line 302: | Line 317: | ||
"image4title": {}, | "image4title": {}, | ||
"image4name": {}, | "image4name": {}, | ||
"background": {} | "background": {}, | ||
"glen_larson": { | |||
"type": "boolean", | |||
"label": "Glen Larson Productions Cast and Crew", | |||
"description": "Toggles inclusion in Category:Glen Larson Productions Cast and Crew" | |||
}, | |||
"babylon_5": { | |||
"type": "boolean", | |||
"label": "Former Babylon 5 Cast and Crew", | |||
"description": "Toggles inclusion in Category:Former Babylon 5 Cast and Crew" | |||
}, | |||
"dark_angel": { | |||
"type": "boolean", | |||
"label": "Former Dark Angel Cast and Crew", | |||
"description": "Toggles inclusion in Category:Former Dark Angel Cast and Crew" | |||
}, | |||
"star_trek": { | |||
"type": "boolean", | |||
"label": "Former Star Trek Cast and Crew", | |||
"description": "Toggles inclusion in Category:Former Star Trek Cast and Crew" | |||
}, | |||
"stargate": { | |||
"type": "boolean", | |||
"label": "Former Stargate Cast and Crew", | |||
"description": "Toggles inclusion in Category:Former Stargate Cast and Crew" | |||
} | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
| Line 339: | Line 379: | ||
"image4title", | "image4title", | ||
"image4name", | "image4name", | ||
"background" | "background", | ||
"glen_larson", | |||
"babylon_5", | |||
"dark_angel", | |||
"star_trek", | |||
"stargate" | |||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> | ||
Latest revision as of 23:24, 8 July 2026
Documentation
editThis 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
edit{{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=
| background=
| glen_larson=
| babylon_5=
| dark_angel=
| star_trek=
| stargate=
}}
Required parameters
edit- 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
edit- 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
Nornin 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 IndexEarthas 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.
- glen_larson: Set to
1(or toggle the checkbox in VisualEditor) to add the article to Category:Glen Larson Productions Cast and Crew. - babylon_5: Set to
1(or toggle the checkbox in VisualEditor) to add the article to Category:Former Babylon 5 Cast and Crew. - dark_angel: Set to
1(or toggle the checkbox in VisualEditor) to add the article to Category:Former Dark Angel Cast and Crew. - star_trek: Set to
1(or toggle the checkbox in VisualEditor) to add the article to Category:Former Star Trek Cast and Crew. - stargate: Set to
1(or toggle the checkbox in VisualEditor) to add the article to Category:Former Stargate Cast and Crew.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| series | series | no description
| String | required |
| series 2 | series 2 | no description
| String | optional |
| series 3 | series 3 | no description
| String | optional |
| title | title | no description | Unknown | optional |
| image | image | no description | File | optional |
| imagetitle | imagetitle | no description | Unknown | 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 | URL | 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
| String | optional |
| image2 | image2 | no description | File | optional |
| image2title | image2title | no description | Unknown | optional |
| image2name | image2name | no description | Unknown | optional |
| image3 | image3 | no description | File | optional |
| image3title | image3title | no description | Unknown | optional |
| image3name | image3name | no description | Unknown | optional |
| image4 | image4 | no description | File | optional |
| image4title | image4title | no description | Unknown | optional |
| image4name | image4name | no description | Unknown | optional |
| background | background | no description | Unknown | optional |
| Glen Larson Productions Cast and Crew | glen_larson | Toggles inclusion in Category:Glen Larson Productions Cast and Crew | Boolean | optional |
| Former Babylon 5 Cast and Crew | babylon_5 | Toggles inclusion in Category:Former Babylon 5 Cast and Crew | Boolean | optional |
| Former Dark Angel Cast and Crew | dark_angel | Toggles inclusion in Category:Former Dark Angel Cast and Crew | Boolean | optional |
| Former Star Trek Cast and Crew | star_trek | Toggles inclusion in Category:Former Star Trek Cast and Crew | Boolean | optional |
| Former Stargate Cast and Crew | stargate | Toggles inclusion in Category:Former Stargate Cast and Crew | Boolean | optional |