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
 
(44 intermediate revisions by 9 users not shown)
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="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; 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" 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; {{#ifeq: {{{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: {{{gender|}}}{{animal|}}}{{{birthday|}}} | | border-bottom-right-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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{age|}}}| | border-top-left-radius: 10px; | }}{{#ifeq: {{{animal|}}}{{{birthday|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Gender'''</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: {{{animal|}}}{{{birthday|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{age|}}}{{{gender|}}} | | border-top-left-radius: 10px; | }}{{#ifeq: {{{birthday|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Animal'''</span>
{{#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: {{{age|}}}{{{gender|}}} | | border-top-right-radius: 10px; | }}{{#ifeq: {{{birthday|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{age|}}}{{{gender|}}}{{{animal|}}} | | border-top-left-radius: 10px; | }} border-bottom-left-radius: 10px;"{{!}}<span style="color:#080606">'''Birthday'''</span>
{{#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: {{{age|}}}{{{gender|}}}{{{animal|}}} | | border-top-right-radius: 10px; | }} border-bottom-right-radius: 10px;"{{!}}{{{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-right: #999 1px solid; background-color: #DDD; border-top-left-radius: 10px; {{#ifeq: {{{hair|}}}{{{favorite color|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Eye color'''</span>
{{#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; border-top-right-radius: 10px; {{#ifeq: {{{hair|}}}{{{favorite color|}}} | | 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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{eye|}}} | | border-top-left-radius: 10px; | }}{{#ifeq: {{{favorite color|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Hair color'''</span>
{{#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: {{{eye|}}} |  | border-top-right-radius: 10px; | }}{{#ifeq: {{{favorite color|}}} | | border-bottom-right-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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{eye|}}}{{{hair|}}} | | border-top-left-radius: 10px; | }} border-bottom-left-radius: 10px;"{{!}}<span style="color:#080606">'''Favorite color'''</span>
{{#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; {{#ifeq: {{{eye|}}}{{{hair|}}} | | border-top-right-radius: 10px; | }} border-bottom-right-radius: 10px;"{{!}}{{{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; background-color: #DDD; border-right: #999 1px solid; {{#ifeq: {{{family|}}}{{{job|}}}{{{religion|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Residence'''</span>
{{#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; {{#ifeq: {{{family|}}}{{{job|}}}{{{religion|}}} | | border-bottom-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-right: #999 1px solid; background-color: #DDD; {{#ifeq: {{{residence|}}} | | border-top-left-radius: 10px; | }}{{#ifeq: {{{job|}}}{{{religion|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Relatives'''</span>
{{#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: {{{residence|}}} | | border-top-right-radius: 10px; | }}{{#ifeq: {{{job|}}}{{{religion|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{family|}}}
{{!}}-
{{!}}-
}}
{{!}} '''Favorite color'''
|-
{{!}} {{{favorite color|}}}
{{#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: {{{residence|}}}{{{family|}}} | | border-top-left-radius: 10px; | }} {{#ifeq: {{{religion|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="color:#080606">'''Occupation'''</span>
{{#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; {{#ifeq: {{{residence|}}}{{{family|}}} | | border-top-right-radius: 10px; | }} {{#ifeq: {{{religion|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}{{{job|}}}
{{!}}-
{{!}}-
}}
{{!}} '''Residence'''
|-
{{!}} {{{residence|}}}
|-
}}<nowiki/>
{{#if:{{{religion|}}} |
{{#if:{{{family|}}}|
{{!}}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|}}}{{{job|}}} | | border-top-left-radius: 10px; | }} border-bottom-left-radius: 10px;"{{!}}<span style="color:#080606">'''Religion'''</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: {{{residence|}}}{{{family|}}}{{{job|}}} | | border-top-right-radius: 10px; | }} border-bottom-right-radius: 10px;"{{!}}{{{religion|}}}
{{!}}-
{{!}}-
}}
{{!}} '''Family'''
|-
{{!}} {{{family|}}}
{{#if:{{{websiteonly|}}}{{{website|}}} |
}}<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; border-radius: 10px 0 0 10px; background-color: #DDD; "{{!}}<span style="color:#080606">'''Website'''</span>
{{#if:{{{job|}}}|
{{!}}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>
{{!}}-
}}
|-
{{#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|}}} | | border-bottom-left-radius: 10px | }}"{{!}}<span style="font-size: 95%; color:#080606;">'''Book debut'''</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|}}} | | border-bottom-right-radius: 10px; | }}"{{!}}<span style="font-size: 95%;">''{{{book first appeared|}}}''</span>
{{!}}-
}}
|-
{{#if:{{{book last 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>
{{!}}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>
{{!}}-
{{!}}-
}}
{{!}} '''Job'''
|-
{{!}} {{{job|}}}
{{#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; background-color: #DDD; {{#ifeq: {{{cartoon last appeared|}}}{{{portrayer|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="font-size: 95%; color:#080606;">'''Cartoon debut'''</span>
{{#if:{{{book_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>
{{!}}-
{{!}}-
}}
{{!}} '''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|}}} | | border-bottom-left-radius: 10px; | }}"{{!}}<span style="font-size: 95%; color:#080606;">'''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|}}} | | 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%; color:#080606;">'''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'''
|-
{{!}} {{{voice_actor|}}}
{{#ifexist:{{PAGENAME}}/Gallery|
}}<nowiki/>
{{!}} 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|'''gallery''']]}}</center>
|}{{#if:{{{birthday|}}}|<includeonly>[[Category:Characters with known birthdays]]</includeonly>|}}{{#if:{{{voice_actor|}}}|<includeonly>[[Category:Pages with voice actors]]</includeonly>|}}<noinclude>
}}
|}{{#ifeq:{{{hair|Magnezonomon}}}|Bald|<includeonly>[[Category:BALD BALD MY EYES IT BURNSSSSSSSSSSSSSSS]]</includeonly>|}}{{#if:{{{age|}}}|<includeonly>[[Category:Characters that have an age in the infobox]]</includeonly>|}}<includeonly>[[Category:Characters]]</includeonly><noinclude>{{clear}}
==Usage==
<pre>
<pre>
{{character infobox
{{character infobox
|width                =
|width                =
|character name        =
|image                =
|image                =
|imagesize            =
|imagesize            =
|image2                =
|age                  =
|age                  =
|grade                =
|gender                =
|gender                =
|animal                =
|animal                =
|religion              =
|birthday              =
|birthday              =
|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           =
}}