The forum pages are fully operational! See this link for the latest forum topics, where users can collaborate or discuss certain topics in one place!

Difference between revisions of "Template:Character infobox"

From Arthur Wiki
Jump to navigationJump to search
m
(Undo revision 410112 by 2601:14B:427E:4070:E992:7C8:6AEC:87FB (talk))
Tag: Undo
 
(133 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{| class="infobox bordered" cellpadding="2" cellspacing="2" style="font-size: 90%; width:250px; border-radius:7px 7px 4px 4px;"
{| class="infobox" style="width:300px;float:right;border:3px solid #7e5d32;background-color:wheat;padding:2px;margin-left:4px;border-radius:10px"
! colspan="2" style="text-align:center; border:1px solid #B22222; background:#BC1B1B; color:#ffffff; border-radius:5px 5px 0 0"| <span style="font-size: 135%;">{{{character name|{{PAGENAME}}}}}</span>
|-
|-
| colspan="2" style="text-align:center; font-size: 90%" | <center>{{#if:{{{image|}}}|[[File:{{{image}}}|{{{imagesize|250px}}}]]|Have an image of this character?<br />Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}</center>
! colspan="2" style="background-color:#bc9055;border-radius:5px; font-size:110%" | {{{name|{{PAGENAME}}}}}{{#ifeq: {{{name}}} | | {{PAGENAME}} |}}
|-
|-
{{#if:{{{age|}}} |
| colspan="2" | <center>{{#if:{{{image|}}}|[[File:{{{image|}}}|{{{imagesize|250px}}}]]}}{{#if:{{{caption|}}}|<br />{{{caption|}}}}}{{#if:{{{image2|}}}|{{{image2|}}}}}</center>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; background-color: white; border-top-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-topleft: 10px; -webkit-border-top-left-radius: 10px; -khtml-border-top-left-radius: 10px; -icab-border-top-left-radius: 10px; -o-border-top-left-radius: 10px; "{{!}}'''Age'''
{{!}}style="border-bottom: #999 1px solid; border-left: #999 1px solid; text-align: center; border-top: #999 1px solid; border-right: #999 1px solid; background-color: white; border-top-right-radius: 10px; -moz-border-radius-topright: 10px; -webkit-border-top-right-radius: 10px; -khtml-border-top-right-radius: 10px; -icab-border-top-right-radius: 10px; -o-border-top-left-radius: 10px;"{{!}}{{{age}}}
{{!}}-
}}
|-
|-
{{#if:{{{gender|}}} |
{{#if:{{{age|}}}|
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; background-color: white; border-top-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-topleft: 10px; -webkit-border-top-left-radius: 10px; -khtml-border-top-left-radius: 10px; -icab-border-top-left-radius: 10px; -o-border-top-left-radius: 10px; "{{!}}'''Gender'''
{{!}} '''Age'''
{{!}}style="border-bottom: #999 1px solid; border-left: #999 1px solid; text-align: center; border-top: #999 1px solid; border-right: #999 1px solid; background-color: white; "{{!}}{{{gender}}}
{{!}} {{{age|}}}
}}<nowiki/>
{{#if:{{{grade|}}}|
{{!}}-
{{!}}-
}}
{{!}} '''Grade'''
|-
{{!}} {{{grade|}}}
{{#if:{{{animal|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; background-color: white; border-top-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-topleft: 10px; -webkit-border-top-left-radius: 10px; -khtml-border-top-left-radius: 10px; -icab-border-top-left-radius: 10px; -o-border-top-left-radius: 10px; "{{!}}'''Animal'''
{{#if:{{{gender|}}}|
{{!}}style="border-bottom: #999 1px solid; border-left: #999 1px solid; text-align: center; border-top: #999 1px solid; border-right: #999 1px solid; background-color: white; "{{!}}{{{animal}}}
{{!}}-
{{!}}-
}}
{{!}} '''Gender'''
|-
{{!}} {{{gender|}}}
{{#if:{{{birthday|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; background-color: white; border-top-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-topleft: 10px; -webkit-border-top-left-radius: 10px; -khtml-border-top-left-radius: 10px; -icab-border-top-left-radius: 10px; -o-border-top-left-radius: 10px; "{{!}}'''Birthday'''
{{#if:{{{animal|}}}|
{{!}}style="border-bottom: #999 1px solid; border-left: #999 1px solid; text-align: center; border-top: #999 1px solid; border-right: #999 1px solid; background-color: white; "{{!}}{{{birthday}}}
{{!}}-
{{!}}-
}}
{{!}} '''Animal'''
|-
{{!}} {{{animal|}}}
{{#if:{{{eye|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; background-color: white; border-bottom-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-bottomleft: 10px; -webkit-border-bottom-left-radius: 10px; -khtml-border-bottom-left-radius: 10px; -icab-border-bottom-left-radius: 10px; -o-border-bottom-left-radius: 10px; "{{!}}'''Eye Color'''
{{#if:{{{birthday|}}}|
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; background-color: white; border-bottom-right-radius: 10px; border-right: #999 1px solid; -moz-border-radius-bottomright: 10px; -webkit-border-bottom-right-radius: 10px; -khtml-border-bottom-right-radius: 10px; -icab-border-bottom-right-radius: 10px; -o-border-bottom-right-radius: 10px; "{{!}}{{{eye}}}
{{!}}-
{{!}}-
}}
{{!}} '''Birthday'''
|-
{{!}} {{{birthday|}}}
{{#if:{{{hair|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; background-color: white; border-bottom-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-bottomleft: 10px; -webkit-border-bottom-left-radius: 10px; -khtml-border-bottom-left-radius: 10px; -icab-border-bottom-left-radius: 10px; -o-border-bottom-left-radius: 10px; "{{!}}'''Hair Color'''
{{#if:{{{eye|}}}|
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; background-color: white; border-right: #999 1px solid; border-bottom-right-radius: 10px; -moz-border-radius-bottomright: 10px; -webkit-border-bottom-right-radius: 10px; -khtml-border-bottom-right-radius: 10px; -icab-border-bottom-right-radius: 10px; -o-border-bottom-left-radius: 10px; "{{!}}{{{hair}}}
{{!}}-
{{!}}-
}}
{{!}} '''Eye color'''
|-
{{!}} {{{eye|}}}
{{#if:{{{favorite color|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; background-color: white; border-top-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-topleft: 10px; -webkit-border-top-left-radius: 10px; -khtml-border-top-left-radius: 10px; -icab-border-top-left-radius: 10px; -o-border-top-left-radius: 10px; "{{!}}'''Favorite Color'''
{{#if:{{{hair|}}}|
{{!}}style="border-bottom: #999 1px solid; border-left: #999 1px solid; text-align: center; border-top: #999 1px solid; border-right: #999 1px solid; background-color: white; "{{!}}{{{favorite color}}}
{{!}}-
{{!}}-
}}
{{!}} '''Hair color'''
|-
{{!}} {{{hair|}}}
{{#if:{{{residence|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; background-color: white; border-top-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-topleft: 10px; -webkit-border-top-left-radius: 10px; -khtml-border-top-left-radius: 10px; -icab-border-top-left-radius: 10px; -o-border-top-left-radius: 10px; "{{!}}'''Residence'''
{{#if:{{{complexion|}}}|
{{!}}style="border-bottom: #999 1px solid; border-left: #999 1px solid; text-align: center; border-top: #999 1px solid; border-right: #999 1px solid; background-color: white; border-top-right-radius: 10px; -moz-border-radius-topright: 10px; -webkit-border-top-right-radius: 10px; -khtml-border-top-right-radius: 10px; -icab-border-top-right-radius: 10px; -o-border-top-right-radius: 10px;"{{!}}{{{residence}}}
{{!}}-
{{!}}-
}}
{{!}} '''Complexion'''
|-
{{!}} {{{complexion|}}}
{{#if:{{{family|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; background-color: white; border-top-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-topleft: 10px; -webkit-border-top-left-radius: 10px; -khtml-border-top-left-radius: 10px; -icab-border-top-left-radius: 10px; -o-border-top-left-radius: 10px; "{{!}}'''Relatives'''
{{#if:{{{favorite color|}}}|
{{!}}style="border-bottom: #999 1px solid; border-left: #999 1px solid; text-align: center; border-top: #999 1px solid; border-right: #999 1px solid; background-color: white; "{{!}}{{{family}}}
{{!}}-
{{!}}-
}}
{{!}} '''Favorite color'''
|-
{{!}} {{{favorite color|}}}
{{#if:{{{job|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; background-color: white; border-top-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-topleft: 10px; -webkit-border-top-left-radius: 10px; -khtml-border-top-left-radius: 10px; -icab-border-top-left-radius: 10px; -o-border-top-left-radius: 10px; "{{!}}'''Occupation'''
{{#if:{{{residence|}}}|
{{!}}style="border-bottom: #999 1px solid; border-left: #999 1px solid; text-align: center; border-top: #999 1px solid; border-right: #999 1px solid; background-color: white; "{{!}}{{{job}}}
{{!}}-
{{!}}-
}}
{{!}} '''Residence'''
|-
{{!}} {{{residence|}}}
! colspan="2" style="text-align: left; background: #FF7272; color: #000000; font-weight: normal; border-radius:4px 4px 4px 4px"|<center>'''Chronological information'''</center>
}}<nowiki/>
|-
{{#if:{{{family|}}}|
{{#if:{{{websiteonly|}}} |
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-top-left-radius: 10px; border-right: #999 1px solid; border-radius: 10px 0 0 10px; background-color: #DDD; "{{!}}<span style="font-size: 95%;">'''Website'''</span>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-top-left-radius: 10px; border-right: #999 1px solid; border-radius: 0 10px 10px 0; "{{!}}<span style="font-size: 95%;">[{{{websiteonly}}} link]</span>
{{!}}-
{{!}}-
}}
{{!}} '''Family'''
|-! colspan="2" {{!}}{{#if:{{{book first appeared|}}}|<center><u>'''Books'''</u></center>}}|-
{{!}} {{{family|}}}
{{#if:{{{book first appeared|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-top-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-topleft: 10px; -webkit-border-top-left-radius: 10px; -khtml-border-top-left-radius: 10px; -icab-border-top-left-radius: 10px; -o-border-top-left-radius: 10px; background-color: #DDD; "{{!}}<span style="font-size: 95%;">'''First Appearance'''</span>
{{#if:{{{job|}}}|
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-top-right-radius: 10px; border-right: #999 1px solid; -moz-border-radius-topright: 10px; -webkit-border-top-right-radius: 10px; -khtml-border-top-right-radius: 10px; -icab-border-top-right-radius: 10px; -o-border-top-right-radius: 10px;"{{!}}<span style="font-size: 95%;">''{{{book first appeared}}}''</span>
{{!}}-
{{!}}-
}}
{{!}} '''Job'''
|-
{{!}} {{{job|}}}
{{#if:{{{book last appeared|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-bottom-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-bottomleft: 10px; -webkit-border-bottom-left-radius: 10px; -khtml-border-bottom-left-radius: 10px; -icab-border-bottom-left-radius: 10px; -o-border-bottom-left-radius: 10px; background-color: #DDD; "{{!}}<span style="font-size: 95%;">'''Latest Appearance'''</span>
{{#if:{{{book_debut|}}}|
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-bottom-right-radius: 10px; border-right: #999 1px solid; -moz-border-radius-bottomright: 10px; -webkit-border-bottom-right-radius: 10px; -khtml-border-bottom-right-radius: 10px; -icab-border-bottom-right-radius: 10px; -o-border-bottom-right-radius: 10px;"{{!}}<span style="font-size: 95%;">''{{{book last appeared}}}''</span>
{{!}}-
{{!}}-
}}
{{!}} '''Book debut'''
|-! colspan="2" {{!}}{{#if:{{{cartoon first appeared|}}}|<center><u>'''Cartoon'''</u></center>}}|-
{{!}} {{{book_debut|}}}
{{#if:{{{cartoon first appeared|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-top-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-topleft: 10px; -webkit-border-top-left-radius: 10px; -khtml-border-top-left-radius: 10px; -icab-border-top-left-radius: 10px; -o-border-top-left-radius: 10px; "{{!}}<span style="font-size: 95%;">'''First Appearance'''</span>
{{#if:{{{cartoon_debut|}}}|
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-top-right-radius: 10px; border-right: #999 1px solid; -moz-border-radius-topright: 10px; -webkit-border-top-right-radius: 10px; -khtml-border-top-right-radius: 10px; -icab-border-top-right-radius: 10px; -o-border-top-right-radius: 10px; background-color: #DDD;"{{!}}<span style="font-size: 95%;">''{{{cartoon first appeared}}}''</span>
{{!}}-
{{!}}-
}}
{{!}} '''Cartoon debut'''
|-
{{!}} {{{cartoon_debut|}}}
{{#if:{{{cartoon last appeared|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-bottom-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-bottomleft: 10px; -webkit-border-bottom-left-radius: 10px; -khtml-border-bottom-left-radius: 10px; -icab-border-bottom-left-radius: 10px; -o-border-bottom-left-radius: 10px; "{{!}}<span style="font-size: 95%;">'''Latest Appearance'''</span>
{{#if:{{{voice_actor|}}}|
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-bottom-right-radius: 10px; border-right: #999 1px solid; -moz-border-radius-bottomright: 10px; -webkit-border-bottom-right-radius: 10px; -khtml-border-bottom-right-radius: 10px; -icab-border-bottom-right-radius: 10px; -o-border-bottom-right-radius: 10px; background-color: #DDD;"{{!}}<span style="font-size: 95%;">''{{{cartoon last appeared}}}''</span>
{{!}}-
{{!}}-
}}
{{!}} '''Voiced by'''
|-
{{!}} {{{voice_actor|}}}
{{#if:{{{portrayer|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-bottom-left-radius: 10px; border-right: #999 1px solid; -moz-border-radius-bottomleft: 10px; -webkit-border-bottom-left-radius: 10px; -khtml-border-bottom-left-radius: 10px; -icab-border-bottom-left-radius: 10px; -o-border-bottom-left-radius: 10px; "{{!}}<span style="font-size: 95%;">'''Voice Actor'''</span>
|}{{#if:{{{birthday|}}}|<includeonly>[[Category:Characters with known birthdays]]</includeonly>|}}{{#if:{{{voice_actor|}}}|<includeonly>[[Category:Pages with voice actors]]</includeonly>|}}<noinclude>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-bottom-right-radius: 10px; border-right: #999 1px solid; -moz-border-radius-bottomright: 10px; -webkit-border-bottom-right-radius: 10px; -khtml-border-bottom-right-radius: 10px; -icab-border-bottom-right-radius: 10px; -o-border-bottom-right-radius: 10px; background-color: #DDD;"{{!}}<span style="font-size: 95%;">{{{portrayer}}}</span>
{{!}}-
}}
|}<includeonly>[[Category:Characters]]</includeonly><noinclude>{{clear}}
==Usage==
<pre>
<pre>
{{character infobox
{{character infobox
|character name        =
|width                =
|image                =
|image                =
|imagesize            =
|imagesize            =
|image2                =
|age                  =
|grade                =
|gender                =
|gender                =
|animal                =
|animal                =
|age                  =
|birthday              =
|portrayer            =
|eye                  =
|eye                  =
|hair                  =
|complexion            =
|favorite color        =
|residence            =
|family                =
|family                =
|cartoon first appeared=
|job                  =
|book first appeared  =
|cartoon_debut        =
|favorite color        =
|book_debut            =
|websiteonly           =
|voice_actor           =
}}
}}
</pre>
</pre>
[[Category:Infoboxes]]
[[Category:Templates]][[Category:Infoboxes]]
</noinclude>
</noinclude>

Latest revision as of 01:43, 19 August 2022

Character infobox
{{character infobox
|width                 =
|image                 =
|imagesize             =
|image2                =
|age                   =
|grade                 =
|gender                =
|animal                =
|birthday              =
|eye                   =
|hair                  =
|complexion            =
|favorite color        =
|residence             =
|family                =
|job                   =
|cartoon_debut         =
|book_debut            =
|voice_actor           =
}}