Difference between revisions of "Template:Navbox/sandbox"
Jump to navigation
Jump to search
Template documentation[create]
test>Gadget850 (Undo: restore doc page) |
test>Edokter (sync) |
||
| 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 | + | -->{{#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|}}}|{{#switch:{{{state|}}}|<!-- | --><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!-- | ||
| − | -->plain|off=|#default= | + | -->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!-- |
-->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!-- | -->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!-- | ||
-->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- | -->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- | ||
| Line 24: | Line 24: | ||
-->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;"> </span>}}|<!-- | -->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;"> </span>}}|<!-- | ||
-->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;"> </span>}}}}|<!-- | -->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;"> </span>}}}}|<!-- | ||
| − | -->{{#if:{{{name|}}}|{{Navbar | + | -->{{#if:{{{name|}}}|{{Navbar|{{{name}}}|mini=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>}}<!-- | ||
Revision as of 09:49, 7 October 2012
| This is the template sandbox page for Template:Navbox (diff). |
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |