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 cast: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hardvice fix variable |
imported>Ryangibsonstewart trying out some new colors...feel free to discuss |
||
| (15 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{NAMESPACE}}|User|| {{#if: {{{Image|}}}||{{nocastimage}}}} }}{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}</includeonly>{{#ifeq: {{{spoiler|}}} | true | {{unairedspoiler}} | }} |
<includeonly>{{#if: {{{castandcrew|}}} | |{{#ifeq:{{NAMESPACE}}|User|| {{#if: {{{Image|}}}||{{nocastimage}}}} }}{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}}}</includeonly>{{#ifeq: {{{spoiler|}}} | true | {{unairedspoiler}} | }} |
||
| ⚫ | {| class="infobox" style="{{#if: {{{castandcrew|}}} | display: none;}} width: 250px; text-align: left; font-size: 70%; background-color:#{{#ifeq: {{{spoiler|}}} | true | F4D5CC | F8E7FE}}; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #{{#ifeq: {{{spoiler|}}} | true |E18F77|8F65A0}}; padding: 2px; -moz-border-radius:10px;" cellspacing="2" |
||
{{#if: {{{castandcrew|}}} | | |
|||
| ⚫ | {| class="infobox" style="width: 250px; text-align: left; font-size: 70%; background-color:#{{#ifeq: {{{spoiler|}}} | true | F4D5CC | |
||
|- |
|- |
||
! style="background-color:#{{#ifeq: {{{spoiler|}}} | true |8B0000| |
! style="background-color:#{{#ifeq: {{{spoiler|}}} | true |8B0000|E6BFFF}}; font-size: 120%; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #{{#ifeq: {{{spoiler|}}} | true |E18F77|8F65A0}}; 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:{{{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: #{{#ifeq: {{{spoiler|}}} | true |f2dfce| |
! style="background: #{{#ifeq: {{{spoiler|}}} | true |f2dfce|E6BFFF}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #{{#ifeq: {{{spoiler|}}} | true |E18F77|8F65A0}}; padding: 2px; -moz-border-radius:10px;" align="center" colspan="2" | About |
||
|- |
|- |
||
{{#if:{{{AKA|}}} | <tr> <th>Also known as</th> <td>{{{AKA}}}</td></tr>}}<!-- |
{{#if:{{{AKA|}}} | <tr> <th>Also known as</th> <td>{{{AKA}}}</td></tr>}}<!-- |
||
-->{{#if: {{{character|}}} | <tr> <th>{{#if: {{#pos:{{{character}}}|,}} | Characters | Character}}</th> <td>{{#ifexist:{{{character|}}}|[[{{{character}}}]]|{{{character}}}}}</td> </tr>}}<!-- |
-->{{#if: {{{character|}}} | <tr> <th>{{#if: {{#pos:{{{character}}}|,}} | Characters | Character}}</th> <td>{{#ifexist:{{{character|}}}|[[{{{character}}}]]|{{{character}}}}}</td> </tr>}}<!-- |
||
-->{{#if: {{{DOB|}}} | <tr> <th>Date of |
-->{{#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: {{{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/nm{{{imdb_id}}} IMDb profile] </td> </tr>}} |
-->{{#if: {{{imdb_id|}}} | <tr> <td colspan=2 align=center> [http://www.imdb.com/name/nm{{{imdb_id}}} IMDb profile] </td> </tr>}}<!-- |
||
-->{{#ifeq: {{{spoiler|}}} | true | <tr><td colspan="2"><center>''[[Heroes spoilers]]''</center></td></tr>}} |
|||
|} |
|} |
||
}} |
|||
<noinclude> |
<noinclude> |
||
== Usage == |
== Usage == |
||
| Line 32: | Line 32: | ||
| ImageCaption= |
| ImageCaption= |
||
| DOB= |
| DOB= |
||
| DOD= |
|||
| birthplace= |
| birthplace= |
||
| gender= |
| gender= |
||
| Line 62: | Line 63: | ||
| '''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''' |
| '''gender''' |
||
Latest revision as of 01:53, 24 September 2009
| {{{Name}}} | |
|---|---|
| |
| About |
Usage
Produces a formatted sidebar for cast members. Will automatically add {{nocastimage}} and default image if image= is left blank.
Blank Infobox for easy copying and pasting:
{{Infobox cast
| Name=
| sort=
| AKA=
| Image=
| ImageCaption=
| DOB=
| DOD=
| birthplace=
| gender=
| character=
| website=
| imdb_id=
| spoiler =
}}
|
