Template:WC1UnitBox

From Warcraft Watch Secrets
Revision as of 01:31, 6 April 2025 by imported>Surafbrov
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
    name The unit's/building's name
    image Classic unit/building model image
    portrait Classic unit/building portrait
    imager Remastered unit/building model image
    portraitr Remastered unit/building portrait
    type unit or building. Used to display appropriately on Warcraft: Orcs & Humans units or Warcraft: Orcs & Humans buildings.
    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
    cooldown The delay between the unit's attacks (lower number = faster attacks)
    speed The unit's speed
    sight The unit's sight radius
    priority Units with higher priority will usually get targeted first by idle and computer-controlled units
    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
    |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

This template defines the table "wc1". This table has not been created yet.