Template:Navbox: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Updating from the wiki to try to fix the fixed-width problem.)
mNo edit summary
 
(One intermediate revision by one other user not shown)
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 24: Line 20:
  -->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;">&nbsp;</span>}}|<!--
  -->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;">&nbsp;</span>}}|<!--
  -->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;">&nbsp;</span>}}}}|<!--
  -->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;">&nbsp;</span>}}}}|<!--
  -->{{#if:{{{name|}}}|{{Navbar|{{{name}}}|mini=1|<!--
  -->{{#if:{{{name|}}}|{{Navbar|{{{name}}}|mini=1|viewoff=1|<!--
  -->fontstyle={{{basestyle|}}};{{{titlestyle|}}};background:none transparent;border:none;}}|<!--
  -->fontstyle={{{basestyle|}}};{{{titlestyle|}}};background:none transparent;border:none;}}|<!--
  --><span class="error" style="float:left;white-space:nowrap;">Error: No name provided</span>}}<!--
  --><span class="error" style="float:left;white-space:nowrap;">Error: No name provided</span>}}<!--
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>

Navigation menu