Template:Navbox: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(73 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="navbox nowraplinks" style="background:transparent; font-size:100%; padding:0; border:0; margin:-3px; {{{bodystyle|}}}">
<!--


{{#if:{{{list1<includeonly>|</includeonly>}}}  |<tr>
Please do not edit without discussion first as this is a VERY complex template.
{{#if:{{{group1<includeonly>|</includeonly>}}} |<th style="background:#ddf;{{{groupstyle|}}}">{{{group1}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td>
</tr>}} <!--


-->{{#if:{{{list2<includeonly>|</includeonly>}}} |<tr>
N.B.
{{#if:{{{group2<includeonly>|</includeonly>}}}  |<th style="background:#ddf;{{{groupstyle|}}}">{{{group2}}}</th>}}
This template is correct and fully working.
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td>
Code herein is per wikipedia.
</tr>}} <!--
No changes required.


-->{{#if:{{{list3<includeonly>|</includeonly>}}} |<tr>
EDITs -
{{#if:{{{group3<includeonly>|</includeonly>}}}  |<th style="background:#ddf;{{{groupstyle|}}}">{{{group3}}}</th>}}
Control of all fixed background colours is now relocated to calling file.
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td>
</tr>}} <!--


-->{{#if:{{{list4<includeonly>|</includeonly>}}} |<tr>
{{#if:{{{group4<includeonly>|</includeonly>}}}  |<th style="background:#ddf;{{{groupstyle|}}}">{{{group4}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td>
</tr>}} <!--


-->{{#if:{{{list5<includeonly>|</includeonly>}}} |<tr>
-->{{Navbox/core
{{#if:{{{group5<includeonly>|</includeonly>}}}   |<th style="background:#ddf;{{{groupstyle|}}}">{{{group5}}}</th>}}
|name = {{{name<noinclude>|{{FULLPAGENAME}}</noinclude>}}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td>
|navbar = {{{navbar|}}}
</tr>}} <!--
|state = {{{state|autocollapse}}}
|title = {{{title|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}


-->{{#if:{{{list6<includeonly>|</includeonly>}}} |<tr>
|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}}}}
{{#if:{{{group6<includeonly>|</includeonly>}}}   |<th style="background:#ddf;{{{groupstyle|}}}">{{{group6}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group6|}}}|1|2}}">{{{list6}}}</td>
</tr>}} <!--


-->{{#if:{{{list7<includeonly>|</includeonly>}}} |<tr>
|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}}}}
{{#if:{{{group7<includeonly>|</includeonly>}}}   |<th style="background:#ddf;{{{groupstyle|}}}">{{{group7}}}</th>}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group7|}}}|1|2}}">{{{list7}}}</td>
</tr>}} <!--


-->{{#if:{{{list8<includeonly>|</includeonly>}}} |<tr>
|nogroups = {{#if:{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}|false|true}}
{{#if:{{{group8<includeonly>|</includeonly>}}}   |<th style="width:25%;background:#ddf;{{{groupstyle|}}}">{{{group8}}}</th>}}
<td style="{{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group8|}}}|1|2}}">{{{list8}}}</td>
</tr>}} <!--


-->{{#if:{{{list9<includeonly>|</includeonly>}}} |<tr>
|bodystyle = {{{style|}}}{{{bodystyle|}}}
{{#if:{{{group9<includeonly>|</includeonly>}}}   |<th style="background:#ddf;{{{groupstyle|}}}">{{{group9}}}</th>}}
|titlestyle = {{{titlestyle|}}}
<td style="{{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group9|}}}|1|2}}">{{{list9}}}</td>
|abovestyle = {{{abovestyle|}}}
</tr>}}
|belowstyle = {{{belowstyle|}}}


</table><noinclude>
|above = {{{above|}}}
|below = {{{below|}}}
 
|gs = white-space:nowrap;text-align:right;{{{groupstyle|}}}
|os = width:100%;font-size:95%;{{{liststyle|}}}{{{oddstyle|}}}
|es = width:100%;font-size:95%;{{{liststyle|}}}{{{evenstyle|}}}
 
|g1 = {{{group1|}}}
|g2 = {{{group2|}}}
|g3 = {{{group3|}}}
|g4 = {{{group4|}}}
|g5 = {{{group5|}}}
|g6 = {{{group6|}}}
|g7 = {{{group7|}}}
|g8 = {{{group8|}}}
|g9 = {{{group9|}}}
|g10 = {{{group10|}}}
|g11 = {{{group11|}}}
|g12 = {{{group12|}}}
|g13 = {{{group13|}}}
|g14 = {{{group14|}}}
|g15 = {{{group15|}}}
|g16 = {{{group16|}}}
|g17 = {{{group17|}}}
|g18 = {{{group18|}}}
|g19 = {{{group19|}}}
|g20 = {{{group20|}}}
 
|l1 = {{{body|}}}{{{list1|}}}{{{category|}}}
|l2 = {{{list2|}}}
|l3 = {{{list3|}}}
|l4 = {{{list4|}}}
|l5 = {{{list5|}}}
|l6 = {{{list6|}}}
|l7 = {{{list7|}}}
|l8 = {{{list8|}}}
|l9 = {{{list9|}}}
|l10 = {{{list10|}}}
|l11 = {{{list11|}}}
|l12 = {{{list12|}}}
|l13 = {{{list13|}}}
|l14 = {{{list14|}}}
|l15 = {{{list15|}}}
|l16 = {{{list16|}}}
|l17 = {{{list17|}}}
|l18 = {{{list18|}}}
|l19 = {{{list19|}}}
|l20 = {{{list20|}}}
 
}}<noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 13:14, 3 May 2008