Difference between revisions of "Template:Navbox"

m
m
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="uoguidetable {{#ifeq:{{{leftalign}}}|yes|leftalign}} open" style="font-size:11px; width:100%;"
+
<noinclude>{{Categorize|Information Templates}}{{Categorize|Wiki Templates}}</noinclude><includeonly>{| class="uoguidetable {{#if:{{{group1|}}}|leftalign|{{#ifeq:{{{leftalign}}}|true|leftalign}}}} open navbox collapsible nowraplinks"
! colspan="{{#expr:2{{#if:{{{image|}}}|+1}}}}" style="font-size:12px;" | {{{title}}}
+
! colspan="{{#expr:1{{#if:{{{group1|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" style="font-size:12px;" | {{{title}}}
 
|-
 
|-
{{#ifeq: {{{groups|}}} | yes
+
{{#if: {{{group1|}}}
| ! {{{group1}}}
+
| ! style="white-space:nowrap;" {{!}} {{{group1}}}
{{!}} style="width:100%;" {{!}} {{{list1}}}
+
{{!}} style="width:100%;" {{!}}
 +
{{{list1}}}
 
{{#if: {{{image|}}}
 
{{#if: {{{image|}}}
| {{!}} rowspan="{{#expr:1{{#if:{{{list2|}}}|+1}}{{#if:{{{list3|}}}|+1}}{{#if:{{{list4|}}}|+1}}{{#if:{{{list5|}}}|+1}}{{#if:{{{list6|}}}|+1}}{{#if:{{{list7|}}}|+1}}{{#if:{{{list8|}}}|+1}}{{#if:{{{list9|}}}|+1}}{{#if:{{{list10|}}}|+1}}}}" style="vertical-align:middle;" {{!}} {{{image}}}
+
| {{!}} rowspan="{{#expr:1{{#if:{{{list2|}}}|+1}}{{#if:{{{list3|}}}|+1}}{{#if:{{{list4|}}}|+1}}{{#if:{{{list5|}}}|+1}}{{#if:{{{list6|}}}|+1}}{{#if:{{{list7|}}}|+1}}{{#if:{{{list8|}}}|+1}}{{#if:{{{list9|}}}|+1}}{{#if:{{{list10|}}}|+1}}{{#if:{{{list11|}}}|+1}}{{#if:{{{list12|}}}|+1}}}}" style="vertical-align:middle;" {{!}} {{{image}}}
 
}}
 
}}
 
{{#if: {{{group2|}}}
 
{{#if: {{{group2|}}}
 
| {{!}}-
 
| {{!}}-
! {{{group2}}}
+
! style="white-space:nowrap;" {{!}} {{{group2}}}
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list2}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list2}}}
 
{{#if: {{{group3|}}}
 
{{#if: {{{group3|}}}
 
| {{!}}-
 
| {{!}}-
! {{{group3}}}
+
! style="white-space:nowrap;" {{!}} {{{group3}}}
{{!}} {{{list3}}}
+
{{!}}
 +
{{{list3}}}
 
{{#if: {{{group4|}}}
 
{{#if: {{{group4|}}}
 
| {{!}}-
 
| {{!}}-
! {{{group4}}}
+
! style="white-space:nowrap;" {{!}} {{{group4}}}
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list4}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list4}}}
 
{{#if: {{{group5|}}}
 
{{#if: {{{group5|}}}
 
| {{!}}-
 
| {{!}}-
! {{{group5}}}
+
! style="white-space:nowrap;" {{!}} {{{group5}}}
{{!}} {{{list5}}}
+
{{!}}
 +
{{{list5}}}
 
{{#if: {{{group6|}}}
 
{{#if: {{{group6|}}}
 
| {{!}}-
 
| {{!}}-
! {{{group6}}}
+
! style="white-space:nowrap;" {{!}} {{{group6}}}
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list6}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list6}}}
 
{{#if: {{{group7|}}}
 
{{#if: {{{group7|}}}
 
| {{!}}-
 
| {{!}}-
! {{{group7}}}
+
! style="white-space:nowrap;" {{!}} {{{group7}}}
{{!}} {{{list7}}}
+
{{!}}
 +
{{{list7}}}
 
{{#if: {{{group8|}}}
 
{{#if: {{{group8|}}}
 
| {{!}}-
 
| {{!}}-
! {{{group8}}}
+
! style="white-space:nowrap;" {{!}} {{{group8}}}
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list8}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list8}}}
 
{{#if: {{{group9|}}}
 
{{#if: {{{group9|}}}
 
| {{!}}-
 
| {{!}}-
! {{{group9}}}
+
! style="white-space:nowrap;" {{!}} {{{group9}}}
 
{{!}} {{{list9}}}
 
{{!}} {{{list9}}}
 
{{#if: {{{group10|}}}
 
{{#if: {{{group10|}}}
 
| {{!}}-
 
| {{!}}-
! {{{group10}}}
+
! style="white-space:nowrap;" {{!}} {{{group10}}}
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list10}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
}} }} }} }} }} }} }} }} }}
+
{{{list10}}}
| {{!}} style="width:100%;" {{!}} {{{list1}}}
+
{{#if: {{{group11|}}}
 +
| {{!}}-
 +
! style="white-space:nowrap;" {{!}} {{{group11}}}
 +
{{!}}
 +
{{{list11}}}
 +
{{#if: {{{group12|}}}
 +
| {{!}}-
 +
! style="white-space:nowrap;" {{!}} {{{group12}}}
 +
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list12}}}
 +
}} }} }} }} }} }} }} }} }} }} }}
 +
