Difference between revisions of "Template:Navbox"

From Clicklaw Wikibooks
Jump to navigation Jump to search
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;">&nbsp;</span>}}|<!--
  -->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span class="navbox-book-span" style="float:right;width:6em;">&nbsp;</span>}}|<!--
  -->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;">&nbsp;</span>}}}}|<!--
  -->{{#ifeq:{{{state|}}}|plain||<span class="navbox-book-span" style="float:left;width:6em;">&nbsp;</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;">&nbsp;</span>}}}}<!--
  -->{{#ifeq:{{{state|}}}|plain|<span class="navbox-book-span" style="float:right;width:6em;">&nbsp;</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]