Template:Navbox/core: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
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
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|}}}">  
<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|}}}">  
--><!--
--><!--


--><table class="navbox{{#switch:{{{state|}}}|plain=|=collapsible autocollapse|collapsible {{{state}}} }} nowraplinks" style="{{{bodystyle|}}}"><!--
-->
<table class="navbox nowraplinks" style="margin:auto; background:white;">
 
 
<!--
<table class="navbox{{#switch:{{{state|}}}|plain=|=collapsible autocollapse|collapsible{{{state}}}}}nowraplinks" style="{{{bodystyle|}}}">


---Titlebar---
---Titlebar---
Line 14: Line 19:


---First group and image(s)---
---First group and image(s)---
-->{{#if:{{{l1|}}}|
-->{{#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>}}<!--
<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---

Revision as of 14:29, 25 January 2008