Template:Character.infobox: Difference between revisions

From Drama Chaser
(changed 'param1' to 'character-title' as in the rest of the text.)
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="infobox">
<noinclude>okay so now I have to figure out how to call this dang infobox! I think I have a new class set up for it but i am NOT SURE
<div class="infobox-title">{{{Title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<H1>How to use this template</H1>
<table class="infobox-table">{{#if:{{{character-title|}}}|<tr>
</noinclude>
     <th>Title</th>
<div class="infobox-character">
     <td>{{{character-title}}}</td>
<div class="infobox-title">{{PAGENAME}}</div>
</tr>}}{{#if:{{{other-names|}}}|<tr>
<div class="infobox-image">[[File:{{PAGENAME}}.jpg|280px|alt={{{alt}}}]]</div>
     <th>Other names</th>
<table class="infobox-table">{{#if:{{{Chinese|}}}|<tr>
     <td>{{{other-names}}}</td>
     <th>Name in Chinese</th>
</tr>}}{{#if:{{{affiliations|}}}|<tr>
     <td>{{{Chinese}}}</td>
   <th>Affiliations</th>
</tr>}}{{#if:{{{AKA|}}}|<tr>
     <td>{{{affiliations}}}</td>
     <th>AKA</th>
</tr>}}{{#if:{{{age|}}}|<tr>
     <td>{{{AKA}}}</td>
   <th>Age</th>
</tr>}}{{#if:{{{Nickname|}}}|<tr>
     <td>{{{age}}}</td>
   <th>Nickname</th>
</tr>}}{{#if:{{{height|}}}|<tr>
     <td>{{{Nickname}}}</td>
   <th>Height</th>
</tr>}}{{#if:{{{Title|}}}|<tr>
     <td>{{{height}}}</td>
   <th>Title</th>
</tr>}}{{#if:{{{relationships|}}}|<tr>
     <td>{{{Title}}}</td>
</tr>}}{{#if:{{{Affiliation|}}}|<tr>
   <th>Affiliation</th>
     <td>{{{Affiliation}}}</td>
</tr>}}{{#if:{{{Relationships|}}}|<tr>
     <th>Relationships</th>
     <th>Relationships</th>
     <td>{{{relationships}}}</td>
     <td>{{{Relationships}}}</td>
</tr>}}{{#if:{{{hometown|}}}|<tr>
</tr>}}{{#if:{{{Hometown|}}}|<tr>
     <th>Hometown</th>
     <th>Hometown</th>
     <td>{{{hometown}}}</td>
     <td>{{{Hometown}}}</td>
</tr>}}{{#if:{{{pets|}}}|<tr>
</tr>}}{{#if:{{{Birthday|}}}|<tr>
     <th>Pets</th>
     <th>Birthday</th>
     <td>{{{pets}}}</td>
     <td>{{{Birthday}}}</td>
</tr>}}{{#if:{{{Debut|}}}|<tr>
</tr>}}{{#if:{{{Age|}}}|<tr>
     <th>Debut</th>
     <th>Age</th>
     <td>{{{debut}}}</td>
     <td>{{{Age}}}</td>
</tr>}}{{#if:{{{cast|}}}|<tr>
</tr>}}{{#if:{{{Height|}}}|<tr>
    <th>Height</th>
    <td>{{{Height}}}</td>
</tr>}}{{#if:{{{Bloodtype|}}}|<tr>
    <th>Blood type</th>
    <td>{{{Bloodtype}}}</td>
</tr>}}{{#if:{{{Nationality|}}}|<tr>
    <th>Nationality</th>
    <td>{{{Nationality}}}</td>
</tr>}}{{#if:{{{Firstapp|}}}|<tr>
    <th>First appearance</th>
    <td>{{{Firstapp}}}</td>
</tr>}}{{#if:{{{Lastapp|}}}|<tr>
    <th>Last appearance</th>
    <td>{{{Lastapp}}}</td>
</tr>}}{{#if:{{{Death|}}}|<tr>
    <th>Death</th>
    <td>{{{Death}}}</td>
</tr>}}{{#if:{{{Cast|}}}|<tr>
     <th>Cast</th>
     <th>Cast</th>
     <td>{{{cast}}}</td>
     <td>{{{Cast}}}</td>
</tr>}}{{#if:{{{Voiceactor|}}}|<tr>
    <th>Voice actor</th>
    <td>{{{Voiceactor}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>

Latest revision as of 05:19, 5 June 2024

okay so now I have to figure out how to call this dang infobox! I think I have a new class set up for it but i am NOT SURE

How to use this template

Character.infobox