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 72: Line 72:
  -->{{#if:{{{group2|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
  -->{{#if:{{{group2|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
  -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group2style|}}}"><!--
  -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group2style|}}}"><!--
  -->{{{group2}}}</th><td style="text-align:left;|<td colspan=2 style="}}<!--
  -->{{{group2}}}</th><td style="text-align:left;|<td colspan=2 style="background-color:var(--color-surface-1);}}<!--
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0.25em 1em;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!--
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0.25em 1em;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!--
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
Line 83: Line 83:
  -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group3style|}}}"><!--
  -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group3style|}}}"><!--
  -->{{{group3}}}</th><td style="text-align:left;|<td colspan=2 style="}}<!--
  -->{{{group3}}}</th><td style="text-align:left;|<td colspan=2 style="}}<!--
  -->{{#if:{{{groupwidth|}}}||width:100%;}}background-color:var(--color-surface-1);padding:0.25em 1em;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!--
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0.25em 1em;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!--
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">
  --><div style="padding:{{{listpadding|0em 0.25em}}}">

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