Template:Character.infobox: Difference between revisions
(Setting up initial character fields) Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
(26 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"> | |||
<div class="infobox-image">[[File:{{PAGENAME | <H1>How to use this template</H1> | ||
<table class="infobox-table">{{#if:{{{ | </noinclude> | ||
<th> | <div class="infobox-character"> | ||
<td>{{{ | <div class="infobox-title">{{PAGENAME}}</div> | ||
</tr>}}{{#if:{{{ | <div class="infobox-image">[[File:{{PAGENAME}}.jpg|280px|alt={{{alt}}}]]</div> | ||
<th> | <table class="infobox-table">{{#if:{{{Chinese|}}}|<tr> | ||
<td>{{{ | <th>Name in Chinese</th> | ||
</tr>}}{{#if:{{{ | <td>{{{Chinese}}}</td> | ||
<th> | </tr>}}{{#if:{{{AKA|}}}|<tr> | ||
<td>{{{ | <th>AKA</th> | ||
</tr>}}{{#if:{{{ | <td>{{{AKA}}}</td> | ||
<th> | </tr>}}{{#if:{{{Nickname|}}}|<tr> | ||
<td>{{{ | <th>Nickname</th> | ||
</tr>}}{{#if:{{{ | <td>{{{Nickname}}}</td> | ||
<th> | </tr>}}{{#if:{{{Title|}}}|<tr> | ||
<td>{{{ | <th>Title</th> | ||
</tr>}}{{#if:{{{ | <td>{{{Title}}}</td> | ||
</tr>}}{{#if:{{{Affiliation|}}}|<tr> | |||
<th>Affiliation</th> | |||
<td>{{{Affiliation}}}</td> | |||
</tr>}}{{#if:{{{Relationships|}}}|<tr> | |||
<th>Relationships</th> | <th>Relationships</th> | ||
<td>{{{ | <td>{{{Relationships}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{Hometown|}}}|<tr> | ||
<th>Hometown</th> | <th>Hometown</th> | ||
<td>{{{ | <td>{{{Hometown}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{Birthday|}}}|<tr> | ||
<th> | <th>Birthday</th> | ||
<td>{{{ | <td>{{{Birthday}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{Age|}}}|<tr> | ||
<th> | <th>Age</th> | ||
<td>{{{ | <td>{{{Age}}}</td> | ||
</tr>}}{{#if:{{{ | </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>{{{ | <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