Template:Navbox: Difference between revisions

Undo revision 40703 by MaJoR (talk) Didn't work.
(Updating from the wiki to try to fix the fixed-width problem.)
(Undo revision 40703 by MaJoR (talk) Didn't work.)
Line 1: Line 1:
<!--
<includeonly>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!--
 
Please do not edit without discussion first as this is a VERY complex template.
 
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!--
  -->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
  -->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--


Line 298: Line 294:
   }}
   }}
  }}
  }}
}}}}}}<!--
}}}}}}</includeonly><noinclude>
 
{{documentation}}
-->{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{lc:{{SUBPAGENAME}}}}
</noinclude>
|sandbox
|testcases =
|#default = {{#switch:{{{liststyle|}}}
  |padding: 0.25em 0; line-height: 1.3em;
  |padding:0.25em 0; line-height:1.4em; width:auto;
  |padding:0.4em 0; line-height:1.4em; = [[Category:Navigational boxes with custom list spacing]]
  |#default =
}}
}}}}<includeonly>{{template other|{{#if:{{{titlestyle|}}}{{{groupstyle|}}}|[[Category:Navboxes using background colours]]}}}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>