Template:Character: Difference between revisions

From Rebellious Projects Wiki
No edit summary
Tag: Reverted
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="infobox" style="width: 250px; font-size: 90%; text-align: left; border: 1px solid #aaa; background: #f8f8f8;">
<includeonly>
<tr>
<infobox type="Character">
     <th colspan="2" style="text-align:center; font-size:120%; background:#333; color:#fff; padding:4px;">{{{name|{{PAGENAME}}}}}</th>
     <title source="name"/>
</tr>
<data source="image"></data>
{{#if:{{{image|}}}|
    <group>
<tr>
        <header>Physical description</header>
    <td colspan="2" style="text-align:center; padding:4px;">[[File:{{{image}}}|200px|thumb|{{{imagecaption|}}}]]</td>
        <data source="species"><label>Species:</label></data>
</tr>
        <data source="gender"><label>Gender:</label></data>
}}
        <data source="hairColour"><label>Hair Colour:</label></data>
{{#if:{{{aliases|}}}{{{relatives|}}}{{{species|}}}{{{gender|}}}{{{height|}}}{{{weight|}}}{{{eyes|}}}|
        <data source="eyeColour"><label>Eye Colour:</label></data>
<tr>
    </group>
    <th colspan="2" style="background:#ddd; padding:2px; text-align:center;">Personal Information</th>
    <group>
</tr>
        <header>Background Information</header>
}}
        <data source="placeOfResidence"><label>Residence:</label></data>
{{#if:{{{aliases|}}}|
        <data source="placesOfResidence"><label>Residences:</label></data>
<tr>
        <data source="dob"><label>Date of Birth:</label></data>
    <th>Aliases</th>
        <data source="pob"><label>Place of Birth:</label></data>
    <td>{{{aliases}}}</td>
        <data source="dod"><label>Date of Death:</label></data>
</tr>
        <data source="pod"><label>Place of Death:</label></data>
}}
        <data source="cod"><label>Cause of Death:</label></data>
{{#if:{{{relatives|}}}|
    </group>
<tr>
    <group>
    <th>Relatives</th>
        <header>Affiliation</header>
    <td>{{{relatives}}}</td>
        <data source="companion"><label>Companion:</label></data>
</tr>
        <data source="companions"><label>Companions:</label></data>
}}
        <data source="doctor"><label>Doctor:</label></data>
{{#if:{{{species|}}}|
        <data source="doctors"><label>Doctors:</label></data>
<tr>
        <data source="otherFriends"><label>Also Affiliated With:</label></data>
    <th>Species</th>
    </group>
    <td>{{{species}}}</td>
    <group>
</tr>
        <header>Appearances</header>
}}
        <data source="portrayedBy"><label>Portrayed By:</label></data>
{{#if:{{{gender|}}}|
        <data source="debut"><label>Debut:</label></data>
<tr>
        <data source="swansong"><label>Last Appeared:</label></data>
    <th>Gender</th>
    </group>
    <td>{{{gender}}}</td>
     <group layout="horizontal">
</tr>
        <header>Incarnation Guide</header>
}}
        <data source="previousIncarnation"><label>Previous Incarnation:</label></data>
{{#if:{{{height|}}}|
        <data source="nextIncarnation"><label>Next Incarnation:</label></data>
<tr>
     </group>
    <th>Height</th>
</infobox>
    <td>{{{height}}}</td>
{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}}
</tr>
</includeonly>
}}
<noinclude>{{Documentation}}</noinclude>
{{#if:{{{weight|}}}|
<tr>
    <th>Weight</th>
    <td>{{{weight}}}</td>
</tr>
}}
{{#if:{{{eyes|}}}|
<tr>
    <th>Eye Color</th>
    <td>{{{eyes}}}</td>
</tr>
}}
{{#if:{{{occupation|}}}{{{affiliation|}}}{{{marital|}}}{{{birthDate|}}}{{{birthPlace|}}}{{{deathDate|}}}{{{deathPlace|}}}|
<tr>
    <th colspan="2" style="background:#ddd; padding:2px; text-align:center;">Life & Background</th>
</tr>
}}
{{#if:{{{occupation|}}}|
<tr>
    <th>Occupation</th>
    <td>{{{occupation}}}</td>
</tr>
}}
{{#if:{{{affiliation|}}}|
<tr>
    <th>Affiliation</th>
    <td>{{{affiliation}}}</td>
</tr>
}}
{{#if:{{{marital|}}}|
<tr>
    <th>Marital Status</th>
    <td>{{{marital}}}</td>
</tr>
}}
{{#if:{{{birthDate|}}}|
<tr>
    <th>Date of Birth</th>
    <td>{{{birthDate}}}</td>
</tr>
}}
{{#if:{{{birthPlace|}}}|
<tr>
    <th>Place of Birth</th>
    <td>{{{birthPlace}}}</td>
</tr>
}}
{{#if:{{{deathDate|}}}|
<tr>
    <th>Date of Death</th>
    <td>{{{deathDate}}}</td>
</tr>
}}
{{#if:{{{deathPlace|}}}|
<tr>
    <th>Place of Death</th>
    <td>{{{deathPlace}}}</td>
</tr>
}}
{{#if:{{{portrayedby|}}}{{{appearsin|}}}{{{debut|}}}|
<tr>
     <th colspan="2" style="background:#ddd; padding:2px; text-align:center;">Media Appearances</th>
</tr>
}}
{{#if:{{{portrayedby|}}}|
<tr>
    <th>Portrayed By</th>
    <td>{{{portrayedby}}}</td>
</tr>
}}
{{#if:{{{appearsin|}}}|
<tr>
    <th>Appears In</th>
     <td>{{{appearsin}}}</td>
</tr>
}}
{{#if:{{{debut|}}}|
<tr>
    <th>Debut</th>
    <td>{{{debut}}}</td>
</tr>
}}
</table>

Latest revision as of 07:43, 9 April 2026