Difference between revisions of "Template:Navbox list/Documentation"

From GodWiki
Jump to navigation Jump to search
(Created page with "{{tlx|Navbox list}} is intended for use with the {{tlx|Navbox}} template to make correctly formatted lists of items. Items should be wikilinked and formatted exactly as they...")
 
m (Add navbox suite navbox)
Line 1: Line 1:
{{tlx|Navbox list}} is intended for use with the {{tlx|Navbox}} template to make correctly formatted lists of items.
+
{{Navbox suite}}
 +
{{tlx|Navbox list}} is intended for use with the {{tlx|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.
 
Items should be wikilinked and formatted exactly as they will appear in the final list.
Line 5: Line 6:
 
Example of use:
 
Example of use:
  
{{pre|<nowiki>{{Navbox
+
{{clear}}{{pre|<nowiki>{{Navbox
 
|title=List example
 
|title=List example
 
|list1={{Navbox list|[[Item one]]|[[Piped link|Item two]]|[[Item three]] (note)}}
 
|list1={{Navbox list|[[Item one]]|[[Piped link|Item two]]|[[Item three]] (note)}}

Revision as of 20:12, 10 December 2018

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.

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.