Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Home
Random page
Pages on topics near you
Recent changes
Special pages
Search
Search
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Template
:
Navbox/doc
(section)
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== TemplateData == {{Format TemplateData|1=<templatedata>{ "description": "Creates a navigational box for links to other pages; does not display on mobile browsers.", "format": "{{_\n | ______________ = _\n}}", "paramOrder": [ "name", "state", "title", "titleclass", "titlestyle", "bodyclass", "bodystyle", "border", "listpadding", "listclass", "liststyle", "nowrapitems", "evenodd", "evenstyle", "oddstyle", "basestyle", "above", "aboveclass", "abovestyle", "groupwidth", "groupclass", "groupstyle", "group1", "group1style", "list1", "list1style", "group2", "list2", "group3", "list3", "group4", "list4", "group5", "list5", "group6", "list6", "image", "imageclass", "imagestyle", "imageleft", "imageleftstyle", "below", "belowclass", "belowstyle", "navbar", "navboxclass", "innerstyle", "orphan" ], "params": { "name": { "label": "Name", "type": "wiki-page-name", "description": "The name of the template. Needed for \"View β’ Talk β’ Edit\" links to work properly.", "default": "{{subst:PAGENAME}}", "suggested": true }, "state": { "label": "Default expansion state", "type": "line", "description": "Controls when a navbox is expanded or collapsed", "suggestedvalues": [ "autocollapse", "collapsed", "expanded", "plain", "off" ], "default": "autocollapse", "suggested": true }, "title": { "label": "Title", "type": "content", "description": "Text in the title bar; centered in the top row of the table. Usually the template's topic.", "example": "[[Widget stuff]]", "suggested": true }, "titleclass": { "label": "Title CSS classes", "description": "Additional CSS classes to declare for the title table row", "type": "line", "suggestedvalues": [ "fn" ] }, "titlestyle": { "label": "Title CSS style", "type": "line", "description": "Additional CSS declarations to define for the full-width title table cell" }, "bodyclass": { "label": "Body CSS classes", "type": "line", "description": "Additional CSS classes to declare for the navbox's containing block element", "suggestedvalues": [ "vcard" ] }, "bodystyle": { "label": "Body CSS styles", "type": "line", "description": "Additional CSS declarations to append inline to the style attribute of the navbox's containing block element", "default": "background-color: #fdfdfd; vertical-align: middle; width: 100%;" }, "border": { "aliases": [ "1" ], "label": "Border status", "type": "line", "description": "When assigned either the 'child' or 'subgroup' keyword values, alters navbox styling to support nesting within another navbox template", "suggestedvalues": [ "child", "none", "subgroup" ] }, "listpadding": { "label": "List padding size", "type": "line", "description": "A valid CSS length value specifying the padding in each list cell", "default": "0 0.25em" }, "listclass": { "label": "List class", "type": "line", "description": "CSS class for the list cells, usually hlist for horizontal lists. Alternatively, use bodyclass for the whole box.", "suggestedvalues": [ "hlist", "wraplinks" ], "default": "nowraplinks" }, "liststyle": { "label": "List CSS styles", "type": "line", "description": "Custom CSS style declarations to apply to all lists. The default value for the <code>text-align:</code> property is <code>left</code> for lists with a corresponding <code>|group<sub><var>N</var></sub>=</code> parameter defined and <code>center</code> for lists that do not.", "default": "background: transparent; text-align: β¦;" }, "nowrapitems": { "label": "Prevent line breaks inside list items", "type": "boolean", "description": "Applies the <code>nowrap</code> class to each list item individually in the <code>|above=</code>, <code>|below=</code> and all <code>|list<sub><var>N</var></sub>=</code> parameters", "example": "yes" }, "evenodd": { "label": "Alternating list background striping", "type": "line", "description": "This template uses a slightly lighter background color for even-numbered <code>|list<sub><var>N</var></sub>=</code> parameters for ease of reading. If this parameter is assigned the keyword value <code>swap</code>, then lighter background is applied to odd-numbered <code>|list<sub><var>N</var></sub>=</code> parameters instead. Assigning the keyword values <code>even</code> or <code>odd</code> forces all rows to be displayed uniformly according to that row style, while the keyword value <code>off</code> disables the row striping effect entirely.", "suggestedvalues": [ "swap", "even", "odd", "off" ], "default": "on" }, "evenstyle": { "type": "line" }, "oddstyle": { "type": "line" }, "basestyle": { "label": "Non-list CSS styles", "type": "line", "description": "Additional CSS declarations to append inline to the style attributes of the 'title', 'above', 'below' and 'group' table cells" }, "above": { "label": "Above", "type": "content", "description": "Full-width cell displayed between the titlebar and first group/list, i.e. above the template's body (groups, lists and image)", "suggested": true }, "aboveclass": { "label": "Above CSS classes", "description": "Additional CSS classes to declare for the 'above' table cell", "type": "line" }, "abovestyle": { "type": "line" }, "groupwidth": { "type": "line" }, "groupclass": { "label": "Group CSS classes", "description": "Additional CSS classes to define for all group name table cells", "type": "line" }, "groupstyle": { "type": "line" }, "group1": { "label": "Group 1", "type": "content", "description": "If specified, text appears in a header cell displayed to the left of list 1. If omitted, list 1 uses the full width of the navbox.", "suggested": true }, "group1style": { "type": "line" }, "list1": { "label": "List 1", "type": "content", "description": "Body of the template; usually a list of links. Format is inline. At least one list parameter is required; each additional list is displayed in a separate row of the table. Each listn may be preceded by a corresponding groupn parameter. Entries should be separated using a newline and an asterisk. If two asterisks are used, it provides nesting within the previous entry with brackets.", "required": true }, "list1style": { "type": "line" }, "group2": { "label": "Group 2", "type": "content", "description": "If specified, text appears in a header cell displayed to the left of list 2. If omitted, list 2 uses the full width of the navbox.", "suggested": true }, "list2": { "label": "List 2", "inherits": "list1", "required": false, "suggested": true }, "list3": { "label": "List 3", "inherits": "list1", "required": false }, "group3": { "label": "Group 3", "type": "content", "description": "If specified, text appears in a header cell displayed to the left of list 3. If omitted, list 3 uses the full width of the navbox." }, "group4": { "label": "Group 4", "type": "content", "description": "If specified, text appears in a header cell displayed to the left of list 4. If omitted, list 4 uses the full width of the navbox." }, "list4": { "label": "List 4", "inherits": "list3" }, "group5": { "label": "Group 5", "type": "content", "description": "If specified, text appears in a header cell displayed to the left of list 5. If omitted, list 5 uses the full width of the navbox." }, "list5": { "label": "List 5", "inherits": "list3" }, "group6": { "label": "Group 6", "type": "content", "description": "If specified, text appears in a header cell displayed to the left of list 6. If omitted, list 6 uses the full width of the navbox." }, "list6": { "label": "List 6", "type": "content", "description": "Body of the template; usually a list of links. Format is inline. Each list<sub><var>n</var></sub> may be preceded by a corresponding groupn parameter. Entries should be separated using a newline and an asterisk. If two asterisks are used, it provides nesting within the previous entry with brackets." }, "image": { "label": "Right-side image", "type": "content", "description": "Image to be displayed in a cell below the title and to the right of the body", "example": "[[File:XX.jpg | 80px | link= | alt= ]]", "suggested": true }, "imageclass": { "label": "Image CSS classes", "description": "Additional CSS classes to declare for the (right) image table cell", "type": "line" }, "imagestyle": { "type": "line" }, "imageleft": { "label": "Left-side image", "type": "content", "description": "Image to be displayed in a cell below the title and to the left of the body. For the image to display properly, list1 parameter must be specified and no groups can be specified.", "example": "[[File:XX.jpg | 80px | link= | alt= ]]" }, "imageleftstyle": { "type": "line" }, "below": { "label": "Below", "type": "content", "description": "Full-width cell displayed below the template's body.", "suggested": true }, "belowclass": { "label": "Below CSS classes", "description": "Additional CSS classes to declare for the below table cell", "type": "line" }, "belowstyle": { "type": "line" }, "navbar": { "label": "Navbar status", "type": "line", "suggestedvalues": [ "off", "plain" ] }, "navboxclass": { "type": "line" }, "innerstyle": { "type": "line" }, "orphan": { "example": "yes", "type": "boolean" } } }</templatedata>}}
Summary:
Please note that all contributions to Wikifacta are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International License. A few of Wikifacta's pages are from Wikipedia.org's Mainspace and Draftspace. (see
Wikifacta:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Template
:
Navbox/doc
(section)
Add topic