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 48: Line 48:
  -->{{#if:{{{group1|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
  -->{{#if:{{{group1|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
  -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group1style|}}}"><!--
  -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group1style|}}}"><!--
  -->{{{group1}}}</th><td style="text-align:left;|<td colspan=2 style="background-color:var(--color-surface-1);}}<!--
  -->{{{group1}}}</th><td style="text-align:left;|<td colspan=2 style="background-color:var(--color-surface-2--active);}}<!--
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0.25em 1em;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!--
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0.25em 1em;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!--
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--

Revision as of 07:40, 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: