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:Character box: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hardvice fix mention to allow linked/unlinked short refs |
imported>Hardvice merge Character box/Spoiler |
||
| Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{NAMESPACE}}|User|| {{#if: {{{image|}}}||{{noimage}}}} }}</includeonly> |
<includeonly>{{#ifeq:{{NAMESPACE}}|User|| {{#if: {{{image|}}}||{{noimage}}}} }}</includeonly> |
||
{{#ifeq:{{{spoiler|}}}|true|{{unairedspoiler}}|}} |
|||
{| class="infobox" style="width: 250px; 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" |
{| class="infobox" style="width: 250px; text-align: left; font-size: 70%; background-color: #{{#ifeq:{{{spoiler|}}}|true|F4D5CC|CCD5F4}}; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #{{#ifeq:{{{spoiler|}}}|true|E18F77|778FE1}}; padding: 2px; -moz-border-radius:10px;" cellspacing="2" |
||
|- |
|- |
||
! style="background: {{{ |
! style="background: #{{#ifeq:{{{spoiler|}}}|true|8B0000|cedff2}}; font-size: 120%; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #{{#ifeq:{{{spoiler|}}}|true|E18F77|778FE1}}; 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">{{#if: {{#pos:{{{image}}}|mage:}} |{{{image}}}|[[Image:{{{image}}}]]}} | <tr> <td align="center" colspan="2">[[Image:blankperson.jpg]] }}<!-- |
{{#if: {{{image|}}} | <tr> <td align="center" colspan="2">{{#if: {{#pos:{{{image}}}|mage:}} |{{{image}}}|[[Image:{{{image}}}]]}} | <tr> <td align="center" colspan="2">[[Image:blankperson.jpg]] }}<!-- |
||
-->{{#if: {{{caption|}}} | <br>{{{caption}}}</td> </tr>}} |
-->{{#if: {{{caption|}}} | <br>{{{caption}}}</td> </tr>}} |
||
| Line 11: | Line 12: | ||
-->{{#if: {{{mention|}}} | <tr> <th>First mentioned</th> <td>''{{#if: {{#pos:{{{mention}}}|pisode:}} |{{{mention}}}|{{#ifexist: {{{mention}}} | [[Episode:{{{mention}}}|{{{mention}}}]] | {{{mention}}} }}}}''</td> </tr>}} |
-->{{#if: {{{mention|}}} | <tr> <th>First mentioned</th> <td>''{{#if: {{#pos:{{{mention}}}|pisode:}} |{{{mention}}}|{{#ifexist: {{{mention}}} | [[Episode:{{{mention}}}|{{{mention}}}]] | {{{mention}}} }}}}''</td> </tr>}} |
||
|- |
|- |
||
! style="background: {{{ |
! style="background: #{{#ifeq:{{{spoiler|}}}|true|8B0000|cedff2}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #{{#ifeq:{{{spoiler|}}}|true|E18F77|778FE1}}; padding: 2px; -moz-border-radius:10px;" align="center" colspan="2" | {{#ifeq:{{{spoiler|}}}|true|<font color=white>In-story stats</font>|In-story stats}} |
||
{{#if: {{{power(s)|}}} | <tr> <th>{{#if: {{#pos:{{{power(s)}}}|,}} | Superpowers | Superpower}}</th> <td>{{{power(s)}}}</td> </tr>}}<!-- |
{{#if: {{{power(s)|}}} | <tr> <th>{{#if: {{#pos:{{{power(s)}}}|,}} | Superpowers | Superpower}}</th> <td>{{{power(s)}}}</td> </tr>}}<!-- |
||
-->{{#if: {{{formal name|}}} | <tr> <th>Formal name</th> <td>{{{formal name}}}</td> </tr>}}<!-- |
-->{{#if: {{{formal name|}}} | <tr> <th>Formal name</th> <td>{{{formal name}}}</td> </tr>}}<!-- |
||
| Line 59: | Line 60: | ||
| child(ren) = |
| child(ren) = |
||
| sibling(s) = |
| sibling(s) = |
||
| spoiler = <!-- "true" for spoiler warning and colors --> |
|||
}}</pre> |
}}</pre> |
||
|} |
|} |
||
Revision as of 04:00, 21 January 2007
| {{{name}}} | |
|---|---|
| |
| In-story stats |
Usage
Produces a formatted sidebar for character pages. See the formatted box below for a blank template for use in articles.
Special
- Will add the {{noimage}} template to the top of the page and display a default image if the image variable is left blank.
- Will add the article to Category:Unknown Portrayer if the portrayer variable equals the text "Unknown".
{{Character box
| name =
| image = <!-- Image of the character. -->
| caption = <!-- Caption for the image. -->
| portrayer = <!-- Unknown if not known, else name of actor/actress. -->
| nick =
| debut = <!-- Episode character first appeared -->
| mention = <!-- Episode character was first mentioned. Use for characters who have not debuted. -->
| power(s) =
| formal name = <!-- Full formal name of the character. -->
| alias = <!-- Pseudonyms and special monikers, not nicknames. -->
| gender = <!-- 'Male' or 'Female' will be replaced by the corresponding icon -->
| age =
| born =
| died =
| home = <!-- Character's home or place of origin. Will link to existing articles. -->
| occupation =
| significant other =
| parent =
| guardian = <!--Non-parent legal guardian(s)-->
| child(ren) =
| sibling(s) =
| spoiler = <!-- "true" for spoiler warning and colors -->
}}
|
