Template:Infobox character: Difference between revisions

From Katawa Shoujo Wiki

imported>Knakveey
Infobox updated using the portable infobox migration tool
imported>Knakveey
Undo revision 13009 by Knakveey (talk)
Line 1: Line 1:
<infobox>
{| class="infobox" style="font-size:89%; width:300px; background-color:#FFF;"
<title source="name"><default>{{PAGENAME}}</default></title>
|-
<image source="image"/>
! colspan="2" style="background-color:#3366CC; color:#FFFFFF; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
<data source="quote"><label>quote</label></data>
{{#if: {{{image|<noinclude>asdf</noinclude>}}}|
<data source="gender"><label>'''Gender'''</label></data>
{{!}}-
<data source="birthday"><label>'''Birthday'''</label></data>
{{!}} colspan="2" style="text-align:center;" {{!}} [[Image:{{{image|Placeholder_person.png}}}|{{{im_width|250px}}}]]<br/>'' ''
<data source="zodiac"><label>'''Zodiac sign'''</label></data>
|
<data source="bloodtype"><label>'''Bloodtype'''</label></data>
}}<!--
<data source="height"><label>'''Height'''</label></data>
-->{{#if: {{{quote|<noinclude>asdf</noinclude>}}} |&nbsp;
<data source="music"><label>'''Theme'''</label></data>
<data source="occupation"><label>'''Occupation'''</label></data>
<data source="other"><label>'''Notable features'''</label></data>
</infobox>
<noinclude>
== Usage & preview ==
Type in this:


<pre>
{{!}}-
{{Infobox character
{{!}} colspan="2" style="text-align: center;"{{!}} ''"{{{quote}}}"''|
|name=
}}<!--
|image=
-->{{#if: {{{gender|<noinclude>asdf</noinclude>}}}|&nbsp;
|quote=
{{!}}-
|gender=
{{!}} style="width:30%;" {{!}} '''Gender'''
|birthday=
{{!}} style="width:70%;" {{!}} {{#switch: {{{gender|}}}
|zodiac=
| m = Male [[Category:Male Characters]]
|bloodtype=
| f = Female [[Category:Female Characters]]
|height=
| #default = {{{gender}}}
|music=
}}}}<!--
|occupation=
-->{{#if: {{{birthday|<noinclude>asdf</noinclude>}}} |&nbsp;
|other=
}}


</pre>
{{!}}-
{{!}} style="width:30%;" {{!}}
'''Birthday'''
{{!}} style="width:70%;" {{!}}
{{{birthday|<noinclude>{{{birthday}}}</noinclude>}}}|}}<!--
-->{{#if: {{{zodiac|<noinclude>asdf</noinclude>}}}|&nbsp;


to see this:
{{!}}-
{{!}}
'''Zodiac sign'''
{{!}}
{{{zodiac|<noinclude>{{{zodiac}}}</noinclude>}}}|}}<!--
-->{{#if: {{{bloodtype|<noinclude>asdf</noinclude>}}}|&nbsp;


{{Infobox character
{{!}}-
|name=This is a test
{{!}}
|image=This is a test
'''Bloodtype'''
|im_width=This is a test
{{!}}
|quote=This is a test
{{{bloodtype|<noinclude>{{{bloodtype}}}</noinclude>}}}|}}<!--
|gender=This is a test
-->{{#if: {{{height|<noinclude>asdf</noinclude>}}}|&nbsp;
|birthday=This is a test
|zodiac=This is a test
|bloodtype=This is a test
|height=This is a test
|music=This is a test
|occupation=This is a test
|other=This is a test
}}


{{!}}-
{{!}}
'''Height'''
{{!}}
{{{height|<noinclude>{{{height}}}</noinclude>}}}|}}<!--
-->{{#if: {{{music|<noinclude>asdf</noinclude>}}}|&nbsp;


[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
{{!}}-
</noinclude>
{{!}}
'''Theme'''
{{!}}
{{{music|<noinclude>{{{music}}}</noinclude>}}}|}}<!--
-->{{#if: {{{occupation|<noinclude>asdf</noinclude>}}}|&nbsp;
 
{{!}}-
{{!}}
'''Occupation'''
{{!}}
{{{occupation|<noinclude>{{{occupation}}}</noinclude>}}}|}}<!--
-->{{#if: {{{other|<noinclude>asdf</noinclude>}}}|&nbsp;
 
{{!}}-
{{!}}
'''Notable features'''
{{!}}
{{{other|<noinclude>{{{other}}}</noinclude>}}}|}}
|}
<noinclude><br clear="all"/>{{documentation}}</noinclude>

Revision as of 23:08, 27 August 2015

Infobox character

 
"{{{quote}}}" 
Gender {{{gender}}} 

Birthday

{{{birthday}}} 

Zodiac sign

{{{zodiac}}} 

Bloodtype

{{{bloodtype}}} 

Height

{{{height}}} 

Theme

{{{music}}} 

Occupation

{{{occupation}}} 

Notable features

{{{other}}}


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:

Emi Ibarazaki

 
""Can you stand up for yourself?"" 
Gender Female 

Birthday

March 14th (age 19) 

Zodiac sign

Pisces 

Bloodtype

Height

151cm (4'11") 

Theme

"Standing Tall"  

Notable features

Pigtails