Template:Navbox/core: Difference between revisions
From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- | |||
Please do not edit without discussion first as this is a VERY complex template. | |||
-- | N.B. | ||
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: | |||
ToDo | |||
Fix the extra lines being displayed | |||
even though they're not present in the calling parent. | |||
-->{{# | --><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%"><!-- | |||
--> | ---Titlebar--- | ||
--><tr><th colspan="2" style="{{{titlestyle|}}}"><span style="{{{titlestyle|}}}">{{{title}}}</span></th></tr><!-- | |||
-->{{#if:{{{ | ---Above seperator (optional)--- | ||
-->{{{#if:{{{above|}}}|<tr><td colspan="2" style="{{{abovestyle|}}}">{{{above|}}}</td></tr>}}}<!-- | |||
--></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|}}}|<tr>{{#if:{{{g2|}}}|<th style="{{{gs|}}}">{{{g2|}}}</th>}}<td colspan="{{#if:{{{g2|}}}|1|{ | -->{{{#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:{{{ | -->{{{#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:{{{ | -->{{{#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:{{{ | -->{{{#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:{{{ | -->{{{#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:{{{ | -->{{{#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:{{{ | -->{{{#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:{{{ | -->{{{#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:{{{ | -->{{{#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:{{{ | -->{{{#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:{{{ | -->{{{#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:{{{ | -->{{{#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:{{{ | -->{{{#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:{{{ | -->{{{#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|}}}|<tr><td style=" | -->{{{#if:{{{below|}}}|<tr><td style="{{{belowstyle|}}}" colspan="2">{{{below|}}}</td></tr>}}}<!-- | ||
--></table> | --></table></div> | ||
</ | |||
Latest revision as of 13:54, 21 April 2008
| {{{title}}} | |
|---|---|