TwitterFacebookDiscord

Difference between revisions of "Template:Character"

Wikisimpsons - The Simpsons Wiki
m
 
(101 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{| align="right" style="background: #FFEC73; border:2px solid #E0B400; 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}}};;"
+
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Characters]]}}</includeonly>
 +
{| 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}}})}}
{| align="center" style="background: #FFDC00; 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:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
| align="center" style="background:#FFF88F;" | {{{image}}}
 
|}
 
 
|-
 
|-
| style="background:#FFDC00; 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: #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}}};"
+
{| align="center" style="background:#FFFDF0; width:100%; border-radius:{{{Curve|10px}}};"
 
{{#if:{{{gender|}}}|
 
{{#if:{{{gender|}}}|
! align="right" width="80px" {{!}} Gender:
+
! {{#if:{{{gender2|}}}|rowspan="2"}} align="right" width="80px" {{!}} Gender:
 
{{!}} {{{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|}}}|
 
{{#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}}} }}
|-
 
! bgcolor="#FFFFFF" align="right" style="border-top: 1px solid #aaa;" | Status:
 
| bgcolor="#{{{{{status|unknown}}}}}" | <center>'''{{{status|Unknown}}}'''</center>
 
| bgcolor="#FFFFFF" style="border-top: 1px solid #aaa;" |
 
 
|-
 
|-
 
{{#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:{{{powers|}}}|
 +
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Powers:
 +
{{!}} 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 #E0B400;" {{!}} First Appearance:
+
! align="right" width="80px" style="border-top:1px solid #{{DarkColorSwitch}};" {{!}} First appearance:
{{!}} style="border-top: 1px solid #E0B400;" {{!}} {{{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|}}}|
 
{{#if:{{{voiced by|}}}|
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Voiced by:
+
! align="right" width="80px" style="border-top:1px solid #{{#if:{{{appearance|}}}|aaa|{{DarkColorSwitch}}}};" {{!}} Voiced by:
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{voiced by}}} }}
+
{{!}} style="border-top:1px solid #{{#if:{{{appearance|}}}|aaa|{{DarkColorSwitch}}}};" {{!}} {{{voiced by}}} }}
|}
+
|}{{align|right|{{Navbar|Character|plain=1|mini=yes}}}}
 
|-
 
|-
 
|-
 
|-
|}<noinclude>
+
|}
 +
{{#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 ==
 
== Use ==
 +
All inputs but "status" are optional.
 
<pre>
 
<pre>
 
{{Character
 
{{Character
|name =  
+
|name=  
|image =  
+
|image=  
|gender =  
+
|gender=
|hair =  
+
|alias=  
|age =  
+
|hair=  
|status =  
+
|age=  
|job =  
+
|status=
|relatives =  
+
|other statuses=  
|appearance =  
+
|job=  
|voiced by =  
+
|relatives=  
 +
|appearance
 +
|mentioned=  
 +
|voiced by=  
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Templates|{{PAGENAME}}]][[Category:Character templates|{{PAGENAME}}]][[sv:Mall:Character]][[zh:Template:人物]]</noinclude>
+
[[Category:Templates]]
 +
[[Category:Character templates]]
 +
[[Category:Infoboxes]]
 +
[[sv:Mall:Character]]
 +
</noinclude>

Latest revision as of 06: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= 
}}