Difference between revisions of "Template:Civil navigation"
Jump to navigation
Jump to search
imported>Plastikspork (Expand) |
imported>Andrybak m (move categorization to /doc per WP:CAT#T) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Template wrapper|wrap|_template=navbox | <includeonly>{{#invoke:Template wrapper|wrap|_template=navbox | ||
| − | |titlestyle | + | |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|}}} | ||
| − | |||
|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|}}};}} | ||
| Line 12: | Line 11: | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
| − | |||
</noinclude> | </noinclude> | ||
Latest revision as of 09:43, 2 July 2020
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
- {{Military navigation}} for a series of military conflicts
- {{infobox civil conflict}}
Examples
| The above documentation is transcluded from Template:Civil navigation/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |