Difference between revisions of "Template:Navbox/sandbox"
Jump to navigation
Jump to search
Template documentation[create]
test>Edokter (sync) |
test>Edokter (Remove obsolete HTML) |
||
| 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=</div>|none=|#default=<table | + | -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox" <!-- |
| − | --> | + | --> style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- |
| − | --><table | + | --><table class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|<!-- |
| − | + | -->{{#switch:{{{state|}}}|<!-- | |
| − | + | -->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} <!-- | |
| − | + | -->{{#switch:{{{border|{{{1|}}}}}}|<!-- | |
| + | -->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!-- | ||
| + | -->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};<!-- | ||
| + | -->{{{innerstyle|}}};"><!-- | ||
| Line 24: | Line 27: | ||
-->{{#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|{{{name}}}|mini=1|<!-- | + | -->{{#if:{{{name|}}}|{{Navbar/sandbox|{{{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 10:02, 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. |