Template:Bottom nav: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
(Created page with '<!-- Please do not edit without discussion first as this is a VERY complex template. -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbo…')
 
No edit summary
Tag: Manual revert
 
(10 intermediate revisions by 4 users not shown)
Line 35: Line 35:
---Above---
---Above---
-->{{#if:{{{above|}}}|<!--
-->{{#if:{{{above|}}}|<!--
  -->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
  -->{{#if:{{{title|}}}|<tr style="height:2px;"><td class="navbox-spacer"></td></tr>}}<!--
  --><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" <!--
  --><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" <!--
  -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}">{{{above}}}</td></tr>}}<!--
  -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}">{{{above}}}</td></tr>}}<!--
Line 44: Line 44:


---First group/list and images---
---First group/list and images---
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<tr style="height:2px;"><td></td></tr>}}<tr><!--
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<tr style="height:2px;"><td class="navbox-spacer"></td></tr>}}<tr><!--


-->{{#if:{{{imageleft|}}}|<!--
-->{{#if:{{{imageleft|}}}|<!--
Line 77: Line 77:


-->{{#if:{{{list2|}}}|<!--
-->{{#if:{{{list2|}}}|<!--
  -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
  -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<tr style="height:2px"><td class="navbox-spacer"></td></tr>}}<tr><!--
  -->{{#if:{{{group2|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group2style|}}}"><!--
  -->{{#if:{{{group2|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group2style|}}}"><!--
  -->{{{group2}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group2}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 85: Line 85:


-->{{#if:{{{list3|}}}|<!--
-->{{#if:{{{list3|}}}|<!--
  -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
  -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td class="navbox-spacer"></td></tr>}}<tr><!--
  -->{{#if:{{{group3|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group3style|}}}"><!--
  -->{{#if:{{{group3|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group3style|}}}"><!--
  -->{{{group3}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group3}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 93: Line 93:


-->{{#if:{{{list4|}}}|<!--
-->{{#if:{{{list4|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group4|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group4style|}}}"><!--
  -->{{#if:{{{group4|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group4style|}}}"><!--
  -->{{{group4}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group4}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 101: Line 101:


-->{{#if:{{{list5|}}}|<!--
-->{{#if:{{{list5|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group5|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group5style|}}}"><!--
  -->{{#if:{{{group5|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group5style|}}}"><!--
  -->{{{group5}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group5}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 109: Line 109:


-->{{#if:{{{list6|}}}|<!--
-->{{#if:{{{list6|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group6|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group6style|}}}"><!--
  -->{{#if:{{{group6|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group6style|}}}"><!--
  -->{{{group6}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group6}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 117: Line 117:


-->{{#if:{{{list7|}}}|<!--
-->{{#if:{{{list7|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group7|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group7style|}}}"><!--
  -->{{#if:{{{group7|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group7style|}}}"><!--
  -->{{{group7}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group7}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 125: Line 125:


-->{{#if:{{{list8|}}}|<!--
-->{{#if:{{{list8|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group8|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group8style|}}}"><!--
  -->{{#if:{{{group8|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group8style|}}}"><!--
  -->{{{group8}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group8}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 133: Line 133:


-->{{#if:{{{list9|}}}|<!--
-->{{#if:{{{list9|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group9|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group9style|}}}"><!--
  -->{{#if:{{{group9|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group9style|}}}"><!--
  -->{{{group9}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group9}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 141: Line 141:


-->{{#if:{{{list10|}}}|<!--
-->{{#if:{{{list10|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group10|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group10style|}}}"><!--
  -->{{#if:{{{group10|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group10style|}}}"><!--
  -->{{{group10}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group10}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 149: Line 149:


-->{{#if:{{{list11|}}}|<!--
-->{{#if:{{{list11|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group11|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group11style|}}}"><!--
  -->{{#if:{{{group11|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group11style|}}}"><!--
  -->{{{group11}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group11}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 157: Line 157:


-->{{#if:{{{list12|}}}|<!--
-->{{#if:{{{list12|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group12|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group12style|}}}"><!--
  -->{{#if:{{{group12|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group12style|}}}"><!--
  -->{{{group12}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group12}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 165: Line 165:


-->{{#if:{{{list13|}}}|<!--
-->{{#if:{{{list13|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group13|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group13style|}}}"><!--
  -->{{#if:{{{group13|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group13style|}}}"><!--
  -->{{{group13}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group13}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 173: Line 173:


-->{{#if:{{{list14|}}}|<!--
-->{{#if:{{{list14|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group14|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group14style|}}}"><!--
  -->{{#if:{{{group14|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group14style|}}}"><!--
  -->{{{group14}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group14}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 181: Line 181:


-->{{#if:{{{list15|}}}|<!--
-->{{#if:{{{list15|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group15|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group15style|}}}"><!--
  -->{{#if:{{{group15|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group15style|}}}"><!--
  -->{{{group15}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group15}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 189: Line 189:


-->{{#if:{{{list16|}}}|<!--
-->{{#if:{{{list16|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group16|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group16style|}}}"><!--
  -->{{#if:{{{group16|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group16style|}}}"><!--
  -->{{{group16}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group16}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 197: Line 197:


-->{{#if:{{{list17|}}}|<!--
-->{{#if:{{{list17|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group17|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group17style|}}}"><!--
  -->{{#if:{{{group17|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group17style|}}}"><!--
  -->{{{group17}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group17}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 205: Line 205:


-->{{#if:{{{list18|}}}|<!--
-->{{#if:{{{list18|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group18|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group18style|}}}"><!--
  -->{{#if:{{{group18|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group18style|}}}"><!--
  -->{{{group18}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group18}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 213: Line 213:


-->{{#if:{{{list19|}}}|<!--
-->{{#if:{{{list19|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group19|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group19style|}}}"><!--
  -->{{#if:{{{group19|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group19style|}}}"><!--
  -->{{{group19}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group19}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 221: Line 221:


-->{{#if:{{{list20|}}}|<!--
-->{{#if:{{{list20|}}}|<!--
  --><tr style="height:2px"><td></td></tr><tr><!--
  --><tr style="height:2px"><td class="navbox-spacer"></td></tr><tr><!--
  -->{{#if:{{{group20|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group20style|}}}"><!--
  -->{{#if:{{{group20|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group20style|}}}"><!--
  -->{{{group20}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
  -->{{{group20}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
Line 238: Line 238:
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!--
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!--


-->
--><noinclude>{{documentation}}[[Category: Navbox Templates]]</noinclude>

Latest revision as of 15:13, 30 August 2022

[edit] [purge] Template documentation

This template inserts more templates. For their use, check:

{{Bottom nav
|title = {{team flag|}}
|name = the name of your navbox
|image = [[File:your emblem|100px]]

|above = [[page]]

|group1 = group title
|list1 = [[page]]{{,}} [[page]]{{,}} [[page]]{{,}}

|group2 = group title
|list2 = [[page]]{{,}} [[page]]{{,}} [[page]]{{,}}
{{Navbox subgroup
        |group1 = group title
        |list1 = [[page]]{{,}} [[page]]{{,}} [[page]]{{,}}
}}

...

|group3 = group title
|list3 = [[page]]{{,}} [[page]]{{,}} [[page]]{{,}}

|below = [[article]]
}}