FANDOM


UpgrBox
Picture and caption goes here
Upgrade
Affiliation

Which faction the upgrade belongs to

Upgrade type

What kind of upgrade it is

Tier

The tier necessary to obtain the unit

Level

The level necessary to obtain the unit

Research
Cost

The upgrade's cost

Build time

The upgrade's build time

Produced by

Where the unit is constructed

Requires

What's required before upgrade can begin

Function
Hot key

The upgrade's hotkey

Further upgrades

What other upgrades this unlocks

Unlocks

What this upgrade unlocks

Notes

Anything else about the upgrade that's worth mentioning

This infobox displays gameplay information for upgrades.

Usage

Copy and paste the code into the article and fill in the fields.

Replacing an Upgrade Template

If you've been asked to change an Upgrade template then:

  1. Copy the blank unitbox (below) into the page
  2. Copy the parameter values from the old template to the new UpgrBox template code. Please check the defunct template's code to see which value is assigned to which parameter.
    E.g. the following means you should copy whatever value is currently assigned to "function" parameter in the page that uses the old template and assign it to "role" parameter in the new UnitBox template code.
    |role = {{#if:{{{function|}}}|{{{function}}}}}
  3. Remove the old template code from the page
  4. Do not remove any blank or unused parameters from the UnitBox template code. This is to expedite any future expansion.

Code

{{UpgrBox
|name         = 
|image        = 
|imgsize      = 
|slides       = 
|imgdesc      = 
|faction      = 
|updradetype  =
|tier         = 
|level        = 
|cost         = 
|time         = 
|produced     = 
|req          = 
|hotkey       = 
|unlocksupgr  = 
|unlocks      = 
|notes        = 
|margin       = 
}}

Optional Fields

The following are some notes on optional fields.

  • imgsize
    • Manually sets the width of image, otherwise image uses its default size of 250px.
    • Requires units to be set. 200px is a valid entry. 200 is not.
  • slides
    • Set's a slide show. Enter one or more pictures separated by newlines. Add a {{!}} to separate individual slide captions and link parameters. More info here. E.g.
Avatar.png {{!}} INSER CAPTION HERE {{!}} link=TEST LINK {{!}} linktext=TEST LINK TEXT
  • notes
    • For any misc information
  • margin
    • To change the margins for custom layouts
Community content is available under CC-BY-SA unless otherwise noted.