• New article from the Springfield Shopper: Season 36 News: Another Preview Image for “The Man Who Flew Too Much” and details on other episodes have been released!
  • New article from the Springfield Shopper: Season 36 News: Two new Preview Images for “The Man Who Flew Too Much” have been released!
  • 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:Infobox"

Wikisimpsons - The Simpsons Wiki
m (Reverted edits by PK2 (talk) to last revision by SolarBot)
 
(11 intermediate revisions by 5 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}}};;"
+
{| 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}}};;"
 
|-
 
|-
 
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''
 
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''
{| 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;" | [[File:{{{image}}}|{{{imagesize|250px}}}]] {{#if:[[{{{image2|{{{imagesize|250px}}}]]}}
 
 
|-
 
|-
| align="center" | {{{caption}}}
+
| 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" | '''{{{subject}}} 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}}} }}
 +
|-
 +
{{#if:{{{status|}}}|
 +
! bgcolor="#FFFFFF" align="right" style="border-top: 1px solid #aaa;" |{{#if:{{{status|}}}| Status:}}
 +
| bgcolor="#{{{{{status|unknown}}}}}" style="{{Round}}" | <center>'''{{ucfirst:{{{status|Unknown}}}}}'''</center>}}
 +
{{#if:{{{other statuses|}}}|
 +
{{!}}-
 +
! bgcolor="#FFFFFF" align="right" style="border-top: 1px solid #aaa;" {{!}} Other status(es):
 +
{{{other statuses}}}}}
 
|-
 
|-
| 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" | '''{{{subject}}} 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:{{{data1|}}}|
 
{{#if:{{{data1|}}}|
 
! align="right" width="80px" {{!}} {{{title1}}}:
 
! align="right" width="80px" {{!}} {{{title1}}}:
Line 83: Line 94:
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Templates]]</noinclude>
+
[[Category:Templates]][[Category:Infoboxes]]</noinclude>

Latest revision as of 08:47, March 26, 2021

Infobox
{{{subject}}} Information
{{Infobox
|name=
|image=
|image2=
|imagesize=
|caption=
|subject=
|title1=
|data1=
|title2=
|data2=
|title3=
|data3=
|title4=
|data4=
|title5=
|data5=
|title6=
|data6=
|title7=
|data7=
|title8=
|data8=
|title9=
|data9=
|title10=
|data10=
}}