This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Template:Infobox crew: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Orne
Convert Template to use Tables instead of Divs, cleans up a lot of dead space in IE6
imported>Ryangibsonstewart
Undo revision 365679 by Ryangibsonstewart (Talk): done testing
 
(30 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACE}}|User|| {{#if: {{{Image|}}}||{{noimage}}}} }}</includeonly>
<includeonly>{{#if:{{{sort|}}}|{{DEFAULTSORT:{{{sort}}}}}}}{{#ifeq:{{NAMESPACE}}|User|| {{#if: {{{Image|}}}||{{nocrewimage}}}} }}</includeonly>{{#ifeq: {{{spoiler|}}} | true | {{unairedspoiler}} | }}
{| class="infobox" style="width: 250px; text-align: left; font-size: 70%; background-color: #{{#ifeq: {{{spoiler|}}} | true | F4D5CC | F0FEF0}}; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #{{#ifeq: {{{spoiler|}}} | true |E18F77|88B288}}; padding: 2px; -moz-border-radius:10px;" cellspacing="2"

{| class="infobox" style="width: 20em; text-align: left; font-size: 70%; background-color: #CCD5F4; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #778FE1; padding: 2px; -moz-border-radius:10px;" cellspacing="2"
|-
|-
! style="background: {{{color|#cedff2}}}; font-size: 120%; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #778FE1; padding: 2px; -moz-border-radius:10px;" align="center" colspan="2" | {{{Name}}}
! style="background: {{{color|#{{#ifeq: {{{spoiler|}}} | true |8B0000|C1FFC1}}}}}; font-size: 120%; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #{{#ifeq: {{{spoiler|}}} | true |E18F77|88B288}}; padding: 2px; -moz-border-radius:10px;" align="center" colspan="2" | {{#ifeq: {{{spoiler|}}} | true |<FONT COLOR=white>{{{Name}}}</FONT>|{{{Name}}}}}
{{#if: {{{Image|}}} | <tr> <td align="center" colspan="2">{{{Image}}} | <tr> <td align="center" colspan="2">[[Image:blankperson.jpg]] }}<!--
{{#if: {{{Image|}}} | <tr> <td align="center" colspan="2">[[Image:{{{Image}}}]] | <tr> <td align="center" colspan="2">[[Image:blankperson.jpg]] }}<!--
-->{{#if: {{{ImageCaption|}}} | <br>{{{ImageCaption}}}</td> </tr>}}
-->{{#if: {{{ImageCaption|}}} | <br>{{{ImageCaption}}}</td> </tr>}}
|-
|-
! style="background: {{{color|#cedff2}}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #778FE1; padding: 2px; -moz-border-radius:10px;" align="center" colspan="2" |
! style="background: {{{color|#{{#ifeq: {{{spoiler|}}} | true |f2dfce|C1FFC1}}}}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #{{#ifeq: {{{spoiler|}}} | true |E18F77|88B288}}; padding: 2px; -moz-border-radius:10px;" align="center" colspan="2" | About
|-
{{#if: {{{title|}}} | <tr> <th>Title</th> <td>{{{title}}}</td> </tr>}}<!--
-->{{#if: {{{DOB|}}} | <tr> <th>Date of Birth</th> <td>{{{DOB}}}</td> </tr>}}<!--
{{#if:{{{AKA|}}} | <tr> <th>Also known as</th> <td>{{{AKA}}}</td></tr>}}<!--
-->{{#if: {{{title|}}} | <tr> <th>Title</th> <td>{{{title}}}</td> </tr>}}<!--
-->{{#if: {{{DOB|}}} | <tr> <th>Date of birth</th> <td>{{{DOB}}}</td> </tr>}}<!--
-->{{#if: {{{DOD|}}} | <tr> <th>Date of death</th> <td>{{{DOD}}}</td> </tr>}}<!--
-->{{#if: {{{birthplace|}}} | <tr> <th>Origin</th> <td>{{{birthplace}}}</td> </tr>}}<!--
-->{{#if: {{{birthplace|}}} | <tr> <th>Origin</th> <td>{{{birthplace}}}</td> </tr>}}<!--
-->{{#if: {{{gender|}}} | <tr> <th style="vertical-align:middle">Gender</th> <td>{{#switch:{{lc:{{{gender|}}}}} | f | female=[[Image:Venus_symbol_red.png|Female]] | m | male=[[Image:Mars_symbol_blue.png|Male]] | {{{gender}}} }}</td> </tr>}}<!--
-->{{#if: {{{gender|}}} | <tr> <th style="vertical-align:middle">Gender</th> <td>{{#switch:{{lc:{{{gender|}}}}} | f | female=[[Image:Venus_symbol_red.png|Female]] | m | male=[[Image:Mars_symbol_blue.png|Male]] | {{{gender}}} }}</td> </tr>}}<!--
-->{{#if: {{{imdb_id|}}} | <tr> <td colspan=2 align=center> [http://www.imdb.com/name/nm{{{imdb_id}}} IMDb profile] </td> </tr>}}<!--
-->{{#if: {{{website|}}} | <tr> <td colspan=2 align=center> [{{{website}}} Website] </td> </tr>}}<!--
-->{{#if: {{{website|}}} | <tr> <td colspan=2 align=center> [{{{website}}} Website] </td> </tr>}}
-->{{#if: {{{imdb_id|}}} | <tr> <td colspan=2 align=center> [http://www.imdb.com/name/{{#if: {{#pos: {{{imdb_id|}}} | nm }} | | nm}}{{{imdb_id}}} IMDb profile] </td> </tr>}}<!--
-->{{#if: {{{cbdb_id|}}} | <tr> <td colspan=2 align=center> [http://www.comicbookdb.com/creator.php?ID={{{cbdb_id}}} comicbookdb profile] </td> </tr>}}
|}<noinclude>
|}<noinclude>


== Usage ==
== Usage ==
Produces a formatted sidebar for crew members. Will automatically add <nowiki>{{noimage}}</nowiki> and default image if <tt>Image=</tt> is left blank.
Produces a formatted sidebar for crew members. Will automatically add <nowiki>{{nocrewimage}}</nowiki> and default image if <tt>Image=</tt> is left blank.


Blank Infobox for easy copying and pasting.
Blank Infobox for easy copying and pasting.


{| style="background: transparent;"
{| style="background: transparent;"
|<pre>{{Infobox crew|
|<pre>{{Infobox crew
| Name=
| Name=
| sort=
| AKA=
| Image=
| Image=
| ImageCaption=
| ImageCaption=
| DOB=
| DOB=
| DOD=
| birthplace=
| birthplace=
| gender=
| title=
| title=
| website=
| website=
| imdb_id=
| imdb_id=
| cbdb_id=
| spoiler =
}}</pre>
}}</pre>
Line 39: Line 48:
|-
|-
| '''Name'''
| '''Name'''
| The crew member's full name.
| The crew member's full name
|-
| '''sort'''
| Category sorting (Last name, First name)
|-
| '''AKA'''
| Also known as; use for formal names or other stagenames/credited names
|-
|-
| '''Image'''
| '''Image'''
| An image relevant to the crew member. It will be automatically resized.
| An image relevant to the crew member; it will be automatically resized
|-
|-
| '''ImageCaption'''
| '''ImageCaption'''
| A caption explaining the image.
| A caption explaining the image
|-
|-
| '''DOB'''
| '''DOB'''
| Date of birth.
| Date of birth
|-
| '''DOD'''
| Date of death
|-
|-
| '''birthplace'''
| '''birthplace'''
| Place of birth; for US cities, should be in City, State Abbreviation, USA format. ([http://www.usps.com/ncsc/lookups/usps_abbreviations.html See here for list of US state abbreviations.]) For international cities, the format should be City, Country.
| Place of birth.
|-
| '''gender'''
| crew member's gender--"Male" or "Female" will produce a symbol
|-
|-
| '''title'''
| '''title'''
| The crew member's title.
| The crew member's title
|-
|-
| '''website'''
| '''website'''
| Official website. Use http://
| Official website; use http://
|-
|-
| '''imdb_id'''
| '''imdb_id'''
| The crew member's ID on IMDb. The seven digit number that appears after "name/nm" in the URL. For example, 0015382.
| The crew member's ID on IMDb--the seven digit number that appears after "name/nm" in the URL; for example, 0015382
|-
| '''cbdb_id'''
| The crew member's ID on [http://www.comicbookdb.com/title.php?ID=10987 comicbookdb]; for example, 9154
|-
| '''spoiler'''
| <tt>true</tt> adds the <tt><nowiki>{{unairedspoiler}}</nowiki></tt> template and changes the colors to spoiler colors
|}
|}

[[Category: Templates]]
[[Category: Sidebars]]
[[Category: Sidebars]]
</noinclude>
</noinclude>

Latest revision as of 01:23, 24 September 2009

{{{Name}}}
About

Usage

Produces a formatted sidebar for crew members. Will automatically add {{nocrewimage}} and default image if Image= is left blank.

Blank Infobox for easy copying and pasting.

{{Infobox crew
| Name=
| sort=
| AKA=
| Image=
| ImageCaption=
| DOB=
| DOD=
| birthplace=
| gender=
| title=
| website=
| imdb_id=
| cbdb_id=
| spoiler =
}}


Parameter Explanation
Name The crew member's full name
sort Category sorting (Last name, First name)
AKA Also known as; use for formal names or other stagenames/credited names
Image An image relevant to the crew member; it will be automatically resized
ImageCaption A caption explaining the image
DOB Date of birth
DOD Date of death
birthplace Place of birth; for US cities, should be in City, State Abbreviation, USA format. (See here for list of US state abbreviations.) For international cities, the format should be City, Country.
gender crew member's gender--"Male" or "Female" will produce a symbol
title The crew member's title
website Official website; use http://
imdb_id The crew member's ID on IMDb--the seven digit number that appears after "name/nm" in the URL; for example, 0015382
cbdb_id The crew member's ID on comicbookdb; for example, 9154
spoiler true adds the {{unairedspoiler}} template and changes the colors to spoiler colors