Template:Navbox: Difference between revisions
Jump to navigation
Jump to search
>TheDJ (try to fix navbar option.) |
>MSGJ m (add titleclass and bodyclass parameters, per request on talk page) |
||
Line 3: | Line 3: | ||
Please do not edit without discussion first as this is a VERY complex template. | Please do not edit without discussion first as this is a VERY complex template. | ||
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox" cellspacing="0" <!-- | -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox {{{bodyclass|}}}" cellspacing="0" <!-- | ||
-->style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- | -->style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- | ||
Line 28: | Line 28: | ||
--></div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;"> </div>}}}}<!-- | --></div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;"> </div>}}}}<!-- | ||
--><span 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>}}<!-- | ||