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

Template:Crew Data: Difference between revisions

Template page
Shane (talk | contribs)
No edit summary
Joe Beaudoin Jr. (talk | contribs)
cast and crew stuff
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{| class="infobox" cellspacing="5"
{| class="infobox" cellspacing="5"
|-
|-
! class="infoboxheader" colspan="2" style="text-align: center; font-size: larger;" | '''{{PAGENAME}}'''
! class="infoboxheader" colspan="3" |
{|
|- 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="text-align: center;" class="hiddenStructure{{{image|}}}"
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
| colspan="3" | [[Image:{{{image}}}|200px]]
| colspan="3" | [[File:{{{image}}}|200px]]
|-
|-
| style="text-align: right; white-space:nowrap;" valign="top" | '''Role:'''
| style="text-align: right; white-space:nowrap;" valign="top" | '''Role:'''
Line 11: Line 17:
|-class="hiddenStructure{{{series|}}}"
|-class="hiddenStructure{{{series|}}}"
| style="text-align: right; white-space:nowrap;" valign="top" | '''BSG Universe:'''
| style="text-align: right; white-space:nowrap;" valign="top" | '''BSG Universe:'''
| colspan="2" valign="top" | {{{series}}}
| colspan="2" valign="top" | {{#switch:{{{series|}}}
| tos
| TOS=[[Original Series]]
| rdm
| RDM
| TRS=[[Re-imagined Series]]
| 1980=''[[Galactica 1980]]''
| TSC=''[[Battlestar Galactica: The Second Coming]]''
| CAP
| caprica
| Caprica= ''[[Caprica (series)|Caprica]]''
| BAC=''[[Blood and Chrome]]''
| deadlock
| Deadlock=''[[Battlestar Galactica Deadlock]]''
}} {{#if:{{{series 2|}}}|and {{#switch:{{{series 2|}}}
| tos
| TOS=[[Original Series]]
| rdm
| RDM
| TRS=[[Re-imagined Series]]
| BAC=''[[Blood and Chrome]]''
| 1980=''[[Galactica 1980]]''
| TSC=''[[Battlestar Galactica: The Second Coming]]''
| CAP
| caprica
| Caprica= ''[[Caprica (series)|Caprica]]''
| deadlock
| Deadlock=''[[Battlestar Galactica Deadlock]]''
}}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{born_month|}}}{{{born_day|}}}{{{born_year|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{born_month|}}}{{{born_day|}}}{{{born_year|}}}"
| style="text-align: right; white-space:nowrap;" valign="top" | '''Date of Birth:'''
| style="text-align: right; white-space:nowrap;" valign="top" | '''Date of Birth:'''
Line 40: Line 74:
}}
}}
<!--- AGE --->
<!--- AGE --->
{{#ifeq:{{{nationality|empty}}}
{{#if:{{{nationality|}}}
| empty
|
| {{!}}-
| {{!}}-
{{!}} style="text-align: right; white-space:nowrap;" valign="top" {{!}} '''Nationality:'''
{{!}} style="text-align: right; white-space:nowrap;" valign="top" {{!}} '''Nationality:'''
{{!}} colspan="2" valign="top" {{!}} {{flag|{{{nationality}}}}}
{{!}} colspan="2" valign="top" {{!}} {{flag|{{{nationality|}}}}}
}}
}}
|- class="hiddenStructure{{{site|}}}"
|- class="hiddenStructure{{{site|}}}"
| style="text-align: center" colspan="2" | <div class="plainlinks">[{{{site}}} Official Site]</div>
| style="text-align: center" colspan="3" | <div class="plainlinks">[{{{site}}} Official Site]</div>
|- class="hiddenStructure{{{imdb|}}}"
|- class="hiddenStructure{{{imdb|}}}"
| style="text-align:center" colspan=2 |[[IMDB:nm{{{imdb}}}|IMDb profile]]
| style="text-align:center" colspan="3" | [[IMDB:nm{{{imdb}}}|IMDb profile]]
|}
|}
</includeonly>
<div style="visibility:hidden; display:none;">
<noinclude>
{{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: Crew]]
{{#switch:{{{series|}}}
| 1980=[[Category: Crew (1980)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: 1980]]}}
| caprica
| Caprica=[[Category: Crew (Caprica)]] [[Category: Crew (RDM)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: Caprica (series)]] [[Category: RDM]]}}
| deadlock
| Deadlock=[[Category: Crew (Deadlock)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: Deadlock]]}}
| rdm
| RDM=[[Category: Crew (RDM)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: RDM]]}}
| tos
| TOS=[[Category: Crew (TOS)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: TOS]]}}
| tsc
| TSC=[[Category: Crew (TSC)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: TSC]]}}
| sds
| SDS=[[Category: Crew (SDS)]] {{#if:{{{series 2|}}}|<!-- -->|[[Category: SDS]]}}
}}
 
