Template:Navbox

From FORwiki

(Difference between revisions)
Jump to: navigation, search
Line 15: Line 15:
---Title and Navbar---
---Title and Navbar---
-->
-->
-
{{#if:{{{title|}}}|<tr>{{#if:{{{titlegroup|}}}|<!--
+
{{#if:{{{title|}}}|
-
--><td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}">{{{titlegroup|}}}</td><!--
+
<tr>{{#if:{{{titlegroup|}}}|
-
--><th style="border-left:2px solid #fdfdfd;width:100%;|<th style="}}{{{basestyle|}}};{{{titlestyle|}}}" <!--
+
<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}">{{{titlegroup|}}}</td>
-
  -->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} <!--
+
<th style="border-left:2px solid #fdfdfd;width:100%;|<th style="}}{{{basestyle|}}};{{{titlestyle|}}}"
-
  -->class="navbox-title"><!--
+
  colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}}
 +
  class="navbox-title">
-
-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!--
 
-
-->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!--
 
-
-->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}|<!--
 
-
-->{{#ifeq:{{{state|}}}|plain||<div style="float:left; width:6em;text-align:left;">&nbsp;</div>}}}}|<!--
 
-
--><div style="float:left; width:6em;text-align:left;"><!--
 
-
-->{{Navbar|{{{name}}}|fontstyle={{{basestyle|}}};{{{titlestyle|}}};border:none;|mini=1}}<!--
 
-
--></div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}}}<!--
 
-
  --><span class="{{{titleclass|}}}" style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!--
+
  <span class="{{{titleclass|}}}" style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!--
-
  -->{{{title}}}</span></th></tr>}}
+
  {{{title}}}</span></th></tr>}}
<!--
<!--

Revision as of 21:43, 24 December 2009

Personal tools