Template:Navbox/core: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(29 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.  
This template is non-standard.  
Couldn't get it to work correctly, so removed non-working calls
Couldn't get it to work correctly, so removed non-working calls
-->
Also had to add extra {} pairs around #if:
<div id="catlinks">
<!--
<table class="" border="1" >
<tr><td>


-->
ToDo
<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%">
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%"><!--
<table class="navbox{{#switch:{{{state|}}}|plain=|=collapsible autocollapse|collapsible{{{state}}}}}nowraplinks" style="{{{bodystyle|}}}">


---Titlebar---
---Titlebar---
--><tr><th colspan="2" style="text-align:left;width:100%;{{{ts|}}}"><span style="font-size:110%;">{{{title}}}</span></th></tr><!--
--><tr><th colspan="2" style="{{{titlestyle|}}}"><span style="{{{titlestyle|}}}">{{{title}}}</span></th></tr><!--


---Above seperator (optional)---
---Above seperator (optional)---
Line 27: Line 27:
-->{{{#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:{{{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|}}}|<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}}};{{{es|}}}">{{{l3|}}}</td></tr>}}}<!--
-->{{{#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:{{{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:{{{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:{{{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}}};{{{es|}}}">{{{l5|}}}</td></tr>}}}<!--
-->{{{#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:{{{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:{{{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:{{{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}}};{{{es|}}}">{{{l7|}}}</td></tr>}}}<!--
-->{{{#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:{{{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:{{{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:{{{l2|}}}|<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}}};{{{es|}}}">{{{l9|}}}</td></tr>}}}<!--
-->{{{#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:{{{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:{{{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:{{{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:{{{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:{{{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:{{{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="{{{belowstyle|}}}" colspan="2">{{{below|}}}</td></tr>}}}<!--
-->{{{#if:{{{below|}}}|<tr><td style="{{{belowstyle|}}}" colspan="2">{{{below|}}}</td></tr>}}}<!--


--></table>
--></table></div>
</div>
<!-- <tr><td></table> -->

Latest revision as of 13:54, 21 April 2008