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= |cooldown= |range= |speed= |sight= |priority= |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
- cooldown - How long the unit must wait before attacking again
- range - The unit's range
- speed - The unit's speed
- sight - The unit's sight radius
- priority - How important a target is to a unit when automatically choosing what unit to attack
- 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 |cooldown=40 |range=N/A |speed=8<br>9 (1 upgrade)<br>10 (all upgrades) |sight=3 |priority=45 |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 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 Cooldown Time 40 Range N/A Speed 8
9 (1 upgrade)
10 (all upgrades)Sight 3 Priority 45 Decay Rate N/A Production Related Gold 850 Lumber 0 Produced at Barracks Requires Stables and Blacksmith Build time 800 Campaign Unlocked in