Template:Navbox/core: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{{!}}} class="navbox {{#ifeq:{{{state|}}}|plain||collapsible {{{state|autocollapse}}}}} nowraplinks" style="margin:auto; {{#ifeq:{{{nogroups|}}}|true|{{#if:{{{l1|}}}|{{#if:{{{l2|}}}|background:white;}}}}|background:white;}} {{{bodystyle|}}}"<!--
<!--


---Titlebar---
Please do not edit without discussion first as this is a VERY complex template.
-->{{{!}}}--{{{!}}} colspan="{{{span|1}}}" style="text-align:center;width:100%;{{{titlestyle|}}}"<!--
-->{{#ifeq:{{{navbar|}}}|plain||<div style="float:left; width:6em; text-align:left;">{{Tnavbar| {{{name<noinclude>|Navbox</noinclude>}}}|fontstyle={{{titlestyle|}}};border:none;|mini=1}}</div>}}<span style="font-size:110%;">{{{title}}}</span><!--


---Above (optional)---
N.B.
-->{{#if:{{{above|}}}|{{{!}}}-{{{!}}} style="text-align:center;{{{abovestyle|}}}" colspan="{{{span|1}}}" {{{above|}}}}}<!--
This template is non-standard.
Couldn't get it to work correctly, so removed non-working calls
Also had to add extra {} pairs around #if:


---First group and image(s)---
ToDo
-->{{#if:{{{l1|}}}|{{{!}}}-<!--
Fix the extra lines being displayed
even though they're not present in the calling parent.


-->{{#if:{{{imageleft|}}}|{{#ifeq:{{{nogroups|}}}|true|{{{!}}} rowspan="{{{imagespan|}}}" style="vertical-align:middle; padding-right:7px; width:0%;" {{{!}}} {{{imageleft}}}}}}}<!--
--><div id="catlinks">
<table class="navbox {{#ifeq:{{{state|}}}|plain||collapsible {{{state|autocollapse}}}}} nowraplinks" style="margin:auto; {{#ifeq:{{{nogroups|}}}|true||background:white; }}{{#if:{{{l1|}}}|{{#if:{{{l2|}}}|background:white;}}}}{{{bodystyle|}}}" width="100%"><!--


-->{{#if:{{{g1|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g1|}}}}}{{{!}}} colspan="{{#if:{{{g1|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g1|}}}|left|center}};{{{os|}}}" {{{!}}} {{{l1|}}}<!--
---Titlebar---
--><tr><th colspan="2" style="{{{titlestyle|}}}"><span style="{{{titlestyle|}}}">{{{title}}}</span></th></tr><!--


-->{{#if:{{{image|}}}|{{{!}}} rowspan="{{{imagespan|}}}" style="vertical-align:middle; padding-left:7px; width:0%;" {{{!}}} {{{image}}}}}<!--
---Above seperator (optional)---
-->{{{#if:{{{above|}}}|<tr><td colspan="2" style="{{{abovestyle|}}}">{{{above|}}}</td></tr>}}}<!--


-->}}<!--
---First group and image(s)---
-->{{{#if:{{{l1|}}}|<tr>{{{#if:{{{g1|}}}|<th style="{{{gs|}}}">{{{g1|}}}</th>}}}<td colspan="{{{#if:{{{g1|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g1|}}}|left|center}}};{{{os|}}}">{{{l1|}}}</td></tr>}}}<!--


---Remaining groups---
---Remaining groups---
-->{{#if:{{{l2|}}}|{{{!}}}-{{#if:{{{g2|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g2|}}}}}{{{!}}} colspan="{{#if:{{{g2|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g2|}}}|left|center}};{{{es|}}}" {{{!}}} {{{l2|}}}}}<!--
-->{{{#if:{{{l2|}}}|<tr>{{{#if:{{{g2|}}}|<th style="{{{gs|}}}">{{{g2|}}}</th>}}}<td colspan="{{{#if:{{{g2|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g2|}}}|left|center}}};{{{es|}}}">{{{l2|}}}</td></tr>}}}<!--
 
-->{{#if:{{{l3|}}}|{{{!}}}-{{#if:{{{g3|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g3|}}}}}{{{!}}} colspan="{{#if:{{{g3|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g3|}}}|left|center}};{{{os|}}}" {{{!}}} {{{l3|}}}}}<!--
 
-->{{#if:{{{l4|}}}|{{{!}}}-{{#if:{{{g4|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g4|}}}}}{{{!}}} colspan="{{#if:{{{g4|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g4|}}}|left|center}};{{{es|}}}" {{{!}}} {{{l4|}}}}}<!--
 
-->{{#if:{{{l5|}}}|{{{!}}}-{{#if:{{{g5|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g5|}}}}}{{{!}}} colspan="{{#if:{{{g5|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g5|}}}|left|center}};{{{os|}}}" {{{!}}} {{{l5|}}}}}<!--
 
-->{{#if:{{{l6|}}}|{{{!}}}-{{#if:{{{g6|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g6|}}}}}{{{!}}} colspan="{{#if:{{{g6|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g6|}}}|left|center}};{{{es|}}}" {{{!}}} {{{l6|}}}}}<!--
 
-->{{#if:{{{l7|}}}|{{{!}}}-{{#if:{{{g7|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g7|}}}}}{{{!}}} colspan="{{#if:{{{g7|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g7|}}}|left|center}};{{{os|}}}" {{{!}}} {{{l7|}}}}}<!--


-->{{#if:{{{l8|}}}|{{{!}}}-{{#if:{{{g8|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g8|}}}}}{{{!}}} colspan="{{#if:{{{g8|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g8|}}}|left|center}};{{{es|}}}" {{{!}}} {{{l8|}}}}}<!--
-->{{{#if:{{{l3|}}}|<tr>{{{#if:{{{g3|}}}|<th style="{{{gs|}}}">{{{g3|}}}</th>}}}<td colspan="{{{#if:{{{g3|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g3|}}}|left|center}}};{{{os|}}}">{{{l3|}}}</td></tr>}}}<!--


-->{{#if:{{{l9|}}}|{{{!}}}-{{#if:{{{g9|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g9|}}}}}{{{!}}} colspan="{{#if:{{{g9|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g9|}}}|left|center}};{{{os|}}}" {{{!}}} {{{l9|}}}}}<!--
-->{{{#if:{{{l4|}}}|<tr>{{{#if:{{{g4|}}}|<th style="{{{gs|}}}">{{{g4|}}}</th>}}}<td colspan="{{{#if:{{{g4|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g4|}}}|left|center}}};{{{es|}}}">{{{l4|}}}</td></tr>}}}<!--


-->{{#if:{{{l10|}}}|{{{!}}}-{{#if:{{{g10|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g10|}}}}}{{{!}}} colspan="{{#if:{{{g10|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g10|}}}|left|center}};{{{es|}}}" {{{!}}} {{{l10|}}}}}<!--
-->{{{#if:{{{l5|}}}|<tr>{{{#if:{{{g5|}}}|<th style="{{{gs|}}}">{{{g5|}}}</th>}}}<td colspan="{{{#if:{{{g5|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g5|}}}|left|center}}};{{{os|}}}">{{{l5|}}}</td></tr>}}}<!--


-->{{#if:{{{l11|}}}|{{{!}}}-{{#if:{{{g11|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g11|}}}}}{{{!}}} colspan="{{#if:{{{g11|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g11|}}}|left|center}};{{{os|}}}" {{{!}}} {{{l11|}}}}}<!--
-->{{{#if:{{{l6|}}}|<tr>{{{#if:{{{g6|}}}|<th style="{{{gs|}}}">{{{g6|}}}</th>}}}<td colspan="{{{#if:{{{g6|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g6|}}}|left|center}}};{{{es|}}}">{{{l6|}}}</td></tr>}}}<!--


-->{{#if:{{{l12|}}}|{{{!}}}-{{#if:{{{g12|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g12|}}}}}{{{!}}} colspan="{{#if:{{{g12|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g12|}}}|left|center}};{{{es|}}}" {{{!}}} {{{l12|}}}}}<!--
-->{{{#if:{{{l7|}}}|<tr>{{{#if:{{{g7|}}}|<th style="{{{gs|}}}">{{{g7|}}}</th>}}}<td colspan="{{{#if:{{{g7|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g7|}}}|left|center}}};{{{os|}}}">{{{l7|}}}</td></tr>}}}<!--


-->{{#if:{{{l13|}}}|{{{!}}}-{{#if:{{{g13|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g13|}}}}}{{{!}}} colspan="{{#if:{{{g13|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g13|}}}|left|center}};{{{os|}}}" {{{!}}} {{{l13|}}}}}<!--
-->{{{#if:{{{l8|}}}|<tr>{{{#if:{{{g8|}}}|<th style="{{{gs|}}}">{{{g8|}}}</th>}}}<td colspan="{{{#if:{{{g8|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g8|}}}|left|center}}};{{{es|}}}">{{{l8|}}}</td></tr>}}}<!--


-->{{#if:{{{l14|}}}|{{{!}}}-{{#if:{{{g14|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g14|}}}}}{{{!}}} colspan="{{#if:{{{g14|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g14|}}}|left|center}};{{{es|}}}" {{{!}}} {{{l14|}}}}}<!--
-->{{{#if:{{{l9|}}}|<tr>{{{#if:{{{g9|}}}|<th style="{{{gs|}}}">{{{g9|}}}</th>}}}<td colspan="{{{#if:{{{g9|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g9|}}}|left|center}}};{{{os|}}}">{{{l9|}}}</td></tr>}}}<!--


-->{{#if:{{{l15|}}}|{{{!}}}-{{#if:{{{g15|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g15|}}}}}{{{!}}} colspan="{{#if:{{{g15|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g15|}}}|left|center}};{{{os|}}}" {{{!}}} {{{l15|}}}}}<!--
-->{{{#if:{{{l10|}}}|<tr>{{{#if:{{{g10|}}}|<th style="{{{gs|}}}">{{{g10|}}}</th>}}}<td colspan="{{{#if:{{{g10|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g10|}}}|left|center}}};{{{es|}}}">{{{l10|}}}</td></tr>}}}<!--


-->{{#if:{{{l16|}}}|{{{!}}}-{{#if:{{{g16|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g16|}}}}}{{{!}}} colspan="{{#if:{{{g16|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g16|}}}|left|center}};{{{es|}}}" {{{!}}} {{{l16|}}}}}<!--
-->{{{#if:{{{l11|}}}|<tr>{{{#if:{{{g11|}}}|<th style="{{{gs|}}}">{{{g11|}}}</th>}}}<td colspan="{{{#if:{{{g11|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g11|}}}|left|center}}};{{{os|}}}">{{{l11|}}}</td></tr>}}}<!--


-->{{#if:{{{l17|}}}|{{{!}}}-{{#if:{{{g17|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g17|}}}}}{{{!}}} colspan="{{#if:{{{g17|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g17|}}}|left|center}};{{{os|}}}" {{{!}}} {{{l17|}}}}}<!--
-->{{{#if:{{{l12|}}}|<tr>{{{#if:{{{g12|}}}|<th style="{{{gs|}}}">{{{g12|}}}</th>}}}<td colspan="{{{#if:{{{g12|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g12|}}}|left|center}}};{{{os|}}}">{{{l12|}}}</td></tr>}}}<!--


-->{{#if:{{{l18|}}}|{{{!}}}-{{#if:{{{g18|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g18|}}}}}{{{!}}} colspan="{{#if:{{{g18|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g18|}}}|left|center}};{{{es|}}}" {{{!}}} {{{l18|}}}}}<!--
-->{{{#if:{{{l13|}}}|<tr>{{{#if:{{{g13|}}}|<th style="{{{gs|}}}">{{{g13|}}}</th>}}}<td colspan="{{{#if:{{{g13|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g13|}}}|left|center}}};{{{os|}}}">{{{l13|}}}</td></tr>}}}<!--


-->{{#if:{{{l19|}}}|{{{!}}}-{{#if:{{{g19|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g19|}}}}}{{{!}}} colspan="{{#if:{{{g19|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g19|}}}|left|center}};{{{os|}}}" {{{!}}} {{{l19|}}}}}<!--
-->{{{#if:{{{l14|}}}|<tr>{{{#if:{{{g14|}}}|<th style="{{{gs|}}}">{{{g14|}}}</th>}}}<td colspan="{{{#if:{{{g14|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g14|}}}|left|center}}};{{{os|}}}">{{{l14|}}}</td></tr>}}}<!--


-->{{#if:{{{l20|}}}|{{{!}}}-{{#if:{{{g20|}}}|{{{!}}} style="{{{gs|}}}" {{{!}}} {{{g20|}}}}}{{{!}}} colspan="{{#if:{{{g20|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g20|}}}|left|center}};{{{es|}}}" {{{!}}} {{{l20|}}}}}<!--
-->{{{#if:{{{l15|}}}|<tr>{{{#if:{{{g15|}}}|<th style="{{{gs|}}}">{{{g15|}}}</th>}}}<td colspan="{{{#if:{{{g15|}}}|1|{{{#ifeq:{{{nogroups|}}}|true|1|2}}}}}}" style="text-align:{{{#if:{{{g15|}}}|left|center}}};{{{os|}}}">{{{l15|}}}</td></tr>}}}<!--


---Below (optional)---
---Below (optional)---
-->{{#if:{{{below|}}}|{{{!}}}-{{{!}}} style="text-align:center;{{{belowstyle|}}}" colspan="{{{span|1}}}" {{{!}}} {{{below|}}}}}<!--
-->{{{#if:{{{below|}}}|<tr><td style="{{{belowstyle|}}}" colspan="2">{{{below|}}}</td></tr>}}}<!--


-->{{{!}}}}<noinclude></noinclude>
--></table></div>

Latest revision as of 13:54, 21 April 2008