| {{!}} style="width:100%;" {{!}}
 +
{{{list1}}}
 
{{#if: {{{image|}}}
 
{{#if: {{{image|}}}
| {{!}} rowspan="{{#expr:1{{#if:{{{list2|}}}|+1}}{{#if:{{{list3|}}}|+1}}{{#if:{{{list4|}}}|+1}}{{#if:{{{list5|}}}|+1}}{{#if:{{{list6|}}}|+1}}{{#if:{{{list7|}}}|+1}}{{#if:{{{list8|}}}|+1}}{{#if:{{{list9|}}}|+1}}{{#if:{{{list10|}}}|+1}}}}" style="vertical-align:middle;" {{!}} {{{image}}}
+
| {{!}} rowspan="{{#expr:1{{#if:{{{list2|}}}|+1}}{{#if:{{{list3|}}}|+1}}{{#if:{{{list4|}}}|+1}}{{#if:{{{list5|}}}|+1}}{{#if:{{{list6|}}}|+1}}{{#if:{{{list7|}}}|+1}}{{#if:{{{list8|}}}|+1}}{{#if:{{{list9|}}}|+1}}{{#if:{{{list10|}}}|+1}}{{#if:{{{list11|}}}|+1}}{{#if:{{{list12|}}}|+1}}}}" style="vertical-align:middle;" {{!}} {{{image}}}
 
}}
 
}}
 
{{#if: {{{list2|}}}
 
{{#if: {{{list2|}}}
 
| {{!}}-
 
| {{!}}-
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list2}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list2}}}
 
{{#if: {{{list3|}}}
 
{{#if: {{{list3|}}}
 
| {{!}}-
 
| {{!}}-
{{!}} {{{list3}}}
+
{{!}}
 +
{{{list3}}}
 
{{#if: {{{list4|}}}
 
{{#if: {{{list4|}}}
 
| {{!}}-
 
| {{!}}-
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list4}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list4}}}
 
{{#if: {{{list5|}}}
 
{{#if: {{{list5|}}}
 
| {{!}}-
 
| {{!}}-
{{!}} {{{list5}}}
+
{{!}}
 +
{{{list5}}}
 
{{#if: {{{list6|}}}
 
{{#if: {{{list6|}}}
 
| {{!}}-
 
| {{!}}-
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list6}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list6}}}
 
{{#if: {{{list7|}}}
 
{{#if: {{{list7|}}}
 
| {{!}}-
 
| {{!}}-
{{!}} {{{list7}}}
+
{{!}}
 +
{{{list7}}}
 
{{#if: {{{list8|}}}
 
{{#if: {{{list8|}}}
 
| {{!}}-
 
| {{!}}-
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list8}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list8}}}
 
{{#if: {{{list9|}}}
 
{{#if: {{{list9|}}}
 
| {{!}}-
 
| {{!}}-
{{!}} {{{list9}}}
+
{{!}}
 +
{{{list9}}}
 
{{#if: {{{list10|}}}
 
{{#if: {{{list10|}}}
 
| {{!}}-
 
| {{!}}-
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list10}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
}} }} }} }} }} }} }} }} }} }}
+
{{{list10}}}
|}
+
{{#if: {{{list11|}}}
 +
| {{!}}-
 +
{{!}}
 +
{{{list11}}}
 +
{{#if: {{{list12|}}}
 +
| {{!}}-
 +
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list12}}}
 +
}} }} }} }} }} }} }} }} }} }} }} }}
 +
|}{{#if: {{{category|}}} | {{Categorize|{{{category}}}}} }}</includeonly>

Latest revision as of 07:54, 9 August 2011