Template:Navbox

From The C&C Wiki

The template automatically pulls the list of the children pages of a given page, unless 'auto' is set to 'no' (in which case the arbitrary content can be provided).

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Page name of a topic to start navigation from.

Page namerequired
Iconimage

A filename of an image to represent the topic.

Page namerequired
Icon links totarget

A page name or URL to link the icon to.

Stringoptional
Methodauto

If set to "no", allows providing of arbitrary content in the field "content". Otherwise, pulls a set of links to the children pages of the page provided in the field "Title".

Suggested values
yes no
Stringoptional
Contentcontent

Only works if "auto" is set to "no". You can provide links yourself here, if the automatic listing is not satisfactory.

Unbalanced wikitextoptional
Card classcard_class

A custom or pre-defined Bootstrap class name to be applied to the card.

Stringoptional
Example

In this example, the template makes a semantic query based on the Property:Has parent page and looking for pages having the parent page equal to Community, and link the icon to the parent page.

{{navbox
|title=Community
|target=Community
}}
Result
Grouped

Use Template:Navbox block to group cards.

{{navbox block}}
{{navbox
|title=Gameplay
}}
{{navbox
|title=Economy
}}
{{navbox
|title=Lore
}}
{{end}}
{{navbox block}}
{{navbox
|title=Community
}}
{{navbox
|title=Art
|auto=no
|content=
}}
{{navbox
|title=Digital Assets
}}
{{end}}
Result
Discord | Twitter