Jump to content

Template:Infobox character: Difference between revisions

added manga/anime tabber to infobox. this probably won't break?
(removed whitespace at end of infobox div)
Tags: Mobile edit Mobile web edit
(added manga/anime tabber to infobox. this probably won't break?)
Line 1: Line 1:
<onlyinclude><div class="infobox">
<includeonly><div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
{{#if:{{{image|}}}|
{{#if:{{{image-manga|}}}{{{image-anime|}}}|
<div class="infobox-image">[[{{{image}}}|250px|{{{alt|}}}|alt={{{alt|}}}]]</div>}}
<tabber style="text-align:center; height:300px;>
|-|Manga=
{{#if:{{{image-manga|}}}|<div class="infobox-image">[[{{{image-manga}}}|250px|{{{alt-manga|}}}|alt={{{alt-manga|}}}]]</div>|'''Image not available.'''}}
|-|Anime=
{{#if:{{{image-anime|}}}|<div class="infobox-image">[[{{{image-anime}}}|250px|{{{alt-anime|}}}|alt={{{alt-anime|}}}]]</div>|'''Image not available.'''}}
</tabber>|
{{#if:{{{image|}}}|<div class="infobox-image">[[{{{image}}}|250px|{{{alt|}}}|alt={{{alt|}}}]]</div>|'''Image not available.'''}}
}}
{{#if:{{{name-jp-full|}}}{{{name-jp-trans|}}}{{{nicknames|}}}|
{{#if:{{{name-jp-full|}}}{{{name-jp-trans|}}}{{{nicknames|}}}|
<table class="infobox-table" style="width:100%">
<table class="infobox-table" style="width:100%">
Line 98: Line 105:
</tr>}}
</tr>}}
</table>}}
</table>}}
</div></onlyinclude><noinclude>This is a rough explanation on how to use this template. </br>
</div></includeonly><noinclude>
Use the '''source editor''', and paste the following:
 
<pre><nowiki>{{Infobox character
| title =
| image =
| alt =
| name-jp-full =
| name-jp-trans =
| nicknames =
| 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 =
|
}}</nowiki></pre>
 
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
{{Infobox character
| title = Faith Union
| title = Faith Union
| image = File:INORI_MANGA_ICON.png
| image-manga = File:INORI_MANGA_ICON.png
| alt = Faith Union Herself
| alt-manga = Faith Union Herself
| image-anime = File:INORI ANIME PICTURE.png
| alt-anime = Faith Union in animated form
| name-jp-full = フェース・ユーノン
| name-jp-full = フェース・ユーノン
| name-jp-trans = Fēsu Yūnon
| name-jp-trans = Fēsu Yūnon
Line 163: Line 139:
| voice-actors = -
| voice-actors = -
|  
|  
}}</noinclude>
}}
This is a rough explanation on how to use this template. </br>
Use the '''source editor''', and paste the following: </br>
<pre><nowiki>{{Infobox character
| title =
| image-manga =
| alt-manga =
| image-anime =
| image-alt =
| name-jp-full =
| name-jp-trans =
| nicknames =
| 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 =
|
}}</nowiki></pre>
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.</noinclude>