{{#switch:{{{series 2|}}}
| 1980=[[Category: Crew (1980)]]
{{#switch:{{{series|}}}
| caprica
| Caprica=[[Category: 1980]] [[Category: Caprica (series)]] [[Category: RDM]]
| deadlock
| Deadlock=[[Category: Crew (Deadlock)]] [[Category: Deadlock]]
| rdm
| RDM=[[Category: 1980]] [[Category: RDM]]
| tsc
| TSC=[[Category: 1980]] [[Category: TSC]]
| sds
| SDS=[[Category: 1980]] [[Category: SDS]]
| tos
| TOS
| #default=[[Category: 1980]] [[Category: TOS]]
}}
| caprica
| Caprica=[[Category: Crew (Caprica)]] [[Category: Crew (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: Crew (RDM)]]
{{#switch:{{{series|}}}
| 1980=[[Category: 1980]] [[Category: RDM]]
| tos
| TOS
| #default=[[Category: RDM]] [[Category: TOS]]
}}
| tos
| TOS=[[Category: Crew (TOS)]]
{{#switch:{{{series|}}}
| caprica
| Caprica= [[Category: Caprica (series)]] [[Category: RDM]]
| #default= [[Category: {{{series}}}]]
}}
[[Category: TOS]]
| #default=
}}
{{#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></includeonly><noinclude>
= Documentation =
= Documentation =
This template is used to place a Crew infobox on a ''Battlestar Wiki'' articles. It provides lower case parameters only.
This template is used to place a Crew infobox on a ''Battlestar Wiki'' articles. It provides lower case parameters only.
Line 63: Line 165:
| role=
| role=
| series=
| series=
| series 2=
| born_month=  
| born_month=  
| born_day=  
| born_day=  
Line 72: Line 175:
| site=
| site=
| imdb=  
| imdb=  
| nocat=
| sortkey=
| glen_larson=
| babylon_5=
| dark_angel=
| star_trek=
| stargate=
}}
}}
</pre>
</pre>
Line 77: Line 187:
=== Required parameters ===
=== Required parameters ===
* '''role''': The role this crew member plays. Use <code><nowiki><br /></nowiki></code> to insert more than one. Please wikify the role if need be.
* '''role''': The role this crew member plays. Use <code><nowiki><br /></nowiki></code> to insert more than one. Please wikify the role if need be.
* '''series''': the series the cast member worked/works on: <code>TOS, 1980, RDM, Caprica, Deadlock, 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 ===
=== Optional parameters ===
* '''image''': The filename of the image. Do not include the '''Image:''' prefix.
* '''image''': The filename of the image. Do not include the '''Image:''' prefix.
* '''series''': RDM, TOS, 1980, SDS etc.
* '''series 2''': if involved with a second series, then note that here, using one of the following codes: <code>TOS, 1980, RDM, Caprica, Deadlock, SDS, TSC</code>
* '''born_month''': The month number that the actor was born.
* '''born_month''': The month number that the actor was born.
* '''born_day''': The day number that the actor was born.
* '''born_day''': The day number that the actor was born.
Line 90: Line 202:
** <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>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
** <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 crew member. 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)
* '''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|Crew]]
[[Category:Infobox|Crew]]
</noinclude>
 
<templatedata>
{
"params": {
"series": {
"type": "string",
"suggestedvalues": [
"TOS",
"TRS",
"CAP",
"BAC",
"G80"
],
"required": true
},
"series 2": {
"type": "string",
"suggestedvalues": [
"TOS",
"TRS",
"CAP",
"BAC",
"G80"
]
},
"series 3": {
"type": "string",
"suggestedvalues": [
"TOS",
"G80",
"TRS",
"CAP",
"BAC"
]
},
"title": {},
"image": {
"type": "wiki-file-name"
},
"role": {},
"born_month": {},
"born_day": {},
"born_year": {},
"death_month": {},
"death_day": {},
"death_year": {},
"nationality": {},
"site": {
"type": "url"
},
"imdb": {},
"sortkey": {},
"nocat": {
"type": "string",
"suggestedvalues": [
"Y"
]
},
"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": [
"series",
"series 2",
"series 3",
"title",
"image",
"role",
"born_month",
"born_day",
"born_year",
"death_month",
"death_day",
"death_year",
"nationality",
"site",
"imdb",
"sortkey",
"nocat",
"glen_larson",
"babylon_5",
"dark_angel",
"star_trek",
"stargate"
]
}
</templatedata></noinclude>

Latest revision as of 01:01, 9 July 2026

Documentation

edit

This template is used to place a Crew infobox on a Battlestar Wiki articles. It provides lower case parameters only.

Usage

edit
{{Crew Data
| image= 
| role=
| series=
| series 2=
| born_month= 
| born_day= 
| born_year= 
| death_month= 
| death_day= 
| death_year= 
| nationality=
| site=
| imdb= 
| nocat=
| sortkey=
| glen_larson=
| babylon_5=
| dark_angel=
| star_trek=
| stargate=
}}

Required parameters

edit
  • role: The role this crew member plays. Use <br /> to insert more than one. Please wikify the role if need be.
  • series: the series the cast member worked/works on: TOS, 1980, RDM, Caprica, Deadlock, 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.
  • series 2: if involved with a second series, then note that here, using one of the following codes: TOS, 1980, RDM, Caprica, Deadlock, SDS, TSC
  • 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 crew member. 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)
  • 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
seriesseries

no description

Suggested values
TOS TRS CAP BAC G80
Stringrequired
series 2series 2

no description

Suggested values
TOS TRS CAP BAC G80
Stringoptional
series 3series 3

no description

Suggested values
TOS G80 TRS CAP BAC
Stringoptional
titletitle

no description

Unknownoptional
imageimage

no description

Fileoptional
rolerole

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
nationalitynationality

no description

Unknownoptional
sitesite

no description

URLoptional
imdbimdb

no description

Unknownoptional
sortkeysortkey

no description

Unknownoptional
nocatnocat

no description

Suggested values
Y
Stringoptional
Glen Larson Productions Cast and Crewglen_larson

Toggles inclusion in Category:Glen Larson Productions Cast and Crew

Booleanoptional
Former Babylon 5 Cast and Crewbabylon_5

Toggles inclusion in Category:Former Babylon 5 Cast and Crew

Booleanoptional
Former Dark Angel Cast and Crewdark_angel

Toggles inclusion in Category:Former Dark Angel Cast and Crew

Booleanoptional
Former Star Trek Cast and Crewstar_trek

Toggles inclusion in Category:Former Star Trek Cast and Crew

Booleanoptional
Former Stargate Cast and Crewstargate

Toggles inclusion in Category:Former Stargate Cast and Crew

Booleanoptional