Template:WC1UnitBox

From Wowpedia
Jump to: navigation, search

Usage

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

Template order

{{WC1UnitBox
|name=
|image=
|imagep=
|imagem=
|race=
|hp=
|armor=
|attack=
|attack2=
|range=
|speed=
|sight=
|decayrate=
|gold=
|lumber=
|summoned=
|produced=
|required=
|buildtime=
|unlocked=
}}

Parameter Notes

  • name - The unit's/building's name
  • image - If only one image of the unit/building is avaliable, use this to have it centred in the box
  • imagep - The unit's/building's portrait image
  • imagem - The unit's/building's model image
  • race - The unit's/building's faction (Human/Orc/Neutral)
  • hp - The unit's/building's hit points
  • armor - The unit's armor points
  • attack - The unit's basic attack damage
  • attack2 - The unit's piercing attack damage
  • range - The unit's range
  • speed - The unit's speed
  • sight - The unit's sight radius
  • decayrate - The summoned unit's time it takes to decay
  • gold - The unit's/building's gold cost
  • lumber - The unit's/building's lumber cost
  • summoned - The summoned unit's summoner
  • produced - The building in which the unit is produced at
  • required - The building/s which is/are required in order to be able to train the unit or to build the building
  • buildtime - The unit's/building's time it takes to build
  • unlocked - The campaign level in which the unit/building is unlocked

Example

  • Code
    {{WC1UnitBox
    |name=Knight
    |image=
    |imagep=WC1PKnight.gif
    |imagem=WC1Knight.gif
    |race=[[Human]]
    |hp=90
    |armor=5<br>7 (1 upgrade)<br>9 (all upgrades)
    |attack=13<br>15 (1 upgrade)<br>17 (all upgrades)
    |attack2=1
    |range=N/A
    |speed=8<br>9 (1 upgrade)<br>10 (all upgrades)
    |sight=3
    |decayrate=N/A
    |gold=850
    |lumber=0
    |summoned=
    |produced=[[Barracks (WC1 Human)|Barracks]]
    |required=[[Stables (WC1 Human)|Stables]] and [[Blacksmith (WC1 Human)|Blacksmith]]
    |buildtime=800
    |unlocked=[[The Forest of Elwynn (WC1 Human)|The Forest of Elwynn]]
    }}
  • Output
    Knight
    WC1PKnight.gifWC1Knight.gif
    Race Human
    Statistics
    Hit Points 90
    Armor 5
    7 (1 upgrade)
    9 (all upgrades)
    Basic Damage 13
    15 (1 upgrade)
    17 (all upgrades)
    Piercing Damage 1
    Range N/A
    Speed 8
    9 (1 upgrade)
    10 (all upgrades)
    Sight 3
    Decay Rate N/A
    Production Related
    Gold 850 Gold
    Lumber 0 Lumber
    Produced at Barracks
    Requires Stables and Blacksmith
    Build time 800
    Campaign
    Unlocked in

    The Forest of Elwynn