This is the documentation page for Module:Navboxes
Description
This module is about creating navboxes autopopulated with in game data, with game extra user customization on top of it.
The generated table tries to mimic the game data & categories.
Extra "fake" categories or forced categorisation can be done by registering objects with the Template:NavCategory on the specific pages.
Usage
Usage:
{{#invoke:Navboxes|create|title=<NavboxTitle>|type=<navBoxType>}}
Where navBoxType is within NavboxType
values, see LUA source in this page. As of writing, valid values are: Unit, Building, Component, Item (Case insensitive)
Example
Building
The following call:
{{#invoke:Navboxes|create|title=Buildings|type=building}}
Results in:
Small Building | |
Medium Building | |
Large Building | |
Special Building | |
Other Construction | |
Human Building | |
Alien Building | |
Special |
Item
Resource | |
Simple Material | |
Advanced Material | |
Hi-Tech Material | |
Packaged Unit | |
Research Data |
Unit
Navbox error: Unknown type: 'UNIT'
Component
Integrated Component | |
Internal Component | |
Small Component | |
Medium Component | |
Large Component |