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>HiroDynoSlayer
added 'Marriage' as a Character box item
imported>Ryangibsonstewart
chg to say "married" to match other date formats, move to be between other dates, link dates if exist
Line 18: Line 18:
-->{{#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 | |{{#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: {{{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>{{{born}}}</td> </tr>}}<!--
-->{{#if: {{{born|}}} | <tr> <th>Date&nbsp;of&nbsp;birth</th> <td>{{#ifexist: {{{born}}} | [[{{{born}}}]] | {{{born}}}}}</td> </tr>}}<!--
-->{{#if: {{{died|}}} | <tr> <th>Date&nbsp;of&nbsp;death</th> <td>{{{died}}}</td> </tr> {{#ifeq:{{NAMESPACE}} | User | | {{#if: {{{sortname|}}} | [[Category:Deceased Characters|{{{sortname}}}]] | [[Category:Deceased Characters]]}} }} }}<!--
-->{{#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: {{{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> | }}<!--
Line 25: Line 26:
-->{{#if: {{{occupation|}}} | <tr> <th>Occupation</th> <td>{{{occupation}}}</td> </tr>}}<!--
-->{{#if: {{{occupation|}}} | <tr> <th>Occupation</th> <td>{{{occupation}}}</td> </tr>}}<!--
-->{{#if: {{{significant other|}}} | <tr> <th>Significant&nbsp;other</th> <td>{{{significant other}}}</td> </tr>}}<!--
-->{{#if: {{{significant other|}}} | <tr> <th>Significant&nbsp;other</th> <td>{{{significant other}}}</td> </tr>}}<!--
-->{{#if: {{{marriage|}}} | <tr> <th>Marriage</th> <td>{{{marriage}}}</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(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: {{{parent|}}} | <tr> <th>{{#if: {{#pos:{{{parent}}}|,}} | Parents | Parent}}</th> <td>{{{parent}}}</td> </tr>}}<!--

Revision as of 13:49, 29 August 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 -->
}}