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

Wikisimpsons - The Simpsons Wiki
m (top: replaced: {{LightBox}} → {{LightColorSwitch}} (2), {{NavboxBorder}} → {{DarkColorSwitch}})
 
(40 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<noinclude>{{WIP|Cook879}}</noinclude>
+
{| class="collapsible collapsed" width="100%"  align="center" style="background: #{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-top-left-radius: 5px; width: 100% -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}}};;"
{| class="collapsible collapsed" width="100%"  align="center" style="background: #FFEC73; border:2px solid #E0B400; border-top-left-radius: 5px; width: 100% -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}}};;"
 
 
|-
 
|-
! colspan="3" style="background: #FFEC73; |<div style="float:left; width:6em; text-align:left">{{Navbar|{{{name}}}|plain=1}}</div><big>'''{{{title}}}'''</big>
+
! colspan="3" style="background: #{{LightColorSwitch}}; |<div style="float:left; width:6em; text-align:left">{{Navbar|{{{name}}}|plain=1}}</div><big>'''{{{title}}}'''</big>
|-
+
{{{1}}}
<td width="10%" style="text-align:left;border-right-width:2px;border-right-style:solid;">{{{group1}}}</td> <td width="90%" style="text-align:left; background:#ffffff">{{{list1}}}</td>
+
|}<noinclude>[[Category:Templates]]</noinclude>
|-
 
|{{#switch: {{{2|no}}} | yes=<td width="10%" style="text-align:left;border-right-width:2px;border-right-style:solid;">{{{group2}}}</td> <td width="90%" style="text-align:left; background:#ffffff">{{{list2}}}</td>
 
}}
 
|-
 
{{#switch: {{{3|no}}} | yes=
 
<td width="10%" style="text-align:left;border-right-width:2px;border-right-style:solid;">{{{group3}}}</td> <td width="90%" style="text-align:left; background:#ffffff">{{{list3}}}</td>
 
}}
 
|-
 
{{#switch: {{{4|no}}} | yes=
 
<td width="10%" style="text-align:left;border-right-width:2px;border-right-style:solid;">{{{group4}}}</td> <td width="90%" style="text-align:left; background:#ffffff">{{{list4}}}</td>
 
}}
 
|-
 
{{#switch: {{{5|no}}} | yes=
 
<td width="10%" style="text-align:left;border-right-width:2px;border-right-style:solid;">{{{group5}}}</td> <td width="90%" style="text-align:left; background:#ffffff">{{{list5}}}</td>
 
}}
 
|-
 
{{#switch: {{{6|no}}} | yes=
 
<td width="10%" style="text-align:left;border-right-width:2px;border-right-style:solid;">{{{group6}}}</td> <td width="90%" style="text-align:left; background:#ffffff">{{{list6}}}</td>
 
}}
 
|-
 
{{#switch: {{{7|no}}} | yes=
 
<td width="10%" style="text-align:left;border-right-width:2px;border-right-style:solid;">{{{group7}}}</td> <td width="90%" style="text-align:left; background:#ffffff">{{{list7}}}</td>
 
}}
 
{{#switch: {{{8|no}}} | yes=
 
<td width="10%" style="text-align:left;border-right-width:2px;border-right-style:solid;">{{{group8}}}</td> <td width="90%" style="text-align:left; background:#ffffff">{{{list8}}}</td>
 
}}
 
|}
 

Latest revision as of 12:48, September 24, 2020