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>Ryangibsonstewart
chg to say "married" to match other date formats, move to be between other dates, link dates if exist
imported>Ryangibsonstewart
simplify with defaultsort magicword
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACE}} | User | {{#if: {{{sortname|}}} | [[Category:Heroes Wiki Contributor|{{{sortname}}}]] | [[Category:Heroes Wiki Contributor|{{PAGENAMEE}}]]}} | }} {{#ifeq: {{{spoiler|}}} | true | {{#if: {{{sortname|}}} | [[Category:Spoilers|{{{sortname}}}]] | [[Category:Spoilers|{{PAGENAME}}]] }} | {{#if: {{{sortname|}}} | {{#ifeq:{{NAMESPACE}} | User | | [[Category:Characters|{{{sortname}}}]]}} | {{#ifeq:{{NAMESPACE}} | User | | [[Category:Characters]]}} }} }} <includeonly>{{#if: {{{image|}}}| | {{#ifeq:{{NAMESPACE}} | User | | {{noimage}} }} }}</includeonly>{{#ifeq:{{{spoiler|}}}|true|{{unairedspoiler}}|}}
<includeonly>{{DEFAULTSORT:{{{sortname}}}}}{{#ifeq: {{{spoiler|}}} | true | [[Category:Spoilers]] | {{#ifeq:{{NAMESPACE}} | User | [[Category:Heroes Wiki Contributor]] | [[Category:Characters]] }} }} <includeonly>{{#if: {{{image|}}}| | {{#ifeq:{{NAMESPACE}} | User | | {{noimage}} }} }}</includeonly>{{#ifeq:{{{spoiler|}}}|true|{{unairedspoiler}}|}}
{| 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"
{| 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"
|-
|-
Line 6: Line 6:
-->{{#if: {{{caption|}}} | <br>{{{caption}}}</td> </tr>}}
-->{{#if: {{{caption|}}} | <br>{{{caption}}}</td> </tr>}}
|-
|-
{{#if: {{{portrayer|}}} | {{#ifeq: {{{portrayer}}}|Unknown|{{#ifeq:{{NAMESPACE}} | User | |{{#if: {{{sortname|}}} | [[Category:Unknown Portrayer|{{{sortname}}}]] | [[Category:Unknown Portrayer]]}}|}}}} <tr> <th>Portrayed&nbsp;by</th> <td>{{#ifexist: {{{portrayer}}} | [[{{{portrayer}}}]] | {{{portrayer}}}}}</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: {{{nick|}}} | <tr> <th>{{#if: {{#pos:{{{nick}}}|,}} | Nicknames | Nickname }}</th> <td>{{{nick}}}</td> </tr>}}<!--
-->{{#if: {{{nick|}}} | <tr> <th>{{#if: {{#pos:{{{nick}}}|,}} | Nicknames | Nickname }}</th> <td>{{{nick}}}</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 | |{{#if: {{{sortname|}}} | [[Category:Unseen Characters|{{{sortname}}}]] | [[Category:Unseen Characters]] }} }} }} }}
-->{{#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
! 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
Line 16: Line 16:
-->{{#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: {{{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: {{{alias|}}} | <tr> <th>{{#if: {{#pos:{{{alias}}}|,}} | Aliases | Alias }}</th> <td>{{{alias}}}</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 | |{{#if: {{{sortname|}}} |[[Category:Female Characters|{{{sortname}}}]] |[[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 | |{{#if: {{{sortname|}}} |[[Category:Male Characters|{{{sortname}}}]] |[[Category:Male Characters]] }} }} }}| {{{gender}}} }}</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]] }} }}| {{{gender}}} }}</td> </tr>}}<!--
-->{{#if: {{{age|}}} | <tr> <th>Age</th> <td>{{{age}}}</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: {{{born|}}} | <tr> <th>Date&nbsp;of&nbsp;birth</th> <td>{{#ifexist: {{{born}}} | [[{{{born}}}]] | {{{born}}}}}</td> </tr>}}<!--
-->{{#if: {{{marriage|}}} | <tr> <th>Date of marriage:</th> <td>{{#ifexist: {{{marriage}}} | [[{{{marriage}}}]] | {{{marriage}}}}}</td> </tr>}}<!--
-->{{#if: {{{marriage|}}} | <tr> <th>Date of 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 | | {{#if: {{{sortname|}}} | [[Category:Deceased Characters|{{{sortname}}}]] | [[Category:Deceased Characters]]}} }} }}<!--
-->{{#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: {{{home|}}} | <tr> <th>Home</th> <td>{{#ifexist: {{{home}}} | [[{{{home}}}]] | {{{home}}} }}</td> </tr>}}<!--
-->{{#ifexist: {{PAGENAMEE}}'s apartment | <tr> <th>Residence</th> <td>[[{{PAGENAME}}'s apartment]]</td> </tr> | }}<!--
-->{{#ifexist: {{PAGENAMEE}}'s apartment | <tr> <th>Residence</th> <td>[[{{PAGENAME}}'s apartment]]</td> </tr> | }}<!--

Revision as of 21:18, 24 September 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

{{Character box
| name = 
| sortname = <!-- Name to be sorted by in categories -->
| 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. -->
| known powers = <!-- For evolved humans, type the name of the power; for all others, type "None"-->
| potential_power(s) = <!-- For characters 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 = 
| died =
| home = <!-- Character's home or place of origin.  Will link to existing articles. -->
| residence = <!--will automatically link if article/redirect exists, but can be manually overridden -->
| occupation = 
| significant other = 
| marriage = 
| parent = 
| guardian = <!--Non-parent legal guardian(s)-->
| child(ren) = 
| sibling(s) = 
| spoiler = <!-- "true" for spoiler warning and colors -->
}}