Template:Navbox/doc

From Interstellar War Wiki
Jump to navigationJump to search

{{#ifeq: doc | doc

 | 	

{{

   #ifeq: show | show	
   | {{#invoke:Message box|mbox}}	
   }}{{
   #if: 
   | 
   | {{#ifexist:Template:Navbox|[[Category:{{	
     #switch: Template	
     | Template  = Template
     | Module    = Module
     | User      = User	
     | #default  = Wikidata
   }} documentation pages]]|}}	
 }}	

| }} Template:Lua

Usage

For main navboxes
  • name=pagename (of template)
  • state=[collapsed|autocollapse]
  • border=[none|plain]
  • bodyclass=, bodystyle=, style=
  • innerstyle=
  • basestyle= (for all cells)
title cell
  • titleclass=, titlestyle=
  • title=title (required, not collapsible)
  • navbar=[off|plain] (if name specified)
For inner navboxes
  • name=pagename (if in a subtemplate)
  • border=subgroup|child
  • bodyclass=, bodystyle=, style=
  • innerstyle=
  • basestyle= (for all cells)
title cell (optional, in row 1)
  • titlegroupclass=, titlegroupstyle=
  • titlegroup=subtitle
  • navbar=[off|plain] (if name specified)
Content cell above the list of groups
  • aboveclass=, abovestyle=
  • above=content
Styles of group headers
  • groupclass=, groupstyle=
  • groupwidth=
Styles of group lists
  • listclass=, liststyle=
  • evenstyle=, oddstyle=
  • list1padding=[yes], listpadding=[yes]
Images in row 1, spanning all rows except title
  • imageclass=
  • imageleftstyle=, imageleft=
  • imagestyle=, image=
For each group (n>=1)
  • groupn=header
  • listnstyle=
  • listn=list content or
    inner navbox
Content cell below the list of groups
  • belowclass=, belowstyle=
  • below=content

Dependencies