• 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
m
 
(158 intermediate revisions by 38 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;"
+
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Characters]]}}</includeonly>
| align="center" colspan=2 bgcolor="#fada00" style="font-size:110%;" | '''{{{name}}}'''
+
{| 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}}}
 
|- style="vertical-align: top;"
 
| '''gender'''
 
| {{{gender}}}
 
|- style="vertical-align: top;"
 
| '''hair'''
 
| {{{hair}}}
 
|- style="vertical-align: top;"
 
| '''age'''
 
| {{{age}}}
 
|- style="vertical-align: top;"
 
| '''job'''
 
| {{{job}}}
 
|- style="vertical-align: top;"
 
| '''relatives'''
 
| {{{relatives}}}
 
|- style="vertical-align: top;"
 
| '''first appearance'''
 
| {{{appearance}}}
 
|- style="vertical-align: top;"
 
| '''voiced by'''
 
| {{{voiced by}}}
 
|- style="vertical-align: top;"
 
 
|-
 
|-
|}<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''{{#if:{{{identity|}}}|<br>({{{identity}}})}}
 +
{{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
 +
|-
 +
| 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'''
 +
{| 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 15: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= 
}}