Template:Infobox character: Difference between revisions

From Katawa Shoujo Wiki

imported>Galrion
m And that'll do for now.
imported>TheWallflower00
No edit summary
 
(24 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px; background-color:#FFF;"
<infobox>
|-
<title source="name" style="text-align:center">
! colspan="2" style="background-color:#3366CC; color:#FFFFFF; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
    <default>{{PAGENAME}}</default>
{{#if: {{{image|<noinclude>asdf</noinclude>}}}|
    <format><div style="width:100%; text-align:center;background-color:#008080;color:black;">{{{name}}}</div></format>
{{!}}-
    </title>
{{!}} colspan="2" style="text-align:center;" {{!}} [[Image:{{{image|Placeholder_person.png}}}|{{{im_width|250px}}}]]<br/>'' ''
<image source="image"/>
|
<data source="birthday">
}}
    <label>Birthday</label>
{{#if: {{{quote|<noinclude>asdf</noinclude>}}} |
</data>
{{!}}-
<data source="zodiac">
{{!}} colspan="2" style="text-align: center;"{{!}} ''"{{{quote}}}"''|
    <label>Zodiac sign</label>
}}
    </data>
{{#if: {{{gender|{{{1}}}}}|
    <data source="gender">
{{!}}-
    <label>Gender</label>
{{!}} style="width:30%;" {{!}} '''Gender'''
    </data>
{{!}} style="width:70%;" {{!}} |}}
<data source="eyes">
{{#switch: {{{gender|{{{1}}}}}}
    <label>Eye color</label>
| m = Male [[Category:Male characters]]
</data>
| f = Female [[Category:Female characters]]
<data source="hair">
| #default = {{{1|{{{gender}}}}}}
    <label>Hair color</label>
}}
</data>
{{#if: {{{birthday|{{{2|<noinclude>asdf</noinclude>}}}}}} |
<data source="height">
{{!}}-
    <label>Height</label>
{{!}} style="width:30%;" {{!}}
</data>
'''Birthday'''
<data source="weight">
{{!}} style="width:70%;" {{!}}
    <label>Weight</label>
{{{birthday|{{{2|<noinclude>{{{birthday}}}</noinclude>}}}}}}|}}
</data>
{{#if: {{{zodiac|{{{3|<noinclude>asdf</noinclude>}}}}}}|
<data source="measurements">
{{!}}-
    <label>B/W/H</label>
{{!}}
</data>
'''Zodiac sign'''
<data source="bloodtype">
{{!}}
    <label>Blood type</label>
{{{zodiac|{{{3|<noinclude>{{{zodiac}}}</noinclude>}}}}}}|}}
</data>
{{#if: {{{bloodtype|{{{4|<noinclude>asdf</noinclude>}}}}}}|
<data source="music">
{{!}}-
    <label>Theme</label>
{{!}}
</data>
'''Bloodtype'''
<data source="occupation">
{{!}}
    <label>Occupation</label>
{{{bloodtype|{{{4|<noinclude>{{{bloodtype}}}</noinclude>}}}}}}|}}
</data>
{{#if: {{{height|{{{5|<noinclude>asdf</noinclude>}}}}}}|
<data source="family">
{{!}}-
    <label>Relatives</label>
{{!}}
    </data>
'''Height'''
<data source="quote">
{{!}}
    <label>Quote</label>
{{{height|{{{5|<noinclude>{{{height}}}</noinclude>}}}}}}|}}
    </data>
{{#if: {{{music|{{{6|<noinclude>asdf</noinclude>}}}}}}|
    <data source="disability">
{{!}}-
        <label>Disability</label>
{{!}}
    </data>
'''Theme'''
<data source="other">
{{!}}
    <label>Other</label>
{{{music|{{{6|<noinclude>{{{music}}}</noinclude>}}}}}}|}}
</data>
{{#if: {{{other|{{{7|<noinclude>asdf</noinclude>}}}}}}|
</infobox>
{{!}}-
<noinclude>{{Documentation}}</noinclude>
{{!}}
'''Notable features'''
{{!}}
{{{other|{{{7|<noinclude>{{{other}}}</noinclude>}}}}}}|}}
|}
<noinclude><br clear="all"/>{{documentation}}</noinclude>

Latest revision as of 14:39, 28 July 2017

Template documentation (for the above template, sometimes hidden or invisible)

Type in this:

{{Infobox_character
|name=Emi Ibarazaki
|image=Char_emi.png
|gender=Female
|birthday=March 14th (age 19)
|zodiac=Pisces
|bloodtype=B
|measurements=70/51/74 (27-20-29)
|height=151cm (4'11")
|weight=41 kg (90 lbs.)
|eyes=Poplar green
|hair=Light brown
|family=[[Meiko Ibarazaki]] (mother)
|music="Standing Tall" [[File:1-20 Standing Tall.ogg|noicon]]
|disability=Missing both legs below the knees
|quote="Can you stand up for yourself?"
|other=Pigtails
}}

to see this: