Template:Navbox: Difference between revisions

    m>CapitalR
    No edit summary
    m>CapitalR
    (Major upgrade)
    Line 1: Line 1:
    <!--
    <!--


    This template is waiting for changes to be made to {{Navbox generic}}, which it will soon transclude instead of {{User:CapitalR/Test}}.  This should be fixed within a matter of days (today being 8/14/2007).  Please refrain from changing to Navbox generic at this time, as it will cause problems in some browsers.
    Please do not edit without discussion first as this is a VERY complex template.


    -->{{User:CapitalR/Test
    -->{{User:CapitalR/Test2/core
    |name = {{{name|Navbox}}}
    |name = {{{name<noinclude>|{{FULLPAGENAME}}</noinclude>}}}
    |navbar = {{{navbar|}}}
    |navbar = {{{navbar|}}}
    |state = {{{state|autocollapse}}}
    |state = {{{state|autocollapse}}}
    |title = {{{title|}}}
    |title = {{{title|}}}
    |image = {{{image|}}}
    |image = {{{image|}}}
    |imageleft = {{{imageleft|}}}


    |bodystyle = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}| background:white;}}{{{bodystyle|}}}
    |imagespan = {{#expr:{{#if:{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}} +{{#if:{{{list3|}}}|1|0}} +{{#if:{{{list4|}}}|1|0}} +{{#if:{{{list5|}}}|1|0}} +{{#if:{{{list6|}}}|1|0}} +{{#if:{{{list7|}}}|1|0}} +{{#if:{{{list8|}}}|1|0}} +{{#if:{{{list9|}}}|1|0}} +{{#if:{{{list10|}}}|1|0}} +{{#if:{{{list11|}}}|1|0}} +{{#if:{{{list12|}}}|1|0}} +{{#if:{{{list13|}}}|1|0}} +{{#if:{{{list14|}}}|1|0}} +{{#if:{{{list15|}}}|1|0}} +{{#if:{{{list16|}}}|1|0}} +{{#if:{{{list17|}}}|1|0}} +{{#if:{{{list18|}}}|1|0}} +{{#if:{{{list19|}}}|1|0}} +{{#if:{{{list20|}}}|1|0}}}}
    |titlestyle = {{{titlestyle|}}}
    |abovestyle = background:#ddddff; text-align:center; {{{abovestyle|}}}
    |belowstyle = background:#ddddff; text-align:center; {{{belowstyle|}}}


    |groupstyle = background:#ddddff; text-align:right; vertical-align:top; {{{groupstyle|}}}
    |span = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}{{{imageleft|}}}|{{#if:{{{image|}}}|3|2}}|{{#if:{{{image|}}}|2|1}}}}
    |liststyle = text-align:{{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}|left|center}}; font-size:95%;{{{liststyle|}}}


    |oddstyle =  
    |nogroups = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}|false|true}}
    |evenstyle = background:#f9f9f9;
     
    |bodystyle = {{{style|}}}{{{bodystyle|}}}
    |titlestyle = {{{titlestyle|}}}
    |abovestyle = background:#ddddff;{{{abovestyle|}}}
    |belowstyle = background:#ddddff;{{{belowstyle|}}}


    |above = {{{above|}}}
    |above = {{{above|}}}
    |below = {{{below|}}}
    |below = {{{below|}}}


    |group1 = {{{group1|}}}
    |gs = white-space:nowrap;background:#ddddff;text-align:right;vertical-align:top;{{{groupstyle|}}}
    |list1 = {{{list1|}}}
    |ls = width:100%;font-size:95%;text-align:{{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}|left|center}};{{{liststyle|}}}
     
    |os = {{{oddstyle|}}}
    |group2 = {{{group2|}}}
    |es = background:#f7f7f7;{{{evenstyle|}}}
    |list2 = {{{list2|}}}
     
    |group3 = {{{group3|}}}
    |list3 = {{{list3|}}}
     
    |group4 = {{{group4|}}}
    |list4 = {{{list4|}}}
     
    |group5 = {{{group5|}}}
    |list5 = {{{list5|}}}
     
    |group6 = {{{group6|}}}
    |list6 = {{{list6|}}}
     
    |group7 = {{{group7|}}}
    |list7 = {{{list7|}}}
     
    |group8 = {{{group8|}}}
    |list8 = {{{list8|}}}
     
    |group9 = {{{group9|}}}
    |list9 = {{{list9|}}}
     
    |group10 = {{{group10|}}}
    |list10 = {{{list10|}}}
     
    |group11 = {{{group11|}}}
    |list11 = {{{list11|}}}
     
    |group12 = {{{group12|}}}
    |list12 = {{{list12|}}}
     
    |group13 = {{{group13|}}}
    |list13 = {{{list13|}}}
     
    |group14 = {{{group14|}}}
    |list14 = {{{list14|}}}
     
    |group15 = {{{group15|}}}
    |list15 = {{{list15|}}}
     
    |group16 = {{{group16|}}}
    |list16 = {{{list16|}}}
     
    |group17 = {{{group17|}}}
    |list17 = {{{list17|}}}
     
    |group18 = {{{group18|}}}
    |list18 = {{{list18|}}}


    |group19 = {{{group19|}}}
    |g1 = {{{group1|}}}
    |list19 = {{{list19|}}}
    |g2 = {{{group2|}}}
    |g3 = {{{group3|}}}
    |g4 = {{{group4|}}}
    |g5 = {{{group5|}}}
    |g6 = {{{group6|}}}
    |g7 = {{{group7|}}}
    |g8 = {{{group8|}}}
    |g9 = {{{group9|}}}
    |g10 = {{{group10|}}}
    |g11 = {{{group11|}}}
    |g12 = {{{group12|}}}
    |g13 = {{{group13|}}}
    |g14 = {{{group14|}}}
    |g15 = {{{group15|}}}
    |g16 = {{{group16|}}}
    |g17 = {{{group17|}}}
    |g18 = {{{group18|}}}
    |g19 = {{{group19|}}}
    |g20 = {{{group20|}}}


    |group20 = {{{group20|}}}
    |l1 = {{{list1|}}}
    |list20 = {{{list20|}}}
    |l2 = {{{list2|}}}
    |l3 = {{{list3|}}}
    |l4 = {{{list4|}}}
    |l5 = {{{list5|}}}
    |l6 = {{{list6|}}}
    |l7 = {{{list7|}}}
    |l8 = {{{list8|}}}
    |l9 = {{{list9|}}}
    |l10 = {{{list10|}}}
    |l11 = {{{list11|}}}
    |l12 = {{{list12|}}}
    |l13 = {{{list13|}}}
    |l14 = {{{list14|}}}
    |l15 = {{{list15|}}}
    |l16 = {{{list16|}}}
    |l17 = {{{list17|}}}
    |l18 = {{{list18|}}}
    |l19 = {{{list19|}}}
    |l20 = {{{list20|}}}


    }}<noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
    }}<noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>