Difference between revisions of "Template:Civil navigation"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Expand)
imported>Plastikspork
(Simplify)
Line 1: Line 1:
 
<includeonly>{{#invoke:Template wrapper|wrap|_template=navbox
 
<includeonly>{{#invoke:Template wrapper|wrap|_template=navbox
|titlestyle= {{#switch:{{{style|}}}|wide=background-color:#CEE0F2;|#default=background-color:#CEE0F2;}}
+
|titlestyle= background-color:#CEE0F2; {{{titlestyle|}}}
 
|bodystyle= {{#switch:{{{style|}}}|wide=|#default= {{#ifeq:{{{border|}}}|child|margin: 0; float: right; clear: right; width: 25em; margin-bottom: 0.5em;|margin:0;float:right;clear:right;width:25.5em;margin-bottom:0.5em;margin-left:1em;}}}}
 
|bodystyle= {{#switch:{{{style|}}}|wide=|#default= {{#ifeq:{{{border|}}}|child|margin: 0; float: right; clear: right; width: 25em; margin-bottom: 0.5em;|margin:0;float:right;clear:right;width:25.5em;margin-bottom:0.5em;margin-left:1em;}}}}
 
|groupstyle= background-color:#eeeeee; {{{groupstyle|}}}
 
|groupstyle= background-color:#eeeeee; {{{groupstyle|}}}
 
|belowstyle= background-color:#eeeeee; {{{belowstyle|}}}
 
|belowstyle= background-color:#eeeeee; {{{belowstyle|}}}
 
|abovestyle= background-color:#eeeeee; {{{abovestyle|}}}
 
|abovestyle= background-color:#eeeeee; {{{abovestyle|}}}
|liststyle= {{{liststyle|}}}
 
 
|oddstyle= {{#if:{{{odd_color|}}}|background: {{{odd_color|}}};}}
 
|oddstyle= {{#if:{{{odd_color|}}}|background: {{{odd_color|}}};}}
 
|evenstyle= {{#if:{{{even_color|}}}|background: {{{even_color|}}};}}
 
|evenstyle= {{#if:{{{even_color|}}}|background: {{{even_color|}}};}}

Revision as of 16:58, 23 June 2020

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