Difference between revisions of "Template:Navbox"
From WikiTemp, the GBAtemp wiki
(v2) |
(v3) |
||
Line 7: | Line 7: | ||
!style="background: #DDF;" colspan="2"{{!}}{{{above}}} | !style="background: #DDF;" colspan="2"{{!}}{{{above}}} | ||
}} | }} | ||
− | {{#if:{{{group1| | + | |- |
− | {{ | + | {{#if:{{{group1|}}}|{{NavBoxGroup{{!}}{{{group1|No title}}}{{!}}{{{list1|}}}}}}} |
− | + | |- | |
− | {{!}} | + | {{#if:{{{group2|}}}|{{NavBoxGroup{{!}}{{{group2|No title}}}{{!}}{{{list2|}}}}}}} |
− | }} | + | |- |
− | {{#if:{{{group2|}}}| | + | {{#if:{{{group3|}}}|{{NavBoxGroup{{!}}{{{group3|No title}}}{{!}}{{{list3|}}}}}}} |
− | {{ | + | |- |
− | + | {{#if:{{{group4|}}}|{{NavBoxGroup{{!}}{{{group4|No title}}}{{!}}{{{list4|}}}}}}} | |
− | + | |- | |
− | }} | + | {{#if:{{{group5|}}}|{{NavBoxGroup{{!}}{{{group5|No title}}}{{!}}{{{list5|}}}}}}} |
− | {{#if:{{{group3|}}}| | + | |- |
− | {{ | + | |
− | + | ||
− | {{!}} | + | |
− | }} | + | |
− | {{#if:{{{group4|}}}| | + | |
− | {{ | + | |
− | + | ||
− | {{!}} | + | |
− | }} | + | |
− | {{#if:{{{group5|}}}| | + | |
− | {{ | + | |
− | + | ||
− | {{!}} | + | |
− | }} | + | |
{{#if:{{{below|}}}| | {{#if:{{{below|}}}| | ||
{{!}}- | {{!}}- | ||
Line 38: | Line 24: | ||
|} | |} | ||
</div> | </div> | ||
− | </div> | + | </div><noinclude> |
+ | |||
+ | {{documentation}}</noinclude> |
Revision as of 16:49, 4 December 2010
Navbox Title
↑ Template Documentation ↓ [Edit • Reload] | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This template is mainly to be used in Navigation templates. It is also possible to use it directly on a page though. Parameters
Notes
Example{{NavBox |title = Click show on the right |collapse = Auto <!-- To see this in effect, see the difference between the Template page and the /doc subpage --> |above = Top text |group1 = First |list1 = Test |group4 = Second? |list4 = [[Main Page]] |list3 = ''List can go before the group'' |group3 = Third? |list5 = This list has no group, so is centered. |group7 = This group has no list, so doesn't show. |image = Image:Ak22.jpg |imagewidth = 70px |below = '''Bottom text'''}} The text above produces:
| ||||||||||||||||||
The above documentation was Transcluded from the /doc subpage |