Difference between revisions of "Template:Civil navigation"

From blackwiki
Jump to navigation Jump to search
imported>Bonthefox3
imported>Bonthefox3
Line 1: Line 1:
 
<includeonly>{{navbox
 
<includeonly>{{navbox
 
|titlestyle= {{#switch:{{{style|}}}|wide=background-color: #CEE0F2; vertical-align: middle|#default=background-color: #CEE0F2; vertical-align: middle}}
 
|titlestyle= {{#switch:{{{style|}}}|wide=background-color: #CEE0F2; vertical-align: middle|#default=background-color: #CEE0F2; vertical-align: middle}}
|bodystyle= {{#switch:{{{style|}}}|wide={{WPMILHIST Infobox style|nav_box_wide}}|#default= {{#ifeq:{{{border|}}}|child|{{WPMILHIST Infobox style|nav_box_child}}|{{WPMILHIST Infobox style|nav_box}}}}}}
+
|bodystyle= {{#switch:{{{style|}}}|wide={{WPMILHIST Infobox style|nav_box_wide}}|#default= {{#ifeq:{{{border|}}}|child|margin:0;float:right;clear:right;width:25em;margin-bottom:0.5em;|{{WPMILHIST Infobox style|nav_box}}}}}}
 
|groupstyle= background-color: #eeeeee; vertical-align: middle {{{groupstyle|}}}
 
|groupstyle= background-color: #eeeeee; vertical-align: middle {{{groupstyle|}}}
 
|belowstyle= background-color: #eeeeee; vertical-align: middle {{{belowstyle|}}}
 
|belowstyle= background-color: #eeeeee; vertical-align: middle {{{belowstyle|}}}

Revision as of 10:22, 8 December 2019

Template documentation[view] [edit] [history] [purge]

Usage

{{Civil navigation
| name = 
| raw_name =
| state = 
| style = 
| title = 
| image = 
| imageleft = 
| odd_color = 
| even_color = 
| above = 
| listclass = 

| group1 = 
| list1 = 

| group2 = 
| list2 = 

| group3 = 
| list3 = 
...
| group30 = 
| list30 = 

| below = 
}}

Additional parameters

| bodyclass =
| belowclass =
| notes =

See also

Examples