Template:Infobox character: Difference between revisions

From Medalist Wiki
(fixed class field to skating-class)
Tags: Mobile edit Mobile web edit
(tried to add spacers but it turns out i dont know anything about html/css, will return to this later)
Line 8: Line 8:
     <th>Romaji</th>
     <th>Romaji</th>
     <td>{{{name-jp-trans}}}</td>
     <td>{{{name-jp-trans}}}</td>
</tr>}}{{#if:{{{gender|}}}{{{age|}}}{{{birthday|}}}{{{age|}}}{{{height|}}}{{{bloodtype|}}}{{{occupation|}}}|<tr>
    <th colspan="2" style="width:100%; text-align:center">Profile</th>
</tr>}}{{#if:{{{gender|}}}|<tr>
</tr>}}{{#if:{{{gender|}}}|<tr>
     <th>Gender</th>
     <th>Gender</th>
Line 26: Line 28:
     <th>Occupation</th>
     <th>Occupation</th>
     <td>{{{occupation}}}</td>
     <td>{{{occupation}}}</td>
</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>
</tr>}}{{#if:{{{skating-discipline|}}}|<tr>
</tr>}}{{#if:{{{skating-discipline|}}}|<tr>
     <th>Discipline</th>
     <th>Discipline</th>
     <td>{{{skating-discipline}}}</td>
     <td>{{{skating-discipline}}}</td>
</tr>}}{{#if:{{{clubs|}}}|<tr>
</tr>}}{{#if:{{{clubs|}}}|<tr>
     <th>Clubs</th>
     <th>Club(s)</th>
     <td>{{{clubs}}}</td>
     <td>{{{clubs}}}</td>
</tr>}}{{#if:{{{skating-class|}}}|<tr>
</tr>}}{{#if:{{{skating-class|}}}|<tr>
Line 42: Line 46:
     <td>{{{skating-fav-jump}}}</td>
     <td>{{{skating-fav-jump}}}</td>
</tr>}}{{#if:{{{skating-coaches|}}}|<tr>
</tr>}}{{#if:{{{skating-coaches|}}}|<tr>
     <th>Coaches</th>
     <th>Coach(es)</th>
     <td>{{{skating-coaches}}}</td>
     <td>{{{skating-coaches}}}</td>
</tr>}}{{#if:{{{skating-students|}}}|<tr>
</tr>}}{{#if:{{{skating-students|}}}|<tr>
     <th>Students</th>
     <th>Student(s)</th>
     <td>{{{skating-students}}}</td>
     <td>{{{skating-students}}}</td>
</tr>}}{{#if:{{{family|}}}|<tr>
</tr>}}{{#if:{{{family|}}}|<tr>
     <th>Family</th>
     <th>Family</th>
     <td>{{{family}}}</td>
     <td>{{{family}}}</td>
</tr>}}{{#if:{{{home-town|}}}{{{home-prefecture|}}}{{{home-country|}}}|<tr>
    <th colspan="2" style="width:100%; text-align:center">Background</th>
</tr>}}{{#if:{{{home-town|}}}|<tr>
</tr>}}{{#if:{{{home-town|}}}|<tr>
     <th>Hometown</th>
     <th>Hometown</th>
Line 57: Line 63:
     <td>{{{home-prefecture}}}</td>
     <td>{{{home-prefecture}}}</td>
</tr>}}{{#if:{{{home-country|}}}|<tr>
</tr>}}{{#if:{{{home-country|}}}|<tr>
     <th>Home prefecture</th>
     <th>Home country</th>
     <td>{{{home-country}}}</td>
     <td>{{{home-country}}}</td>
</tr>}}{{#if:{{{debut-manga|}}}{{{debut-anime|}}}{{{voice-actors|}}}|<tr>
    <th colspan="2" style="width:100%; text-align:center">Meta info</th>
</tr>}}{{#if:{{{debut-manga|}}}|<tr>
</tr>}}{{#if:{{{debut-manga|}}}|<tr>
     <th>Debut (manga)</th>
     <th>Debut (manga)</th>
Line 103: Line 111:


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.
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.
{{Infobox character
| title = testing
| image =
| name-jp-full = テスト
| name-jp-trans = tesuto
| gender = test
| birthday = test
| age = 100
| height = test
| bloodtype = test
| occupation = test
| skating-discipline = test
| clubs = test
| skating-class = Lv. 9
| skating-level = test
| skating-fav-jump = test
| skating-coaches = test
| skating-students = test
| family = test
| home-town = test
| home-country = test
| debut-manga = test
| debut-anime = test
| voice-actors = test
|
}}
</noinclude>

Revision as of 16:13, 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