Template:Infobox character: Difference between revisions

From Medalist Wiki
(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>

Revision as of 16:24, 7 February 2025

Infobox character

This is a rough explanation on how to use this template.

Use the source editor, and paste the following:

{{Infobox character
| title = 
| image = 
| name-jp-full = 
| name-jp-trans = 
| gender = 
| birthday = 
| age = 
| height = 
| bloodtype = 
| occupation = 
| skating-discipline = 
| clubs = 
| skating-class = 
| skating-level = 
| skating-fav-jump = 
| skating-coaches = 
| skating-students = 
| family = 
| home-town = 
| home-country = 
| debut-manga =
| debut-anime = 
| voice-actors =
| 
}}

Then simply fill out the relevant information. Blank entries will not be rendered, so if you have no info regarding that row, then just don't fill it out.

testing
Japanese テスト
Romaji tesuto
Profile
Gender test
Birthday test
Age 100
Height test
Blood type test
Occupation test
Skating info
Discipline test
Club(s) test
Class Lv. 9
Badge level test
Favorite jump test
Coach(es) test
Student(s) test
Family test
Background
Hometown test
Home country test
Meta info
Debut (manga) test
Debut (anime) test
Voice actors test