Template:UCTable

From Totally Accurate Battle Simulator Wiki
Jump to navigation Jump to search

Template Info

Tabled menu for items are appealing and nice to navigate.

This template is a table for presenting items with similar designs to the in-game Unit Creator. Use this template in menu pages and present up to ten items in a row. Note: This template is for one faction and one row ONLY, which should be enough for most menus if sorted by type and faction.

To use this template, refer to the example manual below.

{{UCTable
|Header=(Item row's faction, must be in UPPERCASE)
|Header Link=(Insert if you want the header to be linked)
|Icon 1=(First Item's icon and link, add more by switching to the proceeding number)
|Name 1=(First Item's name in UPERCASE, add more by switching to the proceeding number)
}}


For example, inserting this in the Source Editor...

{{UCTable
|Header=TRIBAL
|Header Link=Tribal (Faction) 
|Icon 1=Club
|Icon 2=Wood Shield
|Icon 3=Spear Throw
|Icon 4=Boulder Throw
|Icon 5=Bone Mage Staff
|Icon 6=Stone Axe
|Name 1=CLUB
|Name 2=WOOD SHIELD
|Name 3=SPEAR THROW
|Name 4=BOULDER THROW
|Name 5=BONE MAGE STAFF
|Name 6=STONE AXE
}}

will result in this.