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
 
(116 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; background-color: #DDD;"{{!}}'''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; "{{!}}{{{age|no}}}
{{!}}-
}}
|-
|-
{{#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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{age|no}}} | no | border-top-left-radius: 10px | }}{{#ifeq: {{{animal|no}}} | no | border-bottom-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; {{#ifeq: {{{age|no}}} | no | border-top-right-radius: 10px | }}{{#ifeq: {{{animal|no}}} | no | border-bottom-right-radius: 10px | }}"{{!}}{{{gender|no}}}
{{!}} {{{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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{gender|no}}} | no | border-top-left-radius: 10px | }}{{#ifeq: {{{birthday|no}}} | no | border-bottom-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; {{#ifeq: {{{gender|no}}} | no | border-top-right-radius: 10px | }}{{#ifeq: {{{birthday|no}}} | no | border-bottom-right-radius: 10px | }}"{{!}}{{{animal|no}}}
{{!}}-
{{!}}-
}}
{{!}} '''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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{animal|no}}} | no | border-top-left-radius: 10px; | }} border-bottom-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; {{#ifeq: {{{animal|no}}} | no | border-top-right-radius: 10px; | }} border-bottom-right-radius: 10px;"{{!}}{{{birthday|no}}}
{{!}}-
}}
|-
{{#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-top-left-radius: 10px; border-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{hair|no}}} | no | border-bottom-left-radius: 10px | }}"{{!}}'''Eye 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; border-top-right-radius: 10px; {{#ifeq: {{{hair|no}}} | no | border-bottom-right-radius: 10px | }}"{{!}}{{{eye|no}}}
{{!}}-
{{!}}-
}}
{{!}} '''Animal'''
|-
{{!}} {{{animal|}}}
{{#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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{eye|no}}} | no | border-top-left-radius: 10px | }}{{#ifeq: {{{favorite color|no}}} | no | border-bottom-left-radius: 10px | }}"{{!}}'''Hair color'''
{{#if:{{{birthday|}}}|
{{!}}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; {{#ifeq: {{{eye|no}}} | no | border-top-right-radius: 10px | }}{{#ifeq: {{{favorite color|no}}} | no | border-bottom-right-radius: 10px | }}"{{!}}{{{hair|no}}}
{{!}}-
{{!}}-
}}
{{!}} '''Birthday'''
|-
{{!}} {{{birthday|}}}
{{#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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{hair|no}}} | no | border-top-left-radius: 10px; | }} border-bottom-left-radius: 10px;"{{!}}'''Favorite color'''
{{#if:{{{eye|}}}|
{{!}}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; {{#ifeq: {{{hair|no}}} | no | border-top-right-radius: 10px; | }} border-bottom-right-radius: 10px;"{{!}}{{{favorite color|no}}}
{{!}}-
{{!}}-
}}
{{!}} '''Eye color'''
|-
{{!}} {{{eye|}}}
 
}}<nowiki/>
{{#if:{{{residence|}}} |
{{#if:{{{hair|}}}|
{{!}}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; background-color: #DDD; border-right: #999 1px solid; {{#ifeq: {{{family|no}}} | no | border-bottom-left-radius: 10px | }}"{{!}}'''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; border-top-right-radius: 10px; {{#ifeq: {{{family|no}}} | no | border-bottom-right-radius: 10px | }}"{{!}}{{{residence|no}}}
{{!}}-
{{!}}-
}}
{{!}} '''Hair color'''
|-
{{!}} {{{hair|}}}
{{#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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{residence|no}}} | no | border-top-left-radius: 10px | }}{{#ifeq: {{{job|no}}} | no | border-bottom-left-radius: 10px | }}"{{!}}'''Relatives'''
{{#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; {{#ifeq: {{{residence|no}}} | no | border-top-right-radius: 10px | }}{{#ifeq: {{{job|no}}} | no | border-bottom-right-radius: 10px | }}"{{!}}{{{family|no}}}
{{!}}-
{{!}}-
}}
{{!}} '''Complexion'''
|-
{{!}} {{{complexion|}}}
{{#if:{{{job|}}} |
}}<nowiki/>
{{!}}style="border-bottom: #999 1px solid; background-color: #DDD; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid;  background-color: #DDD; border-right: #999 1px solid; {{#ifeq: {{{family|no}}} | no | border-top-left-radius: 10px; | }} border-bottom-left-radius: 10px;"{{!}}'''Occupation'''
{{#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; {{#ifeq: {{{family|no}}} | no | border-top-right-radius: 10px; | }} border-bottom-right-radius: 10px"{{!}}{{{job|no}}}
{{!}}-
{{!}}-
}}
{{!}} '''Favorite color'''
|-
{{!}} {{{favorite color|}}}
! 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:{{{residence|}}}|
{{#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; background-color: white; border-right: #999 1px solid; border-radius: 0 10px 10px 0; "{{!}}<span style="font-size: 95%;">[{{{websiteonly}}} link]</span>
{{!}}-
{{!}}-
}}
{{!}} '''Residence'''
|-
{{!}} {{{residence|}}}
{{#if:{{{book first appeared|}}}|
}}<nowiki/>
! colspan="2" {{!}}<center><u>'''Books'''</u></center>
{{#if:{{{family|}}}|
}}
|-
{{#if:{{{book first appeared|}}} |
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-right: #999 1px solid; background-color: #DDD; border-top-left-radius: 10px; {{#ifeq: {{{book last appeared|no}}} | no | border-bottom-left-radius: 10px | }}"{{!}}<span style="font-size: 95%;">'''First Appearance'''</span>
{{!}}style="border-bottom: #999 1px solid; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-right: #999 1px solid; border-top-right-radius: 10px; background-color: white; {{#ifeq: {{{book last appeared|no}}} | no | border-bottom-right-radius: 10px | }}"{{!}}<span style="font-size: 95%;">''{{{book first appeared|no}}}''</span>
{{!}}-
{{!}}-
}}
{{!}} '''Family'''
|-
{{!}} {{{family|}}}
{{#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; background-color: #DDD; "{{!}}<span style="font-size: 95%;">'''Latest Appearance'''</span>
{{#if:{{{job|}}}|
{{!}}style="border-bottom: #999 1px solid; background-color: white; text-align: center; border-left: #999 1px solid; border-top: #999 1px solid; border-bottom-right-radius: 10px; border-right: #999 1px solid; background-color: white; "{{!}}<span style="font-size: 95%;">''{{{book last appeared|no}}}''</span>
{{!}}-
{{!}}-
}}
{{!}} '''Job'''
|-
{{!}} {{{job|}}}
{{#if:{{{cartoon first appeared|}}}|
}}<nowiki/>
! colspan="2" {{!}}<center><u>'''Cartoon'''</u></center>
{{#if:{{{book_debut|}}}|
}}
|-
{{#if:{{{cartoon first appeared|}}} |
{{!}}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; background-color: #DDD; {{#ifeq: {{{cartoon last appeared|no}}} | no | border-bottom-left-radius: 10px | }}"{{!}}<span style="font-size: 95%;">'''First Appearance'''</span>
{{!}}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; background-color: white; {{#ifeq: {{{cartoon last appeared|no}}} | no | border-bottom-right-radius: 10px | }}"{{!}}<span style="font-size: 95%;">{{{cartoon first appeared}}}</span>
{{!}}-
{{!}}-
}}
{{!}} '''Book debut'''
|-
{{!}} {{{book_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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{portrayer|no}}} | no | border-bottom-left-radius: 10px | }}"{{!}}<span style="font-size: 95%;">'''Latest 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-right: #999 1px solid; background-color: white; {{#ifeq: {{{portrayer|no}}} | no | border-bottom-right-radius: 10px | }}"{{!}}<span style="font-size: 95%;">{{{cartoon last appeared}}}</span>
{{!}}-
{{!}}-
}}
{{!}} '''Cartoon debut'''
|-
{{!}} {{{cartoon_debut|}}}
{{#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; background-color: #DDD; "{{!}}<span style="font-size: 95%;">'''Voice Actor'''</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; background-color: white; border-right: #999 1px solid;"{{!}}<span style="font-size: 95%;">{{{portrayer}}}</span>
{{!}}-
{{!}}-
}}
{{!}} '''Voiced by'''
|}<includeonly>[[Category:Characters]]</includeonly><noinclude>{{clear}}
{{!}} {{{voice_actor|}}}
==Usage==
}}<nowiki/>
|}{{#if:{{{birthday|}}}|<includeonly>[[Category:Characters with known birthdays]]</includeonly>|}}{{#if:{{{voice_actor|}}}|<includeonly>[[Category:Pages with voice actors]]</includeonly>|}}<noinclude>
<pre>
<pre>
{{character infobox
{{character infobox
|character name        =
|width                =
|image                =
|image                =
|imagesize            =
|imagesize            =
|image2                =
|age                  =
|age                  =
|grade                =
|gender                =
|gender                =
|animal                =
|animal                =
Line 123: Line 93:
|eye                  =
|eye                  =
|hair                  =
|hair                  =
|complexion            =
|favorite color        =
|favorite color        =
|residence            =
|residence            =
|family                =
|family                =
|job                  =
|job                  =
|websiteonly          =
|cartoon_debut        =
|cartoon first appeared=
|book_debut            =
|cartoon last appeared =
|voice_actor          =
|book first appeared  =
|book last appeared    =
|portrayer            =
}}
}}
</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           =
}}