Template:Infobox character: Difference between revisions

From Medalist Wiki
No edit summary
No edit summary
Line 8: Line 8:
     <th>Romaji</th>
     <th>Romaji</th>
     <td>{{{name-jp-trans}}}</td>
     <td>{{{name-jp-trans}}}</td>
</tr>}}{{#if:{{{gender|}}}|<tr>
    <th>Gender</th>
    <td>{{{gender}}}</td>
</tr>}}{{#if:{{{birthday|}}}|<tr>
    <th>Birthday</th>
    <td>{{{birthday}}}</td>
</tr>}}{{#if:{{{age|}}}|<tr>
</tr>}}{{#if:{{{age|}}}|<tr>
     <th>Age</th>
     <th>Age</th>
     <td>{{{age}}}</td>
     <td>{{{age}}}</td>
</tr>}}{{#if:{{{height|}}}|<tr>
    <th>Height</th>
    <td>{{{height}}}</td>
</tr>}}{{#if:{{{bloodtype|}}}|<tr>
    <th>Blood type</th>
    <td>{{{bloodtype}}}</td>
</tr>}}{{#if:{{{Occupation|}}}|<tr>
</tr>}}{{#if:{{{Occupation|}}}|<tr>
     <th>Parameter 5</th>
     <th>Parameter 5</th>
Line 17: Line 29:
     <th>Clubs</th>
     <th>Clubs</th>
     <td>{{{clubs}}}</td>
     <td>{{{clubs}}}</td>
</tr>}}{{#if:{{{family|}}}|<tr>
    <th>Family</th>
    <td>{{{family}}}</td>
</tr>}}{{#if:{{{home-prefecture|}}}|<tr>
    <th>Home prefecture</th>
    <td>{{{home-prefecture}}}</td>
</tr>}}{{#if:{{{home-country|}}}|<tr>
    <th>Home prefecture</th>
    <td>{{{home-country}}}</td>
</tr>}}{{#if:{{{debut-manga|}}}|<tr>
    <th>Debut (manga)</th>
    <td>{{{debut-manga}}}</td>
</tr>}}{{#if:{{{debut-anime|}}}|<tr>
    <th>Debut (anime)</th>
    <td>{{{debut-anime}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>
Line 25: Line 52:


<pre><nowiki>{{Infobox character
<pre><nowiki>{{Infobox character
| title =
| title =  
| name-jp-full =
| name-jp-trans =
| age =
| occupation =
| clubs =
}}</nowiki></pre>
 
Then simply fill out the relevant information. Blank entries will not be rendered. An example:
 
<pre><nowiki>{{Infobox character
| title = Inori Yuitsuka
| image =  
| image =  
| name-jp-full = 結束いのり
| name-jp-full =  
| name-jp-trans = Yuitsuka Inori
| name-jp-trans =  
| age = 11 (Chapter 1)
| gender =
| occupation = Women's singles skater
| birthday =
| clubs = [[Lux Higashiyama FSC]]
| age =  
| height =
| bloodtype =
| occupation =  
| clubs =  
| family =
| home-prefecture =
| home-country =
| debut-manga =
| debut-anime =
|
}}</nowiki></pre>
}}</nowiki></pre>


This example will show up on the right side of this page.
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 = Inori Yuitsuka
| image =
| name-jp-full = 結束いのり
| name-jp-trans = Yuitsuka Inori
| age = 11 (Chapter 1)
| occupation = Women's singles skater
| clubs = [[Lux Higashiyama FSC]]
}}
</noinclude>

Revision as of 17:12, 6 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 = 
| clubs = 
| family = 
| home-prefecture = 
| home-country = 
| debut-manga =
| debut-anime = 
| 
}}

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.