Latest revision |
Your text |
Line 1: |
Line 1: |
− | {| align="center" style="border:1px solid silver;border-spacing:0;width:100%;background-color:#FFF;{{{style|}}}" | + | <noinclude> |
| + | Dynamic Navigation Box |
| + | ==Usage== |
| + | <nowiki>{{Navbox|Title=Title</nowiki> |
| + | <nowiki> |Group1=First Header|List1=Content of first row</nowiki> |
| + | <nowiki> |Group2=Second Header|List2=Content of second row}}</nowiki> |
| + | |
| + | Currently up to 15 rows supported. |
| + | </noinclude><includeonly> |
| + | {| align="center" class="noprint mw-collapsible mw-collapsed" style="background-color:#EEE;border:1px solid black;font-size: 80%;width:100%" cellpadding="1" cellspacing="1" |
| |- | | |- |
− | |<table class="noprint {{#if:{{{collapsible|}}}|mw-collapsible}} {{#ifeq:{{{collapsible|}}}|collapsed|mw-collapsed}}" style="font-size:80%;width:100%;border-collapse:separate" cellpadding="1">
| + | ! align="center" colspan="2" style="border-bottom:1px #000 solid;background-color:#CCF;font-size: 120%"| {{{Title}}} {{#if:{{{Group1|}}}|{{NavboxRow|Key={{{Group1}}}|Value={{{List1}}}}}}}{{#if:{{{Group2|}}}|{{NavboxRow|Key={{{Group2}}}|Value={{{List2}}}}}}}{{#if:{{{Group3|}}}|{{NavboxRow|Key={{{Group3}}}|Value={{{List3}}}}}}}{{#if:{{{Group4|}}}|{{NavboxRow|Key={{{Group4}}}|Value={{{List4}}}}}}}{{#if:{{{Group5|}}}|{{NavboxRow|Key={{{Group5}}}|Value={{{List5}}}}}}}{{#if:{{{Group6|}}}|{{NavboxRow|Key={{{Group6}}}|Value={{{List6}}}}}}}{{#if:{{{Group7|}}}|{{NavboxRow|Key={{{Group7}}}|Value={{{List7}}}}}}}{{#if:{{{Group8|}}}|{{NavboxRow|Key={{{Group8}}}|Value={{{List8}}}}}}}{{#if:{{{Group9|}}}|{{NavboxRow|Key={{{Group9}}}|Value={{{List9}}}}}}}{{#if:{{{Group10|}}}|{{NavboxRow|Key={{{Group10}}}|Value={{{List10}}}}}}}{{#if:{{{Group11|}}}|{{NavboxRow|Key={{{Group11}}}|Value={{{List11}}}}}}}{{#if:{{{Group12|}}}|{{NavboxRow|Key={{{Group12}}}|Value={{{List12}}}}}}}{{#if:{{{Group13|}}}|{{NavboxRow|Key={{{Group13}}}|Value={{{List13}}}}}}}{{#if:{{{Group14|}}}|{{NavboxRow|Key={{{Group14}}}|Value={{{List14}}}}}}}{{#if:{{{Group15|}}}|{{NavboxRow|Key={{{Group15}}}|Value={{{List15}}}}}}} |
− | <tr>
| + | |} |
− | <th colspan="2" style="padding:0 1em;background-color:#CCF;font-size:120%;">{{Navbar|{{{name|{{FULLPAGENAME}}}}}|mini=1|style=float:left}}<div style="text-algin:center;{{{titlestyle|}}}">{{{title}}}</div></th></tr>
| + | </includeonly> |
− | {{#if:{{{list1|}}}|<tr> | + | |
− | {{#if:{{{group1|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group1style|}}}">{{{group1}}}</th>}} | + | |
− | <{{#if:{{{group1|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list1style|}}}">{{{list1}}}</td>
| + | |
− | </tr>}}{{#if:{{{list2|}}}|<tr>
| + | |
− | {{#if:{{{group2|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group2style|}}}">{{{group2}}}</th>}}
| + | |
− | <{{#if:{{{group2|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list2style|}}}">{{{list2}}}</td>
| + | |
− | </tr>}}{{#if:{{{list3|}}}|<tr>
| + | |
− | {{#if:{{{group3|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group3style|}}}">{{{group3}}}</th>}} | + | |
− | <{{#if:{{{group3|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list3style|}}}">{{{list3}}}</td>
| + | |
− | </tr>}}{{#if:{{{list4|}}}|<tr>
| + | |
− | {{#if:{{{group4|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group4style|}}}">{{{group4}}}</th>}}
| + | |
− | <{{#if:{{{group4|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list4style|}}}">{{{list4}}}</td>
| + | |
− | </tr>}}{{#if:{{{list5|}}}|<tr>
| + | |
− | {{#if:{{{group5|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group5style|}}}">{{{group5}}}</th>}} | + | |
− | <{{#if:{{{group5|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list5style|}}}">{{{list5}}}</td>
| + | |
− | </tr>}}{{#if:{{{list6|}}}|<tr>
| + | |
− | {{#if:{{{group6|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group6style|}}}">{{{group6}}}</th>}} | + | |
− | <{{#if:{{{group6|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list6style|}}}">{{{list6}}}</td>
| + | |
− | </tr>}}{{#if:{{{list7|}}}|<tr>
| + | |
− | {{#if:{{{group7|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group7style|}}}">{{{group7}}}</th>}} | + | |
− | <{{#if:{{{group7|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list7style|}}}">{{{list7}}}</td>
| + | |
− | </tr>}}{{#if:{{{list8|}}}|<tr>
| + | |
− | {{#if:{{{group8|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group8style|}}}">{{{group8}}}</th>}} | + | |
− | <{{#if:{{{group8|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list8style|}}}">{{{list8}}}</td>
| + | |
− | </tr>}}{{#if:{{{list9|}}}|<tr>
| + | |
− | {{#if:{{{group9|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group9style|}}}">{{{group9}}}</th>}}
| + | |
− | <{{#if:{{{group9|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list9style|}}}">{{{list9}}}</td>
| + | |
− | </tr>}}{{#if:{{{list10|}}}|<tr>
| + | |
− | {{#if:{{{group10|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group10style|}}}">{{{group10}}}</th>}} | + | |
− | <{{#if:{{{group10|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list10style|}}}">{{{list10}}}</td>
| + | |
− | </tr>}}{{#if:{{{list11|}}}|<tr>
| + | |
− | {{#if:{{{group11|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group11style|}}}">{{{group11}}}</th>}} | + | |
− | <{{#if:{{{group11|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list11style|}}}">{{{list11}}}</td>
| + | |
− | </tr>}}{{#if:{{{list12|}}}|<tr>
| + | |
− | {{#if:{{{group12|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group12style|}}}">{{{group12}}}</th>}} | + | |
− | <{{#if:{{{group12|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list12style|}}}">{{{list12}}}</td>
| + | |
− | </tr>}}{{#if:{{{list13|}}}|<tr>
| + | |
− | {{#if:{{{group13|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group13style|}}}">{{{group13}}}</th>}} | + | |
− | <{{#if:{{{group13|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list13style|}}}">{{{list13}}}</td>
| + | |
− | </tr>}}{{#if:{{{list14|}}}|<tr>
| + | |
− | {{#if:{{{group14|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group14style|}}}">{{{group14}}}</th>}} | + | |
− | <{{#if:{{{group14|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list14style|}}}">{{{list14}}}</td>
| + | |
− | </tr>}}{{#if:{{{list15|}}}|<tr>
| + | |
− | {{#if:{{{group15|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group15style|}}}">{{{group15}}}</th>}} | + | |
− | <{{#if:{{{group15|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list15style|}}}">{{{list15}}}</td>
| + | |
− | </tr>}}{{#if:{{{list16|}}}|<tr>
| + | |
− | {{#if:{{{group16|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group16style|}}}">{{{group16}}}</th>}}
| + | |
− | <{{#if:{{{group16|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list16style|}}}">{{{list16}}}</td>
| + | |
− | </tr>}}{{#if:{{{list17|}}}|<tr>
| + | |
− | {{#if:{{{group17|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group17style|}}}">{{{group17}}}</th>}}
| + | |
− | <{{#if:{{{group17|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list17style|}}}">{{{list17}}}</td>
| + | |
− | </tr>}}{{#if:{{{list18|}}}|<tr>
| + | |
− | {{#if:{{{group18|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group18style|}}}">{{{group18}}}</th>}}
| + | |
− | <{{#if:{{{group18|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list18style|}}}">{{{list18}}}</td>
| + | |
− | </tr>}}{{#if:{{{list19|}}}|<tr>
| + | |
− | {{#if:{{{group19|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group19style|}}}">{{{group19}}}</th>}}
| + | |
− | <{{#if:{{{group19|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list19style|}}}">{{{list19}}}</td>
| + | |
− | </tr>}}{{#if:{{{list20|}}}|<tr>
| + | |
− | {{#if:{{{group20|}}}|<th style="min-width:100px;background-color:#CCF;{{{groupstyle|}}};{{{group20style|}}}">{{{group20}}}</th>}}
| + | |
− | <{{#if:{{{group20|}}}|td|td colspan="2"}} style="{{{liststyle|}}};{{{list20style|}}}">{{{list20}}}</td>
| + | |
− | </tr>}}
| + | |
− | </table>
| + | |
− | |}<noinclude>
| + | |
− | {{doc}}
| + | |
− | </noinclude> | + | |