Template:Unit

From MegaGlest
Jump to: navigation, search
Unit


Template documentation (for the above template)[view] [edit] [purge]
An infobox for individual units, such as the swordman. Should look like this:
{{Unit
|Unit Name =
|Image     =
|Health    =
|Energy    =
|Resources =
|Armor     =
|Faction   =
}}

Attributes[edit]

All attributes are optional.

Unit Name[edit]

The name of the unit, as it is displayed in game.

Image[edit]

A path to an image of the unit.

Health[edit]

The Hit Points (HP) of the unit. Include the regeneration in brackets.

Energy[edit]

The Energy Points (EP) of the unit (or 0 if none at all). Include the regeneration in brackets.

Resources[edit]

The resource cost of the unit, such as 75 gold, 25 wood, and 1 food.

Armor[edit]

The armor value. In brackets, include the armor type (ie: leather, metal, etc).

Faction[edit]

The faction this unit belongs to. DO NOT MIX UP UNITS OF THE SAME NAME. For example, a swordman might be in multiple factions, but each unit is individual and needs its own article, even if it appears identical.

Example[edit]

Swordman
Wiki.png
Health

700

Energy

0

Resource Cost

75 gold, 25 wood, 1 food

Armor

20 (leather)

Faction

Tech


{{Unit
|Unit Name = Swordman
|Image     = File:Wiki.png
|Health    = 700
|Energy    = 0
|Resources = 75 gold, 25 wood, 1 food
|Armor     = 20 (leather)
|Faction   = [[Tech]]
}}