Template:Infobox character: Difference between revisions
added boxes into the infobox
(tried to add spacers but it turns out i dont know anything about html/css, will return to this later) |
(added boxes into the infobox) |
||
Line 2: | Line 2: | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | ||
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | ||
<table class="infobox-table">{{#if:{{{name-jp-full|}}}|<tr> | <table class="infobox-table" style="width:100%">{{#if:{{{name-jp-full|}}}|<tr> | ||
<th>Japanese</th> | <th>Japanese</th> | ||
<td>{{{name-jp-full}}}</td> | <td>{{{name-jp-full}}}</td> | ||
Line 9: | Line 9: | ||
<td>{{{name-jp-trans}}}</td> | <td>{{{name-jp-trans}}}</td> | ||
</tr>}}{{#if:{{{gender|}}}{{{age|}}}{{{birthday|}}}{{{age|}}}{{{height|}}}{{{bloodtype|}}}{{{occupation|}}}|<tr> | </tr>}}{{#if:{{{gender|}}}{{{age|}}}{{{birthday|}}}{{{age|}}}{{{height|}}}{{{bloodtype|}}}{{{occupation|}}}|<tr> | ||
<th colspan="2" style="width:100%; text-align:center">Profile</th> | <th colspan="2" style="width:100%; text-align:center; background-color: #f0f5f7;">Profile</th> | ||
</tr>}}{{#if:{{{gender|}}}|<tr> | </tr>}}{{#if:{{{gender|}}}|<tr> | ||
<th>Gender</th> | <th>Gender</th> | ||
Line 29: | Line 29: | ||
<td>{{{occupation}}}</td> | <td>{{{occupation}}}</td> | ||
</tr>}}{{#if:{{{skating-discipline|}}}{{{clubs|}}}{{{skating-class|}}}{{{skating-level|}}}{{{skating-fav-jump|}}}{{{skating-coaches|}}}{{{skating-students|}}}|<tr> | </tr>}}{{#if:{{{skating-discipline|}}}{{{clubs|}}}{{{skating-class|}}}{{{skating-level|}}}{{{skating-fav-jump|}}}{{{skating-coaches|}}}{{{skating-students|}}}|<tr> | ||
<th colspan="2" style="width:100%; text-align:center">Skating info</th> | <th colspan="2" style="width:100%; text-align:center; background-color: #f0f5f7;">Skating info</th> | ||
</tr>}}{{#if:{{{skating-discipline|}}}|<tr> | </tr>}}{{#if:{{{skating-discipline|}}}|<tr> | ||
<th>Discipline</th> | <th>Discipline</th> | ||
Line 55: | Line 55: | ||
<td>{{{family}}}</td> | <td>{{{family}}}</td> | ||
</tr>}}{{#if:{{{home-town|}}}{{{home-prefecture|}}}{{{home-country|}}}|<tr> | </tr>}}{{#if:{{{home-town|}}}{{{home-prefecture|}}}{{{home-country|}}}|<tr> | ||
<th colspan="2" style="width:100%; text-align:center">Background</th> | <th colspan="2" style="width:100%; text-align:center; background-color: #f0f5f7;">Background</th> | ||
</tr>}}{{#if:{{{home-town|}}}|<tr> | </tr>}}{{#if:{{{home-town|}}}|<tr> | ||
<th>Hometown</th> | <th>Hometown</th> | ||
Line 66: | Line 66: | ||
<td>{{{home-country}}}</td> | <td>{{{home-country}}}</td> | ||
</tr>}}{{#if:{{{debut-manga|}}}{{{debut-anime|}}}{{{voice-actors|}}}|<tr> | </tr>}}{{#if:{{{debut-manga|}}}{{{debut-anime|}}}{{{voice-actors|}}}|<tr> | ||
<th colspan="2" style="width:100%; text-align:center">Meta info</th> | <th colspan="2" style="width:100%; text-align:center; background-color: #f0f5f7;">Meta info</th> | ||
</tr>}}{{#if:{{{debut-manga|}}}|<tr> | </tr>}}{{#if:{{{debut-manga|}}}|<tr> | ||
<th>Debut (manga)</th> | <th>Debut (manga)</th> |