Template:Navbox
From DominionStrategy Wiki
(Difference between revisions)
Line 6: | Line 6: | ||
<nowiki> |Group2=Second Header|List2=Content of second row}}</nowiki> | <nowiki> |Group2=Second Header|List2=Content of second row}}</nowiki> | ||
− | Currently up to | + | Currently up to 15 rows supported. |
</noinclude><includeonly> | </noinclude><includeonly> | ||
{| align="center" class=noprint collapsible style="background-color:#EEE;border:1px solid black;font-size: 80%;width:100%" cellpadding="1" cellspacing="1" | {| align="center" class=noprint collapsible style="background-color:#EEE;border:1px solid black;font-size: 80%;width:100%" cellpadding="1" cellspacing="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}}}}}}} | + | ! 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}}}}}}} |
|} | |} | ||
</includeonly> | </includeonly> |
Revision as of 19:28, 25 October 2012
Dynamic Navigation Box
Usage
{{Navbox|Title=Title |Group1=First Header|List1=Content of first row |Group2=Second Header|List2=Content of second row}}
Currently up to 15 rows supported.