Difference between revisions of "Template:Navbox"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Edokter
(Move some CSS to common.css)
imported>Edokter
(Other tables with navbox class need border spacing)
Line 4: Line 4:
  
 
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!--
 
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!--
  -->class="navbox" style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
+
  -->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
  
--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|<!--
+
--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
-->{{#switch:{{{state|}}}|plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} <!--
+
-->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=navbox-subgroup" style="{{{bodystyle|}}};{{{style|}}}|<!--
+
-->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!--
  -->#default=navbox-inner" style="background:transparent;color:inherit}};{{{innerstyle|}}};"><!--
+
  -->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};{{{innerstyle|}}};"><!--
  
  

Revision as of 13:54, 15 January 2012

Template documentation[create]