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
Mercifull (talk | contribs)
lighten header
Shane (talk | contribs)
No edit summary
Line 12: Line 12:
| 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" | {{{series}}}
|-class="hiddenStructure{{{dob|}}}"
|- 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="white-space: nowrap;" | '''Date of Birth:'''
| colspan="2" valign="top" | {{{dob}}}
| {{#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 --->
{{#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 --->
|-class="hiddenStructure{{{nationality|}}}"
|-class="hiddenStructure{{{nationality|}}}"
| 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{{{death|}}}"
|- class="hiddenStructure{{{site|}}}"
| style="text-align: right; white-space:nowrap;" valign="top" | '''Date of death:'''
| style="text-align: center" colspan="2" | <div class="plainlinks">[{{{site}}} Official Site]</div>
| colspan="2" valign="top" | {{{death}}}
|- class="hiddenStructure{{{imdb|}}}"
|- class="hiddenStructure{{{imdb|}}}"
| style="text-align:center" colspan=2 |[[IMDB:nm{{{imdb}}}|IMDb profile]]
| style="text-align:center" colspan=2 |[[IMDB:nm{{{imdb}}}|IMDb profile]]
Line 35: Line 59:
| role=
| role=
| series=
| series=
| dob=
| born_month=
| nationality=  
| born_day=
| death=
| born_year=
| death_month=
| death_day=
| death_year=  
| nationality=
| site=
| imdb=  
| imdb=  
}}
}}
Line 48: Line 77:
* '''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''': RDM, TOS, 1980, SDS etc.
* '''dob''': The date of birth of the crew member.
* '''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.
* '''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>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
* '''death''': The date the crew member died
* '''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)
[[Category:Infobox|Crew]]
[[Category:Infobox|Crew]]
</noinclude>
</noinclude>

Revision as of 13:07, 20 April 2007


Documentation

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

Usage

{{Crew Data
| image= 
| role=
| series=
| born_month= 
| born_day= 
| born_year= 
| death_month= 
| death_day= 
| death_year= 
| nationality=
| site=
| imdb= 
}}

Required parameters

  • role: The role this crew member plays. Use <br /> to insert more than one. Please wikify the role if need be.

Optional parameters

  • image: The filename of the image. Do not include the Image: prefix.
  • series: RDM, TOS, 1980, SDS etc.
  • 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.
  • imdb: The ID number on their IMDB page. Include only the numbers, not the two letter prefix. (i.e. 123456 instead of nm123456)