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
(No "Lined" hair.)
Tag: sourceedit
Line 1: Line 1:
{| class="infobox bordered" cellpadding="2" cellspacing="2" style="font-size: 90%; width:{{{width|250px}}}; border-radius:25px 25px 17px 17px; border: 2px solid #C0C0C0"
{| class="infobox" style="font-size:90%; width:{{{width|250px}}};"
! colspan="2" style="text-align:center; background:#BC1B1B; color:#ffffff; border-radius:20px 20px {{#if:{{{image|}}}|0|20px}} {{#if:{{{image|}}}|0|20px}}"| <span style="font-size: 135%;">{{{character name|{{PAGENAME}}}}}{{#ifeq: {{{character name}}} | | {{PAGENAME}} |}}</span><!--[[w:c:arthur:User:Magnezonomon]]-->
|-
|-
{{!}}colspan="2" style="text-align: center; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;"{{!}}<center>{{#if:{{{image|}}}|[[File:{{{image}}}|{{{imagesize|250px}}}]]}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}</center>{{#if:{{{image2|}}}|{{{image2}}}}}
! colspan="2" class="color1" | {{{character name|{{PAGENAME}}}}}{{#ifeq: {{{character name}}} | | {{PAGENAME}} |}}
|-
|-
{{#if:{{{age|}}} |
| colspan="2" | <center>{{#if:{{{image|}}}|[[File:{{{image|}}}|{{{imagesize|250px}}}]]}}{{#if:{{{caption|}}}|<br />{{{caption|}}}}}</center>{{#if:{{{image2|}}}|{{{image2|}}}}}
{{!}}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: {{{grade|}}}{{{gender|}}}{{{animal|}}}{{{birthday|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Age'''</span>
{{!}}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: {{{grade|}}}{{{gender|}}}{{animal|}}}{{{birthday|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{age|}}}
{{!}}-
}}
|-
|-
{{#if:{{{grade|}}} |
{{#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|}}}| | border-top-left-radius: 10px; | }}{{#ifeq:{{{gender|}}}{{{animal|}}}{{{birthday|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Grade'''</span>
{{!}}'''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|}}} | | border-top-right-radius: 10px; | }}{{#ifeq:{{{gender|}}}{{{animal|}}}{{{birthday|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{grade|}}}
{{!}}{{{age|}}}
{{!}}-
}}
}}
|-
|-
|-
{{#if:{{{grade|}}}|
{{#if:{{{gender|}}} |
{{!}}'''Grade'''
{{!}}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|}}}{{{grade|}}}| | border-top-left-radius: 10px; | }}{{#ifeq: {{{animal|}}}{{{birthday|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Gender'''</span>
{{!}}{{{grade|}}}
{{!}}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|}}}{{{grade|}}} | | border-top-right-radius: 10px; | }}{{#ifeq: {{{animal|}}}{{{birthday|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{gender|}}}
{{!}}-
}}
}}
|-
|-
{{#if:{{{animal|}}} |
{{#if:{{{gender|}}}|
{{!}}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|}}}{{{grade|}}}{{{gender|}}} | | border-top-left-radius: 10px; | }}{{#ifeq: {{{birthday|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Animal'''</span>
{{!}}'''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: {{{age|}}}{{{grade|}}}{{{gender|}}} | | border-top-right-radius: 10px; | }}{{#ifeq: {{{birthday|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{animal|}}}
{{!}}{{{gender|}}}
{{!}}-
}}
}}
|-
|-
{{#if:{{{birthday|}}} |
{{#if:{{{animal|}}}|
{{!}}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|}}}{{{grade|}}}{{{gender|}}}{{{animal|}}} | | border-top-left-radius: 10px; | }} border-bottom-left-radius: 10px;"{{!}}<span style="color:#080606">'''Birthday'''</span>
{{!}}'''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: {{{age|}}}{{{grade|}}}{{{gender|}}}{{{animal|}}} | | border-top-right-radius: 10px; | }} border-bottom-right-radius: 10px;"{{!}}{{{birthday|}}}
{{!}}{{{animal|}}}
{{!}}-
}}
}}
|-
|-
{{#if:{{{eye|}}} |
{{#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-right: #999 1px solid; background-color: #DDD; border-top-left-radius: 10px; {{#ifeq: {{{hair|}}}{{{complexion|}}}{{{favorite color|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Eye color'''</span>
{{!}}'''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; border-top-right-radius: 10px; {{#ifeq: {{{hair|}}}{{{complexion|}}}{{{favorite color|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{eye|}}}
{{!}}{{{birthday|}}}
{{!}}-
}}
}}
|-
|-
{{#ifeq:{{{hair|}}}|Lined||{{#if:{{{hair|}}} |
{{#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; background-color: #DDD; {{#ifeq: {{{eye|}}} | | border-top-left-radius: 10px; | }}{{#ifeq: {{{complexion|}}}{{{favorite color|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Hair color'''</span>
{{!}}'''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; {{#ifeq: {{{eye|}}} |  | border-top-right-radius: 10px; | }}{{#ifeq: {{{complexion|}}}{{{favorite color|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{hair|}}}
{{!}}{{{eye|}}}
{{!}}-
}}}}
|-
{{#if:{{{complexion|}}} |
{{!}}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|}}}{{{hair|}}} | | border-top-left-radius: 10px; | }}{{#ifeq: {{{favorite color|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Complexion '''</span>
{{!}}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|}}}{{{hair|}}} |  | border-top-right-radius: 10px; | }}{{#ifeq: {{{favorite color|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{complexion|}}}
{{!}}-
}}
}}
|-
|-
{{#if:{{{favorite color|}}} |
{{#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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{eye|}}}{{{hair|}}}{{{complexion|}}} | | border-top-left-radius: 10px; | }} border-bottom-left-radius: 10px;"{{!}}<span style="color:#080606">'''Favorite color'''</span>
{{!}}'''Hair 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: {{{eye|}}}{{{hair|}}}{{{complexion|}}} | | border-top-right-radius: 10px; | }} border-bottom-right-radius: 10px;"{{!}}{{{favorite color|}}}
{{!}}{{{hair|}}}
{{!}}-
}}
}}
|-
|-
{{#if:{{{residence|}}} |
{{#if:{{{complexion|}}}|
{{!}}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|}}}{{{job|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Residence'''</span>
{{!}}'''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; {{#ifeq: {{{family|}}}{{{job|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{residence|}}}
{{!}}{{{complexion|}}}
{{!}}-
}}
}}
|-
|-
{{#if:{{{family|}}} |
{{#if:{{{favorite color|}}}|
{{!}}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|}}} | | border-top-left-radius: 10px; | }}{{#ifeq: {{{job|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Family'''</span>
{{!}}'''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: {{{residence|}}} | | border-top-right-radius: 10px; | }}{{#ifeq: {{{job|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{family|}}}
{{!}}{{{favorite color|}}}
{{!}}-
}}
}}
|-
|-
{{#if:{{{job|}}} |
{{#if:{{{residence|}}}|
{{!}}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: {{{residence|}}}{{{family|}}} | | border-top-left-radius: 10px; | }} border-bottom-left-radius: 10px;"{{!}}<span style="color:#080606">'''Occupation'''</span>
{{!}}'''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; {{#ifeq: {{{residence|}}}{{{family|}}} | | border-top-right-radius: 10px; | }} border-bottom-right-radius: 10px;"{{!}}{{{job|}}}
{{!}}{{{residence|}}}
{{!}}-
}}
}}
|-
|-
{{#if:{{{websiteonly|}}}{{{website|}}} |
{{#if:{{{family|}}}|
{{!}}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="color:#080606">'''Website'''</span>
{{!}}'''Family'''
{{!}}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%; color:#080606;">{{#if:{{{websiteonly|}}}|[{{{websiteonly}}} link]}}{{#if:{{{website|}}}|{{{website|}}}}}</span>
{{!}}{{{family|}}}
{{!}}-
}}
}}
|-
|-
{{#if:{{{book first appeared|}}} |
{{#if:{{{job|}}}|
{{!}}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|}}} | | border-bottom-left-radius: 10px | }}"{{!}}<span style="font-size: 95%; color:#080606;">'''Book debut'''</span>
{{!}}'''Job'''
{{!}}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|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}<span style="font-size: 95%;">''{{{book first appeared|}}}''</span>
{{!}}{{{job|}}}
{{!}}-
}}
}}
|-
|-
{{#if:{{{book last appeared|}}} |
{{#if:{{{book first appeared|}}}|
{{!}}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%; color:#080606;">'''Latest Appearance'''</span>
{{!}}'''Book debut'''
{{!}}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|}}}''</span>
{{!}}{{{book first appeared|}}}
{{!}}-
}}
}}
|-
|-
{{#if:{{{cartoon first appeared|}}} |
{{#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|}}}{{{portrayer|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="font-size: 95%; color:#080606;">'''Cartoon debut'''</span>
{{!}}'''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; background-color: white; {{#ifeq: {{{cartoon last appeared|}}}{{{portrayer|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}<span style="font-size: 95%;">{{{cartoon first appeared|}}}</span>
{{!}}{{{cartoon first appeared|}}}
{{!}}-
}}
}}
|-
|-
{{#if:{{{cartoon last appeared|}}} |
{{#if:{{{portrayer|}}}|
{{!}}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|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="font-size: 95%; color:#080606;">'''Latest Appearance'''</span>
{{!}}'''Voice actor'''
{{!}}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|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}<span style="font-size: 95%;">{{{cartoon last appeared|}}}</span>
{{!}}{{{portrayer|}}}
{{!}}-
}}
|-
{{#if:{{{portrayer|}}} |
{{!}}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%; color:#080606;">'''Voice Actor'''</span>
{{!}}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>
{{!}}-
}}
}}
|-
|-
{{#ifexist:{{PAGENAME}}/Gallery|
{{#ifexist:{{PAGENAME}}/Gallery|
{{!}} colspan="2" 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; border-bottom-right-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 10px; border-top-left-radius: 10px;"{{!}} <center>{{#ifexist:{{PAGENAME}}/Gallery|[[{{PAGENAME}}/Gallery|'''image gallery''']]}}</center>
{{!}} colspan="2"{{!}} <center>{{#ifexist:{{PAGENAME}}/Gallery|[[{{PAGENAME}}/Gallery|'''image gallery''']]}}</center>
}}
}}
|}{{#ifeq:{{{hair|Magnezonomon}}}|Bald|<includeonly>[[Category:Pages needing attention]]</includeonly>|}}{{#if:{{{birthday|}}}|<includeonly>[[Category:Characters with known birthdays]]</includeonly>|}}<includeonly>[[Category:Characters]]</includeonly><noinclude>{{clear}}
|}{{#ifeq:{{{hair|Magnezonomon}}}|Bald|<includeonly>[[Category:Pages needing attention]]</includeonly>|}}{{#if:{{{birthday|}}}|<includeonly>[[Category:Characters with known birthdays]]</includeonly>|}}<includeonly>[[Category:Characters]]</includeonly><noinclude>
==Usage==
<pre>
<pre>
{{character infobox
{{character infobox
Line 124: Line 90:
|image                =
|image                =
|imagesize            =
|imagesize            =
|image2                =
|age                  =
|age                  =
|grade                =
|grade                =
Line 136: Line 103:
|family                =
|family                =
|job                  =
|job                  =
|websiteonly          =
|cartoon first appeared=
|cartoon first appeared=
|cartoon last appeared =
|book first appeared  =
|book first appeared  =
|book last appeared    =
|portrayer            =
|portrayer            =
}}
}}
</pre>
</pre>
[[Category:Infoboxes]]
[[Category:Templates]][[Category:Infoboxes]]
</noinclude>
</noinclude>

Revision as of 07:31, 20 March 2015

Character infobox
{{character infobox
|width                 =
|character name        =
|image                 =
|imagesize             =
|image2                =
|age                   =
|grade                 =
|gender                =
|animal                =
|birthday              =
|eye                   =
|hair                  =
|complexion            =
|favorite color        =
|residence             =
|family                =
|job                   =
|cartoon first appeared=
|book first appeared   =
|portrayer             =
}}