Template:Navbox: Difference between revisions

Jump to navigation Jump to search
m (Changed protection level for "Template:Navbox" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(Updating from the wiki to try to fix the fixed-width problem.)
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 294: Line 298:
   }}
   }}
  }}
  }}
}}}}}}</includeonly><noinclude>
}}}}}}<!--
{{documentation}}
 
</noinclude>
-->{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{lc:{{SUBPAGENAME}}}}
|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>