Template:WC1UnitBox/doc
Jump to navigation
Jump to search
Usage
Copy and paste the following into the article and fill in the fields.
-
- Boilerplate and template order
{{WC1UnitBox |name= |image= |portrait= |imager= |portraitr= |type= |race= |hp= |armor= |attack= |attack2= |range= |cooldown= |speed= |sight= |priority= |decayrate= |gold= |lumber= |summoned= |produced= |required= |buildtime= |unlocked= }} -
- Parameter Notes
Parameter Description nameThe unit's/building's name imageClassic unit/building model image portraitClassic unit/building portrait imagerRemastered unit/building model image portraitrRemastered unit/building portrait typeunitorbuilding. Used to display appropriately on Warcraft: Orcs & Humans units or Warcraft: Orcs & Humans buildings.raceThe unit's/building's faction (Human/Orc/Neutral) hpThe unit's/building's hit points armorThe unit's armor points attackThe unit's basic attack damage attack2The unit's piercing attack damage rangeThe unit's range cooldownThe delay between the unit's attacks (lower number = faster attacks) speedThe unit's speed sightThe unit's sight radius priorityUnits with higher priority will usually get targeted first by idle and computer-controlled units decayrateThe summoned unit's time it takes to decay goldThe unit's/building's gold cost lumberThe unit's/building's lumber cost summonedThe summoned unit's summoner producedThe building in which the unit is produced at requiredThe building/s which is/are required in order to be able to train the unit or to build the building buildtimeThe unit's/building's time it takes to build unlockedThe campaign level in which the unit/building is unlocked
Example
-
- Code
{{WC1UnitBox |name=Knight |portrait=Knight_pwc1.gif |image=Knight WC1.gif |portraitr=Knight_pwc1r.png |imager=Knight WC1R.png |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 |cooldown=40 |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 Range N/A Cooldown 40 Speed 8
9 (1 upgrade)
10 (all upgrades)Sight 3 Priority 45 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