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 7: Line 7:
  -->class="navbox" style="border-spacing:0;width:100%;{{{bodystyle|}}};{{{style|}}}"><tr><td>}}<!--
  -->class="navbox" style="border-spacing:0;width:100%;{{{bodystyle|}}};{{{style|}}}"><tr><td>}}<!--


--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
--><table cellspacing="0" class="nowraplinks mw-collapsible {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
  -->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
  -->plain|off=|expand=expand mw-expanded|#default=mw-collapsed {{#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="width:100%;border-spacing:0;color:inherit}};{{{innerstyle|}}};"><!--
  -->#default=navbox-inner" style="width:100%;border-spacing:0;color:inherit}};{{{innerstyle|}}};"><!--
mw-collapsible mw-collapsed
 
plain|off=|#default=mw-collapsed {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}}


---Title and Navbar---
---Title and Navbar---
Line 20: Line 21:
  --><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%;">
  --><div class="{{{titleclass|}}}" style="padding:0.25em 1em;font-size:110%;">

Revision as of 01:17, 10 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: