Template:Navbox list

From GodWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

[view] [edit] [history] [refresh]
📚 Documentation
Important.png{{Navbox list}} is deprecated — use {{Navbox items}}
{{Navbox list}} is considered deprecated in favor of {{Navbox items}}, which offers several improvements. Primarily, {{Navbox items}} autolinks by default, making it easier to build simple lists (the majority of cases). (Disable with {{Navbox items|mode=nolink}}.) So, for example...
OLD:
{{Navbox list| [[Thing 1]] | [[Thing 2]] | [[Thing 3]] }}
NEW:
{{Navbox items | Thing 1 | Thing 2 | Thing 3 }}, or
{{Navbox items | mode= nolink | [[Thing 1|One]] | [[Thing 2|Two]]}}
Navbox templates
{{Navbox}}
{{Navbox subgroup}}
{{Navbox items}}

{{Navbox list}} is intended for use with the {{Navbox}} set of templates to make correctly formatted lists of items.

Items should be wikilinked and formatted exactly as they will appear in the final list.

Example of use:

{{Navbox
|title=List example
|list1={{Navbox list|[[Item one]]|[[Piped link|Item two]]|[[Item three]] (note)}}
}}
 List example
Item one Item two Item three (note)

Up to 99 list items are supported.

{{Navbox list}} optional parameters

|bullet=
Defines a bullet to appear between the list items. The default bullet is , which is defined in the sub-page {{Navbox list/Bullet}}.
|space=
Defines the space to appear between the bullet and the adjacent list items on either side, as in:
Item[space]bullet[space]Item. The default is a normal space, and is defined in the sub-page {{Navbox list/Space}}.
|bullet-wrap=yes
By default, this template makes a list item and the bullet to its right non-breaking, so that wherever possible it stays together on a single line and doesn't wrap. Setting |bullet-wrap=yes allows list items and bullets to break freely across lines. This is only useful if your list contains very long items, which cause ugly line breaking on small screens.
|item-wrap=no
If |bullet-wrap=yes, this parameter tells the template to stop list items from breaking across a space, but allow the bullet to appear on the next line.