float= The Red Rook (cover).png

Parallel Visions: City of Angels City of Demons ebook and trade paperback available on Amazon (or here).
The question of whether Vance was dead or not became more than academic when he found himself in a bathtub up to his chin in ice water like some forgotten cocktail garnish, a demonic woman standing over him, and no memory of how he got there.
Read free chapters of Parallel Visions: City of Angels City of Demons here
The Red Rook, sequel to Dispensing Justice and the second novel of Nova Genesis World is now available for Kindle or as a paperback at Amazon.
Read free chapters of Dispensing Justice here (or get it here).
Read free chapters of The Red Rook here (or get it here). -- Fritz Freiheit

Dispensing Justice (cover).png 20th Annual Writer's Digest Self-Published Book Awards - Honorable Mention.png

Navigation template notes

From FritzWiki
Jump to: navigation, search
http://www.fritzfreiheit.com/wiki/Navigation_template_notes is best viewed with JavaScript turned on.
 
Article icon.svg
 v • d • e 

A navigation template, navbox or topicbox is a grouping of links used in multiple related articles to facilitate navigation between those articles. Editing of a navigation template is done in a central place, the template page.

Navboxes are categorized under Category:Navigational boxes. Some WikiProjects maintain a list of their navigation templates.

Tags:Notes, Nav

Purpose

-

{{Navbox

Defines the start of a navbox

-

}}

[[File:|right|thumbnail|50px]]

v • d • e



|- || below = [[Example]] |Displays bottom bar |- |{{collapsible option}} |Displays text below navbox giving instruction on collapsing and expanding |- |<noinclude>Example text</noinclude> |Prevents "Example text" from appearing in articles containing the navbox (This should be placed immediately after the closing brackets "}}" at the end of the navbox) |}

Example[edit]

What you type[edit]

{{Navbox
| name       = Example
| title      = [[Example]]
| bodyclass  = hlist
| state      = {{{state|uncollapsed}}}
| image      = [[File:Example.jpg|70px|Caption]]
| above      = [[Example]]
| group1     = Example group 1
| list1      = 
* Item 1
* Item 2
* Item 3
| group2     = Example group 2
| list2      = 
* Item A
* Item B
* Item C
| group3     = Example group 3
| list3      = {{Navbox subgroup
 | group1    = Subgroup 1
 | list1     = 
* Item X
* Item Y
* Item Z
 | group2    = Subgroup 2
 | list2     = 
* Item d
* Item e
* Item f
}}
| group4     = Example group 4
| list4      = 
* Item G
* Item H
* Item I
| group5     = Example group 5
| list5      = 
* Item 4
* Item 5
* Item 6
| group6     = Example group 5
| list6      = 
* Item 100
* Item 101
* Item 102
| below      = Example
}}<noinclude>
{{collapsible option}}
</noinclude>

What it looks like[edit]

| group4 = Example group 4 | list4 =

  • Item G
  • Item H
  • Item I

| group5 = Example group 5 | list5 =

  • Item 4
  • Item 5
  • Item 6

| group6 = Example group 5 | list6 =

  • Item 100
  • Item 101
  • Item 102

| below = Example }}

Collapse markup[edit]

Note to editors on how to manage collapsibility:

  • Use {{Navigation template notes|state=collapsed}} to show this template in its collapsed (hidden) state.
  • Use {{Navigation template notes|state=expanded}} to show this template in its expanded (fully visible) state.
  • Use {{Navigation template notes|state=autocollapse}} to show this template in its collapsed (hidden) state only if there is another template of the same type on the page. (This is usually the default.)

Template limits[edit]

There are limits to the number of templates an article may have. When a page exceeds this limit it may look fine in preview but, after the edit is saved, one or more footer navboxes display as wikilinks to the now excess navboxes (for example, displaying a link to "Template:Navbox" rather than the Navbox template itself). Solutions for this problem include (a) removing a template and (b) setting up the footer navboxes so the least important one becomes the "extra" navbox (the one the reader will have to navigate to a separate page to in order to view it).

See also[edit]

Navigation templates comparison
Collapsible Header color Image Groups Style (body)
parameter/s
Examples
{{Navbox}} collapsible navbox Left/right of body Yes Yes
{{Navbox with collapsible groups}} collapsible navbox Left/right of body and/or in each list Yes Yes
{{Navbox with columns}} collapsible navbox Left/right of columns No Yes
{{Navbox years}} collapsible navbox No No No
Collapsible attributes
Type CSS classes Javascript Collapses when Custom
initial state
Nesting
Collapsible tables collapsible Defined in Common.js 2 or more autocollapse on page Yes Yes

}}