• 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:Commercial"

Wikisimpsons - The Simpsons Wiki
(Hope this will work.)
m (top: replaced: {{LightBox}} → {{LightColorSwitch}}, {{DarkBox}} → {{DarkColorSwitch}})
(17 intermediate revisions by 4 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>'''
{{#if:{{{image|}}}|{{infobox image|image=[[File:{{{image}}}|250px]]}}}}
+
{{#if:{{{image|}}}|{{infobox image|image=[[File:{{#setmainimage: {{{image}}}}}|250px]]}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
 
|-
 
|-
| 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" | '''Commercial Information'''
+
| 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" | '''Commercial 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}}}; -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:{{{topic|}}}|
 
{{#if:{{{topic|}}}|
 
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Topic:
 
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Topic:
 
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{topic}}} }}
 
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{topic}}} }}
 +
|-
 +
{{#if:{{{catchphrase|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Catchphrase:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{catchphrase}}} }}
 +
|-
 +
{{#if:{{{production code|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Production code:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{production code}}} }}
 
|-
 
|-
 
{{#if:{{{airdate|}}}|
 
{{#if:{{{airdate|}}}|
Line 19: Line 27:
 
|}
 
|}
 
{{#switch:{{{transcript|}}}|yes=
 
{{#switch:{{{transcript|}}}|yes=
<center>[[{{PAGENAME}}/Transcript|Transcript]]</center>}}
+
<center>[[{{PAGENAME}}/Transcript|Transcript]]</center>}}{{align|right|{{Navbar|Commercial|plain=1|mini=yes}}}}
{{align|right|{{Navbar|Commercial|plain=1|mini=yes}}}}
 
 
|-
 
|-
 
|-
 
|-
Line 31: Line 38:
 
|name =  
 
|name =  
 
|image =  
 
|image =  
 +
|caption =
 
|topic =  
 
|topic =  
 +
|catchphrase =
 +
|production code =
 
|airdate =  
 
|airdate =  
 
|length =  
 
|length =  
 +
|transcript =
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Templates]]</noinclude>
+
[[Category:Templates]][[Category:Infoboxes]]</noinclude>

Revision as of 13:45, September 24, 2020

Commercial
Commercial Information


Use

{{Commercial
|name = 
|image = 
|caption = 
|topic = 
|catchphrase = 
|production code = 
|airdate = 
|length = 
|transcript =
}}