Template:Character: Difference between revisions

minor bug
No edit summary
(minor bug)
 
(10 intermediate revisions by 2 users not shown)
Line 1:
<onlyinclude><templatestyles src="Template:Infobox/styles.css" />{{Infobox
{| id="character" class="infobox" style="width:270px"
| autoheaders=y
! colspan="2" style="font-size:125%" | {{{name|{{PAGENAME}}}}}
| bodystyle = width:270px; border: 2px solid #DFCDDD;
|-
| abovestyle = background-color: #2B1D42; color: #DFCDDD; padding: 8px; font-size: 150%;
| colspan="2" style="text-align:center" | {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size=270|sizedefault=frameless|upright=1.1|alt={{{alt|}}}|suppressplaceholder=yes}}
| imagestyle = padding-top: 9px;
|-
| captionstyle = padding: 5px 10px;
| colspan = "2" style = "text-align: center" | {{#if:{{{caption|}}}|{{{caption}}}}}
| subheaderstyle = font-size: 110%; padding: 5px;
|-
| headerstyle = background-color: #2B1D42; font-weight: bold; #DFCDDD: white; font-size: 110%; padding: 4px;
| colspan = "2" class="ib-line" |
| bodyclass = infobox
|-
 
! colspan = "2" | Character
| above = {{ #if: {{{name|}}} | {{{name|{{PAGENAME}}|#if:{{{fan|true}}} [[category:Fan names]]}}} | {{PAGENAME}}}}
|-
|subheader = {{Character/SeriesCategorization|series={{{series|}}}}}
{{#if:{{{species|}}}|
 
{{!}} '''Species'''
| image = {{#invoke:InfoboxImageDRAFT|InfoboxImageDRAFT|image={{trim brackets|{{{image|}}}}}|alt={{{image_alt|}}}|size={{{image_size|270px}}}|upright={{{upright|1.45}}}|sizedefault=frameless|maxsize=270px}}
{{!}} {{{species}}}
| caption = {{{caption|}}}
 
| header1 = Biographical information
| label2 = {{tooltip|aka|Also known as}}
| data2 = {{{aka|}}}
| rowclass2 = bordered
| label3 = Species
| data3 = {{Character/SpeciesCategorization|species={{{species|}}}}} {{#if:{{{kind|}}}|{{*}}{{Character/kindCategorization|kind={{{kind|}}}}}}}
| rowclass3 = bordered
| label4 = [[Gender in My Little Pony|Gender]]
| data4 = {{Character/GenderCategorization|gender={{{gender|}}}}}
| rowclass4 = bordered
| label5 = Age
| data5 = {{Character/AgeCategorization|age={{{age|}}}}} {{#if:{{{age_2|}}}|{{CN|{{{age_2}}}}}}}
| rowclass5 = bordered
 
| label7 = Occupation
| data7 = {{{occupation|}}}
| rowclass7 = bordered
| label8 = Nationality
| data8 = {{{nationality|}}}
| rowclass8 = bordered
| label9 = Education
| data9 = {{{education|}}}
| rowclass9 = bordered
| label10 = Residence
| data10 = {{{residence|}}}
| rowclass10 = bordered
| label11 = Home
| data11 = {{{home|}}}
| rowclass11 = bordered
| header12 = Relationships
| label13 = Family
| data13 = {{{family|}}}
|rowclass13 = bordered
| label14 = Relatives
| data14 = {{{relatives|}}}
|rowclass14 = bordered
| label15 = Partner(s)
| data15 = {{{partner|}}}
|rowclass15 = bordered
| label16 = Affiliation
| data16 = {{{affiliation|}}}
|rowclass16 = bordered
| header17 = Real world
| label18 = Designer
| data18 = {{{designer|}}}
|rowclass18 = bordered
| label19 = Voice
| data19 = {{{voice_artist|}}}
|rowclass19 = bordered
| label20 = Live
| data20 = {{{live_actor|}}}
|rowclass20 = bordered
| label21 = Singer
| data21 = {{{singer|}}}
|rowclass21 = bordered
 
|data22 = {{#if:{{{first|}}}{{{last|}}}|
{{(!}} style="width: 100%; display: inline-table; border-collapse: collapse"
{{!}} style="width: 33%; padding: 0.3em; text-align: center; border-right: 0px solid #326275; border-bottom: 0px solid #326275;" {{!}} '''First'''<br />{{#if: {{{first|}}} | {{{first}}} | &mdash;}}
{{!}} style="width: 33%; padding: 0.3em; text-align: center; border-right: 0px solid #326275; border-bottom: 0px solid #326275;" {{!}} '''Last'''<br />{{#if: {{{last|}}} | {{{last}}} | &mdash;}}
{{!)}}
}}
}}</onlyinclude><includeonly>[[Category:Using character infobox]]{{#if:{{{Y|}}}|[[Category:{{{Y}}} character debuts‎]]}}</includeonly><noinclude><br style="clear:both;" />{{documentation}}</noinclude>
|-
{{#if:{{{kind|}}}|
{{!}} '''Kind'''
{{!}} {{{kind}}}
}}
|-
{{#if:{{{gender|}}}|
{{!}} '''Gender'''
{{!}} {{{gender}}}
}}
|-
{{#if:{{{occupation|}}}{{{aliases|}}}{{{nationality|}}}{{{residence|}}}{{{address|}}}{{{employment|}}}|{{!}}-
! colspan="2" {{!}}Personal details}}
{{!}}-
{{#if:{{{occupation|}}}|
{{!}} '''Occupation'''
{{!}} {{{occupation}}}
}}
|-
{{#if:{{{employment|}}}|
{{!}} '''Employment'''
{{!}} {{{employment}}}
}}
|-
{{#if:{{{affiliation|}}}|
{{!}} '''Affiliation'''
{{!}} {{{affiliation}}}
}}
|-
{{#if:{{{education|}}}|
{{!}} '''Education'''
{{!}} {{{education}}}
}}
|-
{{#if:{{{aliases|}}}|
{{!}} '''Aliases'''
{{!}} {{{aliases}}}
}}
|-
{{#if:{{{nationality|}}}|
{{!}} '''Nationality'''
{{!}} {{{nationality}}}
}}
|-
{{#if:{{{residence|}}}|
{{!}} '''Residence'''
{{!}} {{{residence}}}
}}
|-
{{#if:{{{address|}}}|
{{!}} '''Address'''
{{!}} {{{address}}}
}}
|-
{{#if:{{{family|}}}{{{relatives|}}}{{{pets|}}}|{{!}}-
! colspan="2" {{!}}Relationships}}
|-
{{#if:{{{family|}}}|
{{!}} '''Family'''
{{!}} {{{family}}}
}}
|-
{{#if:{{{relatives|}}}|
{{!}} '''Relatives'''
{{!}} {{{relatives}}}
}}
|-
{{#if:{{{pets|}}}|
{{!}} '''Pets'''
{{!}} {{{pets}}}
}}
|-
{{#if:{{{voice_artist|}}}{{{live_actor|}}}{{{singer|}}}{{{creator|}}}|{{!}}-
! colspan="2" {{!}}Real world}}
|-
{{#if:{{{voice_artist|}}}|
{{!}} '''Voice actor'''
{{!}} {{{voice_artist}}}
}}
|-
{{#if:{{{live_actor|}}}|
{{!}} '''Live actor'''
{{!}} {{{live_actor}}}
}}
|-
{{#if:{{{singer|}}}|
{{!}} '''Singer'''
{{!}} {{{singer}}}
}}
|-
{{#if:{{{creator|}}}|
{{!}} '''Creator'''
{{!}} {{{creator}}}
}}
|-
{{#if:{{{first|}}}{{{last|}}}|{{!}}-
! colspan="2" {{!}}Appearances}}
|-
{{#if:{{{first|}}}|
{{!}} '''First'''
{{!}} {{{first}}}
}}
|-
{{#if:{{{last|}}}|
{{!}} '''Last'''
{{!}} {{{last}}}
}}
|}<templatestyles src="Character infobox/styles.css"/><includeonly>[[Category:Characters]]
{{#switch:{{{series}}}|MLP=[[Category:My Little Pony characters]]|TALES=[[Category:Tales characters]]|G3=[[Category:Generation 3 characters]]|FIM=[[Category:Friendship is Magic characters]]|EQG=[[Category:Equestria Girls characters]]|PL=[[Category:Pony Life characters]]}}{{#switch:{{{gender}}}|[[Sexes|Male]]=[[Category:Males]]|[[Sexes|Female]]=[[Category:Females]]}}{{#if:{{{Y|}}}|[[Category:{{{Y}}} character debuts‎]]}}</includeonly><noinclude>{{doc}}[[Category:Infoboxes]]</noinclude>