Difference between revisions of "Template:Navbox"

m
m
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Information Templates|{{PAGENAME}}]][[Category:Wiki Templates|{{PAGENAME}}]]</noinclude><includeonly>{| class="uoguidetable {{#ifeq:{{{leftalign}}}|true|leftalign}} open navbox collapses"
+
<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}}}
 
|-
 
|-
 
{{#if: {{{group1|}}}
 
{{#if: {{{group1|}}}
 
| ! style="white-space:nowrap;" {{!}} {{{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}}}}{{#if:{{{list11|}}}|+1}}}}{{#if:{{{list12|}}}|+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|}}}
 
| {{!}}-
 
| {{!}}-
 
! style="white-space:nowrap;" {{!}} {{{group2}}}
 
! style="white-space:nowrap;" {{!}} {{{group2}}}
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list2}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list2}}}
 
{{#if: {{{group3|}}}
 
{{#if: {{{group3|}}}
 
| {{!}}-
 
| {{!}}-
 
! style="white-space:nowrap;" {{!}} {{{group3}}}
 
! style="white-space:nowrap;" {{!}} {{{group3}}}
{{!}} {{{list3}}}
+
{{!}}
 +
{{{list3}}}
 
{{#if: {{{group4|}}}
 
{{#if: {{{group4|}}}
 
| {{!}}-
 
| {{!}}-
 
! style="white-space:nowrap;" {{!}} {{{group4}}}
 
! style="white-space:nowrap;" {{!}} {{{group4}}}
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list4}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list4}}}
 
{{#if: {{{group5|}}}
 
{{#if: {{{group5|}}}
 
| {{!}}-
 
| {{!}}-
 
! style="white-space:nowrap;" {{!}} {{{group5}}}
 
! style="white-space:nowrap;" {{!}} {{{group5}}}
{{!}} {{{list5}}}
+
{{!}}
 +
{{{list5}}}
 
{{#if: {{{group6|}}}
 
{{#if: {{{group6|}}}
 
| {{!}}-
 
| {{!}}-
 
! style="white-space:nowrap;" {{!}} {{{group6}}}
 
! style="white-space:nowrap;" {{!}} {{{group6}}}
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list6}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list6}}}
 
{{#if: {{{group7|}}}
 
{{#if: {{{group7|}}}
 
| {{!}}-
 
| {{!}}-
 
! style="white-space:nowrap;" {{!}} {{{group7}}}
 
! style="white-space:nowrap;" {{!}} {{{group7}}}
{{!}} {{{list7}}}
+
{{!}}
 +
{{{list7}}}
 
{{#if: {{{group8|}}}
 
{{#if: {{{group8|}}}
 
| {{!}}-
 
| {{!}}-
 
! style="white-space:nowrap;" {{!}} {{{group8}}}
 
! style="white-space:nowrap;" {{!}} {{{group8}}}
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list8}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list8}}}
 
{{#if: {{{group9|}}}
 
{{#if: {{{group9|}}}
 
| {{!}}-
 
| {{!}}-
Line 43: Line 51:
 
| {{!}}-
 
| {{!}}-
 
! style="white-space:nowrap;" {{!}} {{{group10}}}
 
! style="white-space:nowrap;" {{!}} {{{group10}}}
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list10}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list10}}}
 
{{#if: {{{group11|}}}
 
{{#if: {{{group11|}}}
 
| {{!}}-
 
| {{!}}-
 
! style="white-space:nowrap;" {{!}} {{{group11}}}
 
! style="white-space:nowrap;" {{!}} {{{group11}}}
{{!}} {{{list11}}}
+
{{!}}
 +
{{{list11}}}
 
{{#if: {{{group12|}}}
 
{{#if: {{{group12|}}}
 
| {{!}}-
 
| {{!}}-
 
! style="white-space:nowrap;" {{!}} {{{group12}}}
 
! style="white-space:nowrap;" {{!}} {{{group12}}}
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list12}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list12}}}
 
}} }} }} }} }} }} }} }} }} }} }}
 
}} }} }} }} }} }} }} }} }} }} }}
| {{!}} {{{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}}}}{{#if:{{{list11|}}}|+1}}}}{{#if:{{{list12|}}}|+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|}}}
 
{{#if: {{{list11|}}}
 
| {{!}}-
 
| {{!}}-
{{!}} {{{list11}}}
+
{{!}}
 +
{{{list11}}}
 
{{#if: {{{list12|}}}
 
{{#if: {{{list12|}}}
 
| {{!}}-
 
| {{!}}-
{{!}} style="background-color:#E2E1B4;" {{!}} {{{list12}}}
+
{{!}} style="background-color:#E2E1B4;" {{!}}
 +
{{{list12}}}
 
}} }} }} }} }} }} }} }} }} }} }} }}
 
}} }} }} }} }} }} }} }} }} }} }} }}
|}{{#if: {{{category|}}} | [[Category:{{{category}}}|{{PAGENAME}}]] }}</includeonly>
+
|}{{#if: {{{category|}}} | {{Categorize|{{{category}}}}} }}</includeonly>

Latest revision as of 06:54, 9 August 2011