Template:Navbox factions WL2

From Wasteland Wiki
Jump to: navigation, search
Wasteland 2 factions
Template documentation (for the template shown above, sometimes hidden or invisible)

This is a navbox, a grouping of links used in multiple related articles to facilitate navigation between those articles.

Based on {{Navbox}}.

Usage[edit source]

Displaying the navbox[edit source]

Insert the following at the bottom of the article to display the navbox:

{{Navbox factions WL2}}

Editing the navbox[edit source]

The most frequently used parameters for editing the navbox are listed below. For full documentation, please see {{Navbox}}.

RequiredIcon required.png
<unnamed 1>

This parameter should always be set to {{{1|}}} (see the example under "Usage"). It allows the layout of the navbox to be changed so it fits inside another navbox, if the parameter is set to "nested" from within the other navbox.

OptionalIcon optional.png
blockA up to blockH

Content of block cells. blockA appears left of the groupA parameters and so forth. If no group or content fields in this block have been specified, the block is not displayed either.

OptionalIcon optional.png
contentA1 up to contentH8

Lists of links. Make sure that links point directly to the intended pages (i.e. not to redirects) so the current page is properly marked in the template. It is recommended to sort links in each cell alphabetically for reader convenience.

For standard (horizontal) rows, separate individual links with {{dot}}. For columns, use unnumbered lists (inserted with *).

Sometimes required or at least one requiredIcon semi-required.png

The name of the template page; used to generate the "view"/"edit"/"discuss" links. You can use {{subst:PAGENAME}} when creating the template. If no editlink is specified, the "view"/"edit"/"discuss" links will not be displayed.

OptionalIcon optional.png

Text of the footer, i.e. a row at the very bottom of the navbox.

OptionalIcon optional.png
groupA1 up to groupH8

Content of group cells. groupA1 appears to the left of contentA1 (or above it when in column mode) and so forth. If a group field has been specified, the corresponding content becomes mandatory. For example, if groupD3 has been set, you need to set contentD3 as well.

OptionalIcon optional.png
headerA up to headerH

Content of header rows. headerA appears above contentA1, headerB appears above contentB1 and so forth. If the block is collapsible, this becomes mandatory as it is the text which remains visible when collapsed.

OptionalIcon optional.png
image, imageleft

Allows to specify images which should be displayed to the right (image) or left (imageleft) of the whole navbox content. Simply enter the file name without "File:". If the blocks in the navbox are collapsible, these images will remain visible even if all blocks are collapsed (but will not be visible if the navbox itself is collapsed). Be careful not to make the images too large or you risk visual oddities.

OptionalIcon optional.png

This parameter allows to specify options which apply to the navbox itself or all blocks inside. Multiple options can be specified at once; simply separate them with commas (,).

Commonly used choices:

  • collapsiblegroups: This makes all blocks within the navbox collapsible and collapsed on page load. Can be overriden for individual blocks by setting the block-specific option parameter (see below) to "uncollapsed".
  • columns: This turns all blocks into column-type blocks, i.e. blocks where the links are listed from top to bottom instead of from left to right.
  • uncollapsedgroups: This makes all block within the navbox collapsible and uncollapsed on page load. Can be overriden for individual blocks by setting the block-specific option parameter (see below) to "collapsed".
OptionalIcon optional.png
(default: "bottom")

Intended positioning of the navbox in article pages. Also influences default width and collapse behaviour.

Available options:

  • bottom: The navbox is supposed to be put at the end of articles; full width, collapses.
  • left: The navbox is supposed to be put on the left side of articles with text flowing around it; thin navbox, not collapsible.
  • right: The navbox is supposed to be put on the right side of articles with text flowing around it; thin navbox, not collapsible.
RequiredIcon required.png

The title or caption of the navbox.

Documentation transcluded from Template:Navbox/doc/standard.