• New article from the Springfield Shopper: Season 36 News: A new episode title, “Homer and Her Sisters”, has been announced!
  • Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "Template:Character"

Wikisimpsons - The Simpsons Wiki
(i think i've done it)
 
(132 intermediate revisions by 28 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=240px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color:#fff4a7; border:1px solid white;clear:right;"
+
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Characters]]}}</includeonly>
| align="center" colspan=2 bgcolor="#fada00" style="font-size:110%;" | '''{{{Box title|{{PAGENAME}}}}}'''
+
{| align="right" style="background: #{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; width: 19%; border-top-left-radius: 5px; -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -khtml-border-top-left-radius: 5px; -icab-border-top-left-radius: 5px; -o-border-top-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; -icab-border-bottom-left-radius: 5px; -o-border-bottom-left-radius: 5px;; border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; -icab-border-bottom-left-radius: 5px; -o-border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -khtml-border-bottom-right-radius: 5px; -icab-border-bottom-right-radius: 5px; -o-border-bottom-right-radius: 5px;; border-radius: {{{Curve|10px}}}; -moz-border-radius: {{{Curve|10px}}}; -webkit-border-radius: {{{Curve|10px}}}; -khtml-border-radius: {{{Curve|10px}}}; -icab-border-radius: {{{Curve|10px}}}; -o-border-radius: {{{Curve|10px}}};;"
|- style=background:#fff4a7
 
|align="center" colspan="2" | {{{image|}}}
 
 
|-
 
|-
| {{#if:{{{name|}}}|'''Name'''|}}
+
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''{{#if:{{{identity|}}}|<br>({{{identity}}})}}
| {{{name|}}}
+
{{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
|- style="vertical-align: top;" | class{{{gender}}}="hiddenStructure"
 
| {{#if:{{{gender|}}}|'''Gender'''|}}
 
| {{{gender|}}}
 
|- style="vertical-align: top;" | class{{{hair}}}="hiddenStructure"
 
| {{#if:{{{hair|}}}|'''Hair'''|}}
 
| {{{hair|}}}
 
|- style="vertical-align: top;" | class{{{age}}}="hiddenStructure"
 
| {{#if:{{{age|}}}|'''Age'''|}}
 
| {{{age|}}}
 
|- style="vertical-align: top;" | class{{{job}}}="hiddenStructure"
 
| {{#if:{{{job|}}}|'''Job'''|}}
 
| {{{job|}}}
 
|- style="vertical-align: top;" | class{{{relatives}}}="hiddenStructure"
 
| {{#if:{{{relatives|}}}|'''Relatives'''|}}
 
| {{{relatives|}}}
 
|- style="vertical-align: top;" | class{{{appearance}}}="hiddenStructure"
 
| {{#if:{{{appearance|}}}|'''First Appearance'''|}}
 
| {{{appearance|}}}
 
|- style="vertical-align: top;" | class{{{voiced by}}}="hiddenStructure"
 
| {{#if:{{{voiced by|}}}|'''Voiced by'''|}}
 
| {{{voiced by|}}}
 
|- style="vertical-align: top;"
 
 
|-
 
|-
|}<noinclude></noinclude>
+
| style="background:#{{DarkColorSwitch}}; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;;" align="center" | '''{{#switch:{{{superhero|no}}}|yes=Superhero[[Category:Superheroes]]|no=Character|villain=Supervillain[[Category:Supervillains]]}} Information'''
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
{| align="center" style="background: #FFFDF0; width: 100%; border-radius: {{{Curve|10px}}}; -moz-border-radius: {{{Curve|10px}}}; -webkit-border-radius: {{{Curve|10px}}}; -khtml-border-radius: {{{Curve|10px}}}; -icab-border-radius: {{{Curve|10px}}}; -o-border-radius: {{{Curve|10px}}};"
 +
{{#if:{{{gender|}}}|
 +
! {{#if:{{{gender2|}}}|rowspan="2"}} align="right" width="80px" {{!}} Gender:
 +
{{!}} {{{gender}}} }}
 +
|-
 +
{{#if:{{{gender2|}}}|
 +
{{!}} {{{gender2}}} }}
 +
|-
 +
! align="right" style="border-top: 1px solid #aaa;" | Status:
 +
| bgcolor="#{{{{{status|unknown}}}}}" style="{{Round}}" | <center>'''{{ucfirst:{{{status|Unknown}}}}}'''</center>
 +
{{#if:{{{other statuses|}}}|
 +
{{!}}-
 +
! align="right" style="border-top: 1px solid #aaa;" {{!}} Other status(es):
 +
{{{other statuses}}}}}
 +
|-
 +
{{#if:{{{alias|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Alias(es):
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{alias}}} }}
 +
|-
 +
{{#if:{{{age|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Age:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{age}}} }}
 +
|-
 +
{{#if:{{{hair|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Hair:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{hair}}} }}
 +
|-
 +
{{#if:{{{job|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Occupation:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{job}}} }}
 +
|-
 +
{{#if:{{{powers|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Powers:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{powers}}} }}
 +
|-
 +
{{#if:{{{relatives|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Relatives:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{relatives}}} }}
 +
|-
 +
{{#if:{{{mentioned|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} First mentioned:
 +
{{!}} style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} {{{mentioned}}} }}
 +
|-
 +
{{#if:{{{appearance|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} First appearance:
 +
{{!}} style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} {{{appearance}}} }}
 +
|-
 +
{{#if:{{{played by|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} Played by:
 +
{{!}} style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} {{{played by}}} }}
 +
|-
 +
{{#if:{{{voiced by|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #{{#if:{{{appearance|}}}|aaa|{{DarkColorSwitch}}}};" {{!}} Voiced by:
 +
{{!}} style="border-top: 1px solid #{{#if:{{{appearance|}}}|aaa|{{DarkColorSwitch}}}};" {{!}} {{{voiced by}}} }}
 +
|}{{align|right|{{Navbar|Character|plain=1|mini=yes}}}}
 +
|-
 +
|-
 +
|}
 +
{{#switch: {{{status}}} | Possibly deceased= [[Category:Possibly deceased characters]] | Fictional= [[Category:Fictional characters]] | Fictional robot= [[Category:Fictional characters]] | Fictional deceased= [[Category:Fictional characters]] | Non-canon= [[Category:Non-canon characters]] | Non-canon robot= [[Category:Non-canon characters]] | Non-canon robot deceased= [[Category:Non-canon characters]] | Non-canon fictional= [[Category:Non-canon characters]][[Category:Fictional characters]] }}
 +
<noinclude>
 +
 
 +
== Use ==
 +
All inputs but "status" are optional.
 +
<pre>
 +
{{Character
 +
|name=
 +
|image=
 +
|gender=
 +
|alias=
 +
|hair=
 +
|age=
 +
|status=
 +
|other statuses=
 +
|job=
 +
|relatives=
 +
|appearance= 
 +
|mentioned=
 +
|voiced by=
 +
}}
 +
</pre>
 +
[[Category:Templates]][[Category:Character templates]][[Category:Infoboxes]][[sv:Mall:Character]]</noinclude>

Latest revision as of 14:11, April 3, 2024

Character
Character Information
Status:
Unknown


Use

All inputs but "status" are optional.

{{Character
|name= 
|image= 
|gender= 
|alias= 
|hair= 
|age= 
|status= 
|other statuses= 
|job= 
|relatives= 
|appearance=  
|mentioned= 
|voiced by= 
}}