Difference between revisions of "Template:Navbox"
From IMSMA Wiki
Line 19: | Line 19: | ||
--><th scope="col" style="}}{{{basestyle|}}};{{{titlestyle|}}}" class="navbox-title" <!-- | --><th scope="col" style="}}{{{basestyle|}}};{{{titlestyle|}}}" class="navbox-title" <!-- | ||
-->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}}><!-- | -->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}}><!-- | ||
+ | |||
+ | |||
+ | ---V,T,E--- | ||
+ | -->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!-- | ||
+ | -->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!-- | ||
+ | -->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;"> </span>}}|<!-- | ||
+ | -->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;"> </span>}}}}|<!-- | ||
+ | -->{{#if:{{{name|}}}|{{Navbar|{{{name}}}|mini=1|<!-- | ||
+ | -->fontstyle={{{basestyle|}}};{{{titlestyle|}}};background:none transparent;border:none;}}|<!-- | ||
+ | --><span class="error" style="float:left;white-space:nowrap;">Error: No name provided</span>}}<!-- | ||
+ | -->{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;"> </span>}}}}<!-- | ||
Revision as of 11:27, 13 December 2013