Difference between revisions of "Template:Navbox"
Jump to navigation
Jump to search
Drew Jackson (talk | contribs) m (2 revisions: Importing Clicklaw Wikibooks Style Guide & Cheatsheet) |
|||
Line 22: | Line 22: | ||
-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!-- | -->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!-- | ||
-->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!-- | -->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!-- | ||
-->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;"> </span>}}|<!-- | -->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span class="navbox-book-span" style="float:right;width:6em;"> </span>}}|<!-- | ||
-->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;"> </span>}}}}|<!-- | -->{{#ifeq:{{{state|}}}|plain||<span class="navbox-book-span" style="float:left;width:6em;"> </span>}}}}|<!-- | ||
-->{{#if:{{{name|}}}|{{Navbar|{{{name}}}|mini=1|<!-- | -->{{#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>}}<!-- | ||
-->{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;"> </span>}}}}<!-- | -->{{#ifeq:{{{state|}}}|plain|<span class="navbox-book-span" style="float:right;width:6em;"> </span>}}}}<!-- | ||
--><div class="{{{titleclass|}}}" style="font-size:110%;"> | --><div class="{{{titleclass|}}}" style="font-size:110%;"> |
Latest revision as of 02:47, 1 February 2021
File:Template-info.png Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |