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

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Hardvice
m fmtg
imported>Hardvice
match infobox crew, add gender
Line 1: Line 1:
<includeonly>{{#if: {{{Image|}}}||{{noimage}}}}</includeonly><div style="width:250px;float:right;clear:right;margin:1em 0 1em 1em;border:1px solid #B5B7CF;background:#B0C4DE;-moz-border-radius:10px;padding:10px 10px 10px 10px;">
<includeonly>{{#ifeq:{{NAMESPACE}}|User|| {{#if: {{{Image|}}}||{{noimage}}}} }}</includeonly>
{| 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"
<div style="text-align:center;font-size:16px;font-weight:900;line-height:1.5em;">{{{Name}}}
|-
<div>[[Image:{{#if: {{{Image|}}} | {{{Image}}} | blankperson.jpg }}|center]]</div></div>
! 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}}}
<div style="clear:left;font-size:10px;text-align:center">
{{#if: {{{Image|}}} | <tr> <td align="center" colspan="2">[[Image:{{{Image}}}]] | <tr> <td align="center" colspan="2">[[Image:blankperson.jpg]] }}<!--
{{#if:{{{AKA|}}} | <div style="width:80px;float:left;text-align:left;">Also known as</div>
-->{{#if: {{{ImageCaption|}}} | <br>{{{ImageCaption}}}</td> </tr>}}
<div style="width:170px;float:left;text-align:right;">{{{AKA}}}</div>}}
|-
<div style="width:80px;float:left;text-align:left;">Character</div>
! 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" | About
<div style="width:170px;float:left;text-align:right;">[[{{{character}}}]]</div>
|-
</div>
{{#if:{{{AKA|}}} | <tr> <th>Also known as</th> <td>{{{AKA}}}</td></tr>}}<!--
<div style="clear:left;font-size:10px;text-align:center;border-top:2px solid #B5B7CF;">
-->{{#if: {{{character|}}} | <tr> <th>Character</th> <td>[[{{{character}}}]]</td> </tr>}}<!--
{{#if: {{{DOB|}}} | <div style="width:80px;float:left;text-align:left;">Date of Birth</div>
-->{{#if: {{{DOB|}}} | <tr> <th>Date of Birth</th> <td>{{{DOB}}}</td> </tr>}}<!--
<div style="width:170px;float:left;text-align:right;">{{{DOB}}}</div>}}
-->{{#if: {{{birthplace|}}} | <tr> <th>Origin</th> <td>{{{birthplace}}}</td> </tr>}}<!--
</div>
-->{{#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>}}<!--
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
-->{{#if: {{{imdb_id|}}} | <tr> <td colspan=2 align=center> [http://www.imdb.com/name/nm{{{imdb_id}}} IMDb profile] </td> </tr>}}<!--
{{#if: {{{birthplace|}}}|<div style="width:80px;float:left;text-align:left;">Origin</div>
-->{{#if: {{{website|}}} | <tr> <td colspan=2 align=center> [{{{website}}} Website] </td> </tr>}}
<div style="width:170px;float:left;text-align:right;">{{{birthplace}}}</div>}}
|}
</div>
<div class="hiddenStructure{{{imdb_id|}}}" style="width:250px;clear:left;font-size:10px;text-align:center;border-top:2px solid #B5B7CF;">
[http://www.imdb.com/name/nm{{{imdb_id}}} IMDb profile]
</div>
<div class="hiddenStructure{{{website|}}}" style="width:250px;clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
[{{{website}}} Website]
</div>
</div>
<noinclude>
<noinclude>
== Usage ==
== Usage ==
Line 37: Line 30:
| DOB=
| DOB=
| birthplace=
| birthplace=
| gender=
| character=
| character=
| website=
| website=
Line 64: Line 58:
| '''birthplace'''
| '''birthplace'''
| Place of birth.
| Place of birth.
|-
| '''gender'''
| Actor's gender. 'Male' or 'Female' will produce a symbol.
|-
|-
| '''character'''
| '''character'''

Revision as of 17:17, 2 January 2007

{{{Name}}}
About

Usage

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

Blank Infobox for easy copying and pasting:

{{Infobox cast|
| Name=
| AKA=
| Image=
| ImageCaption=
| DOB=
| birthplace=
| gender=
| character=
| website=
| imdb_id=
}}


Parameter Explanation
Name The actor or actress' full name.
'AKA Also known as. Use for formal names or other stagenames/credited names
Image An image relevant to the actor or actress. It will be automatically resized.
ImageCaption A caption explaining the image.
DOB Date of birth.
birthplace Place of birth.
gender Actor's gender. 'Male' or 'Female' will produce a symbol.
character The Heroes character portrayed by the actor or actress.
website Official website. Use http://
imdb_id The actor or actresses ID on IMDb. The seven digit number that appears after "name/nm" in the URL. For example, 0015382.