Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Navbox: Difference between revisions

Template page
No edit summary
No edit summary
Line 11: Line 11:
  -->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|}}};"><!--


---Title and Navbar---
---Title and Navbar---
Line 16: Line 18:
  --><th scope="row" class="navbox-group {{{titlegroupclass|}}}" <!--
  --><th scope="row" class="navbox-group {{{titlegroupclass|}}}" <!--
  -->style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}"><!--
  -->style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}"><!--
  -->{{{titlegroup|}}}</th><th scope="col" style="width:100%;|<!--
  -->{{{titlegroup|}}}</th><th scope="col" style="border-left:2px solid #fdfdfd;width:100%;|<!--
  --><th scope="col" style="}}{{{basestyle|}}};{{{titlestyle|}}}" class="navbox-title" <!--
  --><th scope="col" style="}}{{{basestyle|}}};{{{titlestyle|}}}" class="navbox-title" <!--
  -->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}}><!--
  -->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}}><!--


  --><div class="{{{titleclass|}}}" style="padding:0.25em 1em;font-size:110%;">
-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!--
{{{title}}}</div></th></tr>}}<!--
-->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!--
-->{{#ifeq:{{{navbar|}}}|off|{{#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|<!--
-->fontstyle={{{basestyle|}}};{{{titlestyle|}}};background:none transparent;border:none;}}|<!--
--><span class="error" style="float:left;white-space:nowrap;">Error: No name provided</span>}}<!--
-->{{#ifeq:{{{state|}}}|plain|<span style="float:left;width:6em;">&nbsp;</span>}}}}<!--
 
  --><span class="{{{titleclass|}}}" style="float:left;font-size:110%;">
{{{title}}}</span></th></tr>}}<!--





Revision as of 01:01, 15 December 2024

[edit] Template documentation

Usage

Please remove the parameters that are left blank.

{{Navbox
|name    = {{subst:PAGENAME}}
|title   = 
|image   = 
|above   = 
|state   = {{{state|autocollapse}}} 

|group1  = 
|list1   = 

|group2  = 
|list2   = 
 ...
|group20 = 
|list20  = 

|below   = 
}}


See Wikipedia for more information about this template.

Advertising: