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

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>FuturePeter
Replacing page with '{| style="background: transparent;" {{Character box'
imported>Intuitive Empath
No edit summary
Line 1: Line 1:
<includeonly>{{DEFAULTSORT:{{{sortname|{{PAGENAME}}}}}}}{{#ifeq: {{{spoiler|}}} | true | [[Category:Spoilers]] | {{#ifeq:{{NAMESPACE}} | User | [[Category:Heroes Wiki Contributor]] | [[Category:Characters]] }} }} {{#if: {{{image|}}}| | {{#ifeq:{{NAMESPACE}} | User | | {{noimage}} }} }}{{#ifeq:{{{spoiler|}}}|true|{{unairedspoiler}}|}}<!--
-->{{#if: {{{known powers|{{{power(s)|}}}}}} | {{#ifeq: {{ucfirst:{{{known powers|{{{power(s)|}}}}}}}} | None | {{#if: {{{animal|}}} | | {{#ifeq:{{NAMESPACE}}|Spoiler||{{nousercat|Humans}}}}}} | {{nousercat|Evolved Humans}}}}|{{#ifeq:{{NAMESPACE}}|Spoiler||{{nousercat|Humans}}}}}}</includeonly>
{| 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: #{{#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:{{lc:{{{image}}}}}|image:}} |{{{image}}}|[[Image:{{{image}}}]]}} | <tr> <td align="center" colspan="2">{{Imagelink|image=blankperson.jpg|height=250|width=200|link=Special:Upload|text=Click to Upload Picture}} }}<!--
-->{{#if: {{{caption|}}} | <br>{{{caption}}}</td> </tr>}}
|-
{{#if: {{{portrayer|}}} | {{#ifeq: {{{portrayer}}}|Unknown|{{#ifeq:{{NAMESPACE}} | User | |[[Category:Unknown Portrayer]]|}}}} <tr> <th>Portrayed&nbsp;by</th> <td>{{#ifexist: {{{portrayer}}} | [[{{{portrayer}}}]] | {{{portrayer}}}}}</td> </tr> | }}<!--
-->{{#if: {{{debut|}}} | <tr> <th>First&nbsp;appearance</th> <td>''{{#if: {{#pos:{{{debut}}}|pisode:}} |{{{debut}}}|{{#ifexist: {{{debut}}} | [[{{{debut}}}]] | {{{debut}}} }}}}''</td> </tr> | {{#if: {{{mention|}}} | <tr> <th>First&nbsp;mentioned</th> <td>''{{#if: {{#pos:{{{mention}}}|pisode:}} |{{{mention}}}|{{#ifexist: {{{mention}}} | [[{{{mention}}}]] | {{{mention}}} }}}}''</td> </tr> {{#ifeq:{{NAMESPACE}} | User | | [[Category:Unseen Characters]] }} }} }}
|-
! style="background: #{{#ifeq:{{{spoiler|}}}|true|f2dfce|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" | In-story stats
{{#if: {{{known powers|}}} | <tr> <th>{{#if: {{#pos:{{{known powers}}}|,}} | Known abilities | Known ability}}</th> <td>{{#ifeq:{{{known powers|}}} | Unknown | None | {{{known powers}}}}}</td> </tr>}}<!--
-->{{#if: {{{known powers|}}} | |{{#if: {{{power(s)|}}} | <tr> <th>{{#if: {{#pos:{{{power(s)}}}|,}} | Known abilities | Known ability}}</th> <td>{{#ifeq:{{{power(s)|}}} | Unknown | None | {{{power(s)}}}}}</td> </tr>}}}}<!--
-->{{#if: {{{known powers|}}} | |{{#if: {{{power(s)|}}} | | {{#if: {{{potential_power(s)|}}} | <tr> <th>{{#if: {{#pos:{{{potential_power(s)}}}|,}} | Potential abilities | Potential ability}}</th> <td>{{{potential_power(s)}}}</td> </tr>}}}}}}<!--
-->{{#if: {{{formal name|}}} | {{#ifeq: {{{formal name}}}|Unknown|{{#ifeq:{{NAMESPACE}} | User | |[[Category: Unnamed Characters]]}}|}}<tr> <th>Formal&nbsp;name</th> <td>{{{formal name}}}</td> </tr>}}<!--
-->{{#if: {{{alias|}}} | <tr> <th>{{#if: {{#pos:{{{alias}}}|,}} | Aliases | Alias }}</th> <td>{{{alias}}}</td> </tr>}}<!--
-->{{#if: {{{nick|}}} | <tr> <th>{{#if: {{#pos:{{{nick}}}|,}} | Nicknames | Nickname }}</th> <td>{{{nick}}}</td> </tr>}}<!--
-->{{#if: {{{gender|}}} | <tr> <th style="vertical-align:middle">Gender</th> <td>{{#switch:{{lc:{{{gender|}}}}} | f | female={{Imagelink | image= Venus_symbol_red.png | height= 20 | width= 20 | link= :Category:Female Characters | text= Female }} {{#ifeq:{{NAMESPACE}} | User | |{{#ifeq: {{{spoiler|}}} | true | |[[Category:Female Characters]] }} }}| m | male={{Imagelink | image= Mars_symbol_blue.png | height= 20 | width= 20 | link= :Category:Male Characters | text= Male }} {{#ifeq:{{NAMESPACE}} | User | |{{#ifeq: {{{spoiler|}}} | true | |[[Category:Male Characters]] }} }}| ? | unknown=[[Image:Question symbol green.PNG]] | {{{gender}}} }}</td> </tr>}}<!--
-->{{#if: {{{age|}}} | <tr> <th>Age</th> <td>{{{age}}}</td> </tr>}}<!--
-->{{#if: {{{born|}}} | <tr> <th>Date&nbsp;of&nbsp;birth</th> <td>{{#ifexist: {{{born}}} | [[{{{born}}}]] | {{{born}}}}}</td> </tr>}}<!--
-->{{#if: {{{pob|}}} | <tr> <th>Place&nbsp;of&nbsp;birth</th> <td>{{#ifexist: {{{pob}}} | [[{{{pob}}}]] | {{{pob}}}}}</td> </tr>}}<!--
-->{{#if: {{{marriage|}}} | <tr> <th>{{#if: {{#pos:{{{marriage}}}|<br}} | Dates&nbsp;of&nbsp;marriage | Date&nbsp;of&nbsp;marriage}}</th> <td>{{#ifexist: {{{marriage}}} | [[{{{marriage}}}]] | {{{marriage}}}}}</td> </tr>}}<!--
-->{{#if: {{{died|}}} | <tr> <th>Date&nbsp;of&nbsp;death</th> <td>{{#ifexist: {{{died}}} | [[{{{died}}}]] | {{{died}}}}}</td> </tr> {{#ifeq:{{NAMESPACE}} | User | | [[Category:Deceased Characters]]}} }}<!--
-->{{#if: {{{home|}}} | <tr> <th>Home</th> <td>{{#ifexist: {{{home}}} | [[{{{home}}}]] | {{{home}}} }}</td> </tr>}}<!--
-->{{#if: {{{residence|}}} | <tr> <th>Residence</th> <td>{{#ifexist: {{{residence}}} | [[{{{residence}}}]] | {{{residence}}} }}</td> </tr> | {{#ifexist: {{PAGENAMEE}}'s home | <tr> <th>Residence</th> <td>[[{{PAGENAME}}'s home]]</td> </tr> | {{#ifexist: {{PAGENAMEE}}'s apartment | <tr> <th>Residence</th> <td>[[{{PAGENAME}}'s apartment]]</td> </tr> | }} }} }}<!--
-->{{#if: {{{occupation|}}} | <tr> <th>{{#if: {{#pos:{{{occupation}}}|,}} | Occupations | Occupation}}</th> <td>{{{occupation}}}</td> </tr>}}<!--
-->{{#if: {{{significant other|}}} | <tr> <th>{{#if: {{#pos:{{{significant other}}}|,}} | Significant&nbsp;others | Significant&nbsp;other}}</th> <td>{{{significant other}}}</td> </tr>}}<!--
-->{{#if: {{{parent(s)/guardian(s)|}}} | <tr> <th>{{#if: {{#pos:{{{parent(s)/guardian(s)}}}|,}} | Parents | Parent }}</th> <td>{{{parent(s)/guardian(s)}}}</td> </tr>}}<!--
-->{{#if: {{{parent|}}} | <tr> <th>{{#if: {{#pos:{{{parent}}}|,}} | Parents | Parent}}</th> <td>{{{parent}}}</td> </tr>}}<!--
-->{{#if: {{{grandparent(s)|}}} | <tr> <th>{{#if: {{#pos:{{{grandparent(s)}}}|,}} | Grandparents | Grandparent}}</th> <td>{{{grandparent(s)}}}</td> </tr>}}<!--
-->{{#if: {{{guardian|}}} | <tr> <th>{{#if: {{#pos:{{{guardian}}}|,}} | Guardians | Guardian}}</th>
<td>{{{guardian}}}</td> </tr>}}<!--
-->{{#if: {{{child(ren)|}}} | <tr> <th>{{#if: {{#pos:{{{child(ren)}}}|,}} | Children | Child}}</th> <td>{{{child(ren)}}}</td> </tr>}}<!--
-->{{#if: {{{grandchild(ren)|}}} | <tr> <th>{{#if: {{#pos:{{{grandchild(ren)}}}|,}} | Grandchildren | Grandchild}}</th> <td>{{{grandchild(ren)}}}</td> </tr>}}<!--
-->{{#if: {{{ward(s)|}}} | <tr> <th>{{#if: {{#pos:{{{ward(s)}}}|,}} | Wards| Ward}}</th> <td>{{{ward(s)}}}</td> </tr>}}<!--
-->{{#if: {{{sibling(s)|}}} | <tr> <th>{{#if: {{#pos:{{{sibling(s)}}}|,}} | Siblings | Sibling }}</th> <td>{{{sibling(s)}}}</td> </tr>}}<!--
-->{{#if: {{{other relatives|}}} | <tr> <th>Other relatives</th> <td>{{{other relatives}}}</td> </tr>}}<!--
-->{{#ifeq: {{{spoiler|}}} | true | <tr><td colspan="2"><center>''[[Heroes spoilers]]''</center></td></tr>}}
|}<noinclude>
<br clear=all>
==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 <nowiki>{{</nowiki>[[Template:noimage|noimage]]<nowiki>}}</nowiki> template to the top of the page and display a default image if the <tt>image</tt> variable is left blank.
* Will add the article to [[:Category:Unknown Portrayer]] if the <tt>portrayer</tt> variable equals the text "Unknown".
* Will add the article to [[:Category:Unnamed Characters]] if the <tt>formal name</tt> variable equals the text "Unknown".
* Will add the article to [[:Category:Unseen Characters]] if the <tt>mention</tt> variable is filled in, but <tt>debut</tt> is not.
* Will add the article to [[:Category:Deceased Characters]] if the <tt>died</tt> variable is filled in.
{| style="background: transparent;"
{| style="background: transparent;"
{{Character box
|<pre>{{Character box
| name =
| sortname = <!-- Name to be sorted by in categories and in portals-->
| image = <!-- Image of the character. -->
| portrayer = <!-- Unknown if not known, else name of actor/actress. -->
| nick =
| debut = <!-- Episode or GN character first appeared -->
| mention = <!-- Episode or GN character was first mentioned. Use for characters who have not debuted. -->
| known powers = <!-- For confirmed evolved humans, type the name of the power; for all others, type "None"-->
| potential_power(s) = <!-- For characters who have an identified but not displayed power -->
| 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 =
| pob =
| died =
| home = <!-- Character's home or place of origin (city); Will link to existing articles. -->
| residence = <!--Physical building where character lives; will link to existing articles. -->
| occupation =
| significant other =
| marriage =
| parent =
| grandparent(s) =
| guardian = <!--Non-parent guardian(s)-->
| child(ren) =
| grandchild(ren) =
| ward(s) =
| sibling(s) =
| other relatives =
| spoiler = <!-- "true" for spoiler warning and colors -->
}}</pre>
|}


[[Category: Sidebars]]
</noinclude>

Revision as of 15:13, 27 January 2009

{{{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

{{Character box
| name = 
| sortname = <!-- Name to be sorted by in categories and in portals-->
| image = <!-- Image of the character. -->
| portrayer = <!-- Unknown if not known, else name of actor/actress.  -->
| nick = 
| debut = <!-- Episode or GN character first appeared -->
| mention = <!-- Episode or GN character was first mentioned.  Use for characters who have not debuted. -->
| known powers = <!-- For confirmed evolved humans, type the name of the power; for all others, type "None"-->
| potential_power(s) = <!-- For characters who have an identified but not displayed power -->
| 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 = 
| pob =
| died =
| home = <!-- Character's home or place of origin (city); Will link to existing articles. -->
| residence = <!--Physical building where character lives; will link to existing articles. -->
| occupation = 
| significant other = 
| marriage = 
| parent = 
| grandparent(s) = 
| guardian = <!--Non-parent guardian(s)-->
| child(ren) = 
| grandchild(ren) = 
| ward(s) = 
| sibling(s) = 
| other relatives =
| spoiler = <!-- "true" for spoiler warning and colors -->
}}