Template:Navbox items

From GodWiki
Revision as of 15:08, 4 April 2019 by FeRDNYC (talk | contribs) (Implement |mode=example, to create fake links in docs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
[view] [edit] [history] [refresh]
Documentation  Documentation

Parameters

|mode=nolink
Disable automatic wikilinking of items (which is on by default).
(Note: |mode=example will apply link formatting without linking, using {{fake link}}. This can be useful when demonstrating the output of this template, e.g. in documentation.)
|wrap=yes/no
If yes, items have no special wrapping, and will break across lines as normal. If no, nowrap is applied to list items.
|item-style=
CSS styling applied to individual list items. Include trailing ;, do not include "quotes".
|bullet=
Set bullet character (Default is )

Examples

  • A list of towns, with autolinking.

Code:

{{Navbox items|Beerburgh|Herowin|San Satanos|Dogville}}

Output:

Beerburgh • Herowin • San Satanos • Dogville
  • A longer list, coded vertically (on multiple lines), illustrating why |mode=nolink may be necessary for some lists.

Code:

{{Navbox items | mode=nolink
| [[:Category:Healing Artifacts|Healing Artifacts]]
| [[:Category:Bold Artifacts|Bold Artifacts]]
| [[:Category:Activatable Artifacts|Activatable Artifacts]]
}}

Output

Healing Artifacts • Bold Artifacts • Activatable Artifacts