Template:Navbox: Difference between revisions
Move some CSS to common.css
m>Edokter (Fix navbar link (should not have caused any trouble)) |
m>Edokter (Move some CSS to common.css) |
||
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 | -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!-- | ||
-->style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- | -->class="navbox" style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- | ||
--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=| | --><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|<!-- | ||
-->{{#switch:{{{state|}}}|plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} <!-- | |||
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=navbox-subgroup" style="{{{bodystyle|}}};{{{style|}}}|<!-- | |||
-->#default=" style=" | -->#default=navbox-inner" style="background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- | ||