TwitterFacebookDiscord

Difference between revisions of "Template:Character"

Wikisimpsons - The Simpsons Wiki
m
 
(39 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Characters]]}}</includeonly>
 
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Characters]]}}</includeonly>
{| align="right" style="background: #{{LightBox}}; 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}}};;"
+
{| align="right" style="background:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; width:19%; border-radius:{{{Curve|10px}}};"
 
|-
 
|-
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''
+
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''{{#if:{{{identity|}}}|<br>({{{identity}}})}}
 
{{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
 
{{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
 
|-
 
|-
| style="background:#{{DarkBox}}; 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" | '''Character Information'''
+
| style="background:#{{DarkColorSwitch}}; border-radius:10px;" align="center" | '''{{#switch:{{{superhero|no}}}|yes=Superhero[[Category:Superheroes]]|no=Character|villain=Supervillain[[Category:Supervillains]]}} Information'''
{| align="center" style="background: #{{LightBox}}; 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}}};"
+
{| align="center" style="background:#FFFDF0; width:100%; border-radius:{{{Curve|10px}}};"
 
{{#if:{{{gender|}}}|
 
{{#if:{{{gender|}}}|
 
! {{#if:{{{gender2|}}}|rowspan="2"}} align="right" width="80px" {{!}} Gender:
 
! {{#if:{{{gender2|}}}|rowspan="2"}} align="right" width="80px" {{!}} Gender:
Line 14: Line 14:
 
{{!}} {{{gender2}}} }}
 
{{!}} {{{gender2}}} }}
 
|-
 
|-
! bgcolor="#FFFFFF" align="right" style="border-top: 1px solid #aaa;" | Status:
+
! align="right" style="border-top:1px solid #aaa;" | Status:
 
| bgcolor="#{{{{{status|unknown}}}}}" style="{{Round}}" | <center>'''{{ucfirst:{{{status|Unknown}}}}}'''</center>
 
| bgcolor="#{{{{{status|unknown}}}}}" style="{{Round}}" | <center>'''{{ucfirst:{{{status|Unknown}}}}}'''</center>
 
{{#if:{{{other statuses|}}}|
 
{{#if:{{{other statuses|}}}|
 
{{!}}-
 
{{!}}-
! bgcolor="#FFFFFF" align="right" style="border-top: 1px solid #aaa;" {{!}} Other status(es):
+
! align="right" style="border-top:1px solid #aaa;" {{!}} Other status(es):
 
{{{other statuses}}}}}
 
{{{other statuses}}}}}
 
|-
 
|-
 
{{#if:{{{alias|}}}|
 
{{#if:{{{alias|}}}|
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Alias(es):
+
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Alias(es):
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{alias}}} }}
+
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{alias}}} }}
 
|-
 
|-
 
{{#if:{{{age|}}}|
 
{{#if:{{{age|}}}|
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Age:
+
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Age:
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{age}}} }}
+
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{age}}} }}
 
|-
 
|-
 
{{#if:{{{hair|}}}|
 
{{#if:{{{hair|}}}|
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Hair:
+
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Hair:
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{hair}}} }}
+
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{hair}}} }}
 
|-
 
|-
 
{{#if:{{{job|}}}|
 
{{#if:{{{job|}}}|
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Occupation:
+
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Occupation:
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{job}}} }}
+
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{job}}} }}
 
|-
 
|-
{{#if:{{{location|}}}|
+
{{#if:{{{powers|}}}|
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Location:
+
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Powers:
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{location}}} }}
+
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{powers}}} }}
 
|-
 
|-
 
{{#if:{{{relatives|}}}|
 
{{#if:{{{relatives|}}}|
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Relatives:
+
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Relatives:
{{!}} 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|}}}|
 
{{#if:{{{appearance|}}}|
! align="right" width="80px" style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} First Appearance:
+
! align="right" width="80px" style="border-top:1px solid #{{DarkColorSwitch}};" {{!}} First appearance:
{{!}} style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} {{{appearance}}} }}
+
{{!}} style="border-top:1px solid #{{DarkColorSwitch}};" {{!}} {{{appearance}}} }}
 
|-
 
|-
{{#if:{{{mentioned|}}}|
+
{{#if:{{{played by|}}}|
! align="right" width="80px" style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} First Mentioned:
+
! align="right" width="80px" style="border-top:1px solid #{{DarkColorSwitch}};" {{!}} Played by:
{{!}} style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} {{{mentioned}}} }}
+
{{!}} style="border-top:1px solid #{{DarkColorSwitch}};" {{!}} {{{played by}}} }}
|-
 
{{#if:{{{name seen|}}}|
 
! align="right" width="80px" style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} Name Seen:
 
{{!}} style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} {{{name seen}}} }}
 
 
|-
 
|-
 
{{#if:{{{voiced by|}}}|
 
{{#if:{{{voiced by|}}}|
! align="right" width="80px" style="border-top: 1px solid #{{#if:{{{appearance|}}}|aaa|{{DarkColorSwitch}}}};" {{!}} 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}}} }}
+
{{!}} style="border-top:1px solid #{{#if:{{{appearance|}}}|aaa|{{DarkColorSwitch}}}};" {{!}} {{{voiced by}}} }}
 
|}{{align|right|{{Navbar|Character|plain=1|mini=yes}}}}
 
|}{{align|right|{{Navbar|Character|plain=1|mini=yes}}}}
 
|-
 
|-
 
|-
 
|-
 
|}
 
|}
{{#switch: {{{status}}} | Possibly deceased= [[Category:Possibly deceased characters]] }}
+
{{#switch: {{{status}}}  
{{#switch: {{{status}}} | Fictional= [[Category:Fictional characters]] }}
+
| Possibly deceased = [[Category:Possibly deceased characters]]  
{{#switch: {{{status}}} | Fictional robot= [[Category:Fictional characters]] }}
+
| Fictional = [[Category:Fictional characters]]
{{#switch: {{{status}}} | Non-canon 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>
 
<noinclude>
  
Line 83: Line 89:
 
|other statuses=  
 
|other statuses=  
 
|job=  
 
|job=  
|location=
 
 
|relatives=  
 
|relatives=  
 
|appearance=   
 
|appearance=   
 
|mentioned=  
 
|mentioned=  
|name seen=
 
 
|voiced by=  
 
|voiced by=  
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Templates]][[Category:Character templates]][[Category:Infoboxes]][[sv:Mall:Character]]</noinclude>
+
[[Category:Templates]]
 +
[[Category:Character templates]]
 +
[[Category:Infoboxes]]
 +
[[sv:Mall:Character]]
 +
</noinclude>

Latest revision as of 07:06, April 5, 2025

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= 
}}