Template:Character-infobox: Difference between revisions

imported>Galrion
First version of template, heavily based on Template:Infobox. Testing time.
 
imported>Galrion
m Forgot to escape pipes on Birthday. Also trying to remove some extra spacing between lines
Line 11: Line 11:
{{!}} style="width:30%;" {{!}}
{{!}} style="width:30%;" {{!}}
'''Birthday'''
'''Birthday'''
| style="width:70%;" |
{{!}} style="width:70%;" {{!}}
{{{birthday|{{{1|}}}}}}
{{{birthday|{{{1|}}}}}}|}}
|
}}
{{#if: {{{zodiac|{{{2|}}}}}}|
{{#if: {{{zodiac|{{{2|}}}}}}|
{{!}}-
{{!}}-
Line 20: Line 18:
'''Zodiac sign'''
'''Zodiac sign'''
{{!}}
{{!}}
{{{zodiac|{{{2|}}}}}}
{{{zodiac|{{{2|}}}}}}|}}
|
}}
{{#if: {{{bloodtype|{{{3|}}}}}}|
{{#if: {{{bloodtype|{{{3|}}}}}}|
{{!}}-
{{!}}-
Line 28: Line 24:
'''Bloodtype'''
'''Bloodtype'''
{{!}}
{{!}}
{{{bloodtype|{{{3|}}}}}}
{{{bloodtype|{{{3|}}}}}}|}}
|
}}
{{#if: {{{height|{{{4|}}}}}}|
{{#if: {{{height|{{{4|}}}}}}|
{{!}}-
{{!}}-
Line 36: Line 30:
'''Height'''
'''Height'''
{{!}}
{{!}}
{{{height|{{{4|}}}}}}
{{{height|{{{4|}}}}}}|}}
|
}}
{{#if: {{{music|{{{5|}}}}}}|
{{#if: {{{music|{{{5|}}}}}}|
{{!}}-
{{!}}-
Line 44: Line 36:
'''Theme'''
'''Theme'''
{{!}}
{{!}}
{{{music|{{{5|}}}}}}
{{{music|{{{5|}}}}}}|}}
|
}}
{{#if: {{{other|{{{6|}}}}}}|
{{#if: {{{other|{{{6|}}}}}}|
{{!}}-
{{!}}-
Line 52: Line 42:
'''Notable features'''
'''Notable features'''
{{!}}
{{!}}
{{{other|{{{6|}}}}}}
{{{other|{{{6|}}}}}}|}}
|
}}
|}</includeonly>
|}</includeonly>