Template:Navbox: Difference between revisions
From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| (68 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
Please do not edit without discussion first as this is a VERY complex template. | Please do not edit without discussion first as this is a VERY complex template. | ||
N.B. | |||
This template is correct and fully working. | |||
Code herein is per wikipedia. | |||
No changes required. | |||
EDITs - | |||
Control of all fixed background colours is now relocated to calling file. | |||
-->{{Navbox/core | -->{{Navbox/core | ||
| Line 8: | Line 17: | ||
|state = {{{state|autocollapse}}} | |state = {{{state|autocollapse}}} | ||
|title = {{{title|}}} | |title = {{{title|}}} | ||
|image = {{{image|}}} | |||
|imageleft = {{{imageleft|}}} | |||
|imagespan = {{#expr:{{#if:{{{body|}}}{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}} +{{#if:{{{list3|}}}|1|0}} +{{#if:{{{list4|}}}|1|0}} +{{#if:{{{list5|}}}|1|0}} +{{#if:{{{list6|}}}|1|0}} +{{#if:{{{list7|}}}|1|0}} +{{#if:{{{list8|}}}|1|0}} +{{#if:{{{list9|}}}|1|0}} +{{#if:{{{list10|}}}|1|0}} +{{#if:{{{list11|}}}|1|0}} +{{#if:{{{list12|}}}|1|0}} +{{#if:{{{list13|}}}|1|0}} +{{#if:{{{list14|}}}|1|0}} +{{#if:{{{list15|}}}|1|0}} +{{#if:{{{list16|}}}|1|0}} +{{#if:{{{list17|}}}|1|0}} +{{#if:{{{list18|}}}|1|0}} +{{#if:{{{list19|}}}|1|0}} +{{#if:{{{list20|}}}|1|0}}}} | |||
|span = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}{{{imageleft|}}}|{{#if:{{{image|}}}|3|2}}|{{#if:{{{image|}}}|2|1}}}} | |||
|nogroups = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}|false|true}} | |nogroups = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}|false|true}} | ||
|bodystyle = {{{style|}}}{{{bodystyle|}}} | |bodystyle = {{{style|}}}{{{bodystyle|}}} | ||
|titlestyle = {{{titlestyle|}}} | |titlestyle = {{{titlestyle|}}} | ||
|abovestyle = | |abovestyle = {{{abovestyle|}}} | ||
|belowstyle = | |belowstyle = {{{belowstyle|}}} | ||
|above = {{{above|}}} | |above = {{{above|}}} | ||
|below = {{{below|}}} | |below = {{{below|}}} | ||
|gs = white-space:nowrap | |gs = white-space:nowrap;text-align:right;{{{groupstyle|}}} | ||
|os = width:100%;font-size:95%;{{{liststyle|}}}{{{oddstyle|}}} | |os = width:100%;font-size:95%;{{{liststyle|}}}{{{oddstyle|}}} | ||
|es = width:100%;font-size:95% | |es = width:100%;font-size:95%;{{{liststyle|}}}{{{evenstyle|}}} | ||
|g1 = {{{group1|}}} | |g1 = {{{group1|}}} | ||
| Line 65: | Line 79: | ||
|l19 = {{{list19|}}} | |l19 = {{{list19|}}} | ||
|l20 = {{{list20|}}} | |l20 = {{{list20|}}} | ||
}}<noinclude> | }}<noinclude> | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||