• New article from the Springfield Shopper: Season 36 News: A Preview Image for “Bottle Episode” has been released!
  • New article from the Springfield Shopper: Season 36 News: A new Preview Image for “The Man Who Flew Too Much” has 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
m
Line 1: Line 1:
{| 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-top-right-radius: 5px; -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; -khtml-border-top-right-radius: 5px; -icab-border-top-right-radius: 5px; -o-border-top-right-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" cellspacing="3" style="padding:0; border:2px solid #{{DarkColorSwitch}}; border-spacing:3px; margin:-3px; width:auto; font-size:100%; clear:none; background-color:#{{LightColorSwitch}}; border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-radius: {{{Curve|10px}}};"
 
|-
 
|-
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''
+
| colspan="2" style="text-align:center; font-size:125%; font-weight:bold;" | {{{name|{{PAGENAME}}}}}
{{#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" | '''{{{subject}}} Information'''
+
{{#if:{{{image|}}}|{{!}} colspan="2" style="text-align: center;" {{!}} {{infobox image|image={{{image}}}|image_size={{{image_size}}}|caption={{#if:{{{caption|}}}|{{{caption}}}}} }} }}
{| 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|}}}|
+
{{#if:{{{image2|}}}|{{!}} colspan="2" style="text-align: center;" {{!}} {{infobox image|image={{{image2}}}|image_size={{{image_size2}}}|caption={{#if:{{{caption2|}}}|{{{caption2}}}}} }} }}
{{!}} {{{gender2}}} }}
 
 
|-
 
|-
{{#if:{{{status|}}}|
+
| colspan="2" style="text-align:center; background:#{{DarkColorSwitch}}; border-radius: 10px;" | '''{{{subject}}} information'''
! bgcolor="#FFFFFF" align="right" style="border-top: 1px solid #aaa;" |{{#if:{{{status|}}}| Status:}}
+
{| align="center" style="background: #FFFDF0; width: 100%; border-radius: {{{Curve|10px}}};"
| 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}}}}}
 
 
|-
 
|-
 
{{#if:{{{data1|}}}|
 
{{#if:{{{data1|}}}|
Line 61: Line 50:
 
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data10}}} }}
 
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data10}}} }}
 
|-
 
|-
 +
{{#if:{{{data11|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title11}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data11}}} }}
 +
|-
 +
{{#if:{{{data12|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title12}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data12}}} }}
 +
|-
 +
{{#if:{{{data13|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title13}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data13}}} }}
 +
|-
 +
{{#if:{{{data14|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title14}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data14}}} }}
 +
|-
 +
{{#if:{{{data15|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title15}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data15}}} }}
 +
|-
 +
{{#if:{{{data16|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title16}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data16}}} }}
 +
|-
 +
{{#if:{{{data17|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title17}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data17}}} }}
 +
|-
 +
{{#if:{{{data18|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title18}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data18}}} }}
 +
|-
 +
{{#if:{{{data19|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title19}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data19}}} }}
 +
|-
 +
{{#if:{{{data20|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title20}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data20}}} }}
 +
|-
 +
{{#if:{{{data21|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title21}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data21}}} }}
 +
|-
 +
{{#if:{{{data22|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title22}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data22}}} }}
 +
|-
 +
{{#if:{{{data23|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title23}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data23}}} }}
 +
|-
 +
{{#if:{{{data24|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title24}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data24}}} }}
 +
|-
 +
{{#if:{{{data25|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title25}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data25}}} }}
 +
|-
 +
{{#if:{{{data26|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title26}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data26}}} }}
 +
|-
 +
{{#if:{{{data27|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title27}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data27}}} }}
 +
|-
 +
{{#if:{{{data28|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title28}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data28}}} }}
 +
|-
 +
{{#if:{{{data29|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title29}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data29}}} }}
 +
|-
 +
{{#if:{{{data30|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title30}}}:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data30}}} }}
 
|}
 
|}
 +
{{#if:{{{name|}}}|{{align|right|{{navbar|{{{name}}}|mini=1}}}}}}
 
|}
 
|}
 
<noinclude>
 
<noinclude>
 
<pre>
 
<pre>
 
{{Infobox
 
{{Infobox
|name=
+
|name =  
|image=
+
|image =
|image2=
+
|image_size =
|imagesize=
+
|caption =  
|caption=
+
|image2 =  
|subject=
+
|image_size2 =  
|title1=
+
|caption2 =  
|data1=
+
|subject =  
|title2=
+
|title1 =  
|data2=
+
|data1 =  
|title3=
+
|title2 =  
|data3=
+
|data2 =  
|title4=
+
|title3 =  
|data4=
+
|data3 =  
|title5=
+
|title4 =  
|data5=
+
|data4 =  
|title6=
+
|title5 =  
|data6=
+
|data5 =  
|title7=
+
|title6 =  
|data7=
+
|data6 =  
|title8=
+
|title7 =  
|data8=
+
|data7 =  
|title9=
+
|title8 =  
|data9=
+
|data8 =  
|title10=
+
|title9 =  
|data10=
+
|data9 =  
 +
|title10 =  
 +
|data10 =
 +
|title11 =
 +
|data11 =
 +
|title12 =
 +
|data12 =
 +
|title13 =
 +
|data13 =
 +
|title14 =
 +
|data14 =
 +
|title15 =
 +
|data15 =
 +
|title16 =
 +
|data16 =
 +
|title17 =
 +
|data17 =
 +
|title18 =
 +
|data18 =
 +
|title19 =
 +
|data19 =
 +
|title20 =
 +
|data20 =
 +
|title21 =
 +
|data21 =
 +
|title22 =
 +
|data22 =
 +
|title23 =
 +
|data23 =
 +
|title24 =
 +
|data24 =
 +
|title25 =
 +
|data25 =
 +
|title26 =
 +
|data26 =
 +
|title27 =
 +
|data27 =
 +
|title28 =
 +
|data28 =
 +
|title29 =
 +
|data29 =
 +
|title30 =
 +
|data30 =  
 
}}
 
}}
 
</pre>
 
</pre>
 
[[Category:Templates]][[Category:Infoboxes]]</noinclude>
 
[[Category:Templates]][[Category:Infoboxes]]</noinclude>

Revision as of 17:03, March 12, 2021

Infobox
{{{subject}}} information
{{Infobox
|name = 
|image = 
|image_size = 
|caption = 
|image2 = 
|image_size2 = 
|caption2 = 
|subject = 
|title1 = 
|data1 = 
|title2 = 
|data2 = 
|title3 = 
|data3 = 
|title4 = 
|data4 = 
|title5 = 
|data5 = 
|title6 = 
|data6 = 
|title7 = 
|data7 = 
|title8 = 
|data8 = 
|title9 = 
|data9 = 
|title10 = 
|data10 = 
|title11 = 
|data11 = 
|title12 = 
|data12 = 
|title13 = 
|data13 = 
|title14 = 
|data14 = 
|title15 = 
|data15 = 
|title16 = 
|data16 = 
|title17 = 
|data17 = 
|title18 = 
|data18 = 
|title19 = 
|data19 = 
|title20 = 
|data20 = 
|title21 = 
|data21 = 
|title22 = 
|data22 = 
|title23 = 
|data23 = 
|title24 = 
|data24 = 
|title25 = 
|data25 = 
|title26 = 
|data26 = 
|title27 = 
|data27 = 
|title28 = 
|data28 = 
|title29 = 
|data29 = 
|title30 = 
|data30 = 
}}