Template:WC3UnitBox

From Wowpedia
Jump to: navigation, search

Usage

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

{{WC3UnitBox
|name=
|image=
|imgsize=
|image2=
|imgsize2=
|image3=
|imgsize3=
|image4=
|imgsize4=
|race=
|role=
|base_unit=
|faction=
|hp=
|hpregentype=
|hpregenrate=
|mana=
|manaregen=
|timedlife=
|unittype=
|unittargetclassification=
|upgrade=
|level=
|gold=
|lumber=
|food=
|produced=
|buildtime=
|repair=
|req=
|stock=
|stockstart=
|stockreplenish=
|goldbountyawarded=
|transport=
|priority=
|sleeps=
|hotkey=
|collision=
|weapon=
|attack1=
|unittargets1=
|range=
|attacktype1=
|cooldown=
|weapontype=
|attack2=
|unittargets2=
|range2=
|attacktype2=
|cooldown2=
|weapontype2=
|armortype=
|defensetype=
|armor=
|daysight=
|nightsight=
|speed=
|turnrate=
|sound=
|primaryatr=
|strbase=
|strperlevel=
|agibase=
|agiperlevel=
|intbase=
|intperlevel=
}}

Parameter notes

  • name - Name of the unit, if nothing is input it will be article name.
  • image - Unit icon (can be taken from here: WC3 Icons/Icon List and WC3 Icons/Map editor icon library) or, if icon can't be seen, unit portrait.
  • imgsize - Width of image. Defaults to 64px.
  • image2 - Screenshot image, usually a screenshot or a GIF of the unit.
  • imgsize2 - Width of image2. Defaults to 200px.
  • image3 - Reforged Unit icon (can be taken from here: WC3 Icons/Icon List and WC3 Icons/Map editor icon library) or, if icon can't be seen, unit portrait.
  • imgsize3 - Width of image3. Defaults to 64px.
  • image4 - Reforged screenshot image, usually a screenshot or a GIF of the unit.
  • imgsize4 - Width of image4. Defaults to 200px.
  • race - Human, Night Elf, Orc, Undead, Commoner, Creep, Critter, Demon, Naga, None or Other.
  • role - What the unit is used for.
  • base_unit - Example: Naisha is a huntress, Thrall is a Far Seer.
  • faction - Alliance, Horde , Undead, Night Elf, or Neutral.
  • hp - Hit points that the unit have without upgrades.
  • hpregentype - When hit points can be regenerated (Always, Night, Blight, Never).
  • hpregenrate - How many hit poins per second the unit regenerates.
  • mana - Base mana of the unit.
  • manaregen - The rate mana regenerates at.
  • timedlife - If it's a summoned unit, how much it lasts.
  • unittype - Unit Type (if it has no type, use normal, if it has, use Ancient, Giant, Mechanical, Neutral, Suicidal, Summoned, Tauren, Townhall, Tree, Undead, Walkable, Ward and/or Worker).
  • upgrade - Which unit is upgrade up to.
  • level - Level of the unit if it's a creep.
  • gold - Gold cost to produce the unit.
  • lumber - Lumber cost to produce the unit.
  • food - Foods occupied by the unit.
  • produced - Structure produced from.
  • buildtime - Time taken to build the unit.
  • repair - Time taken to repair a building or mechanical unit.
  • req - Tech tree requirement.
  • goldbountyawarded - Gold awarded if the unit is a creep. Formula to calculate it: Gold Bounty Awarded = (Base + Number of Dice) to [Base + (Number of Dice * Side per Dice)]
  • transport - How many spaces it use in a transport unit.
  • priority - Number of priority that the creeps or computer players will take in the unit.
  • sleeps - Type Yes or No.
  • hotkey - Hotkey to produce the unit.
  • stock - Maximum stock. Not worth using except for units that have higher than 1 max stock.
  • stockstart - Delay before unit becomes available.
  • stockreplenish - Delay before unit stock replenishes.
  • collision - Collision Size of the unit.
  • weapon -
  • attack1 - The primary attack used by the unit, the one that appears in the left side and is the only attack for most units.
  • unittargets1 - List the things that the unit can attack with it's primary attack, if it has nothing don't use this, but, if it has, use: Air, Alive, Allied, Ancient, Bridge, Dead, Debris, Decoration, Enemy, Friend, Ground, Hero, Invulnerable, Item, Mechanical, Neutral, Non-Ancient, Non-Hero, Non-suicidal, None, Not self, Organic, Player Units, Self, Structure, Suicidal, Terrain, Tree, Vulnerable, Wall and/or Ward.
  • range - Range attack of the unit.
  • attacktype1 - Attack Type (normal, pierce, siege, spells, chaos, magic or hero).
  • cooldown - Cooldown to attack again.
  • weapontype - Weapon Type (normal, instant, artillery, artillery (line), missile, missile (splash), missile (bounce) or missile (line)).
  • attack2 - The secondary attack used by the units, often used to have an stronger attack against something, like Air or Structures. (For heros use: Hero (varies)).
  • unittargets2 - List the things that the unit can attack with it's secondary attack, if it has nothing don't use this, but, if it has, use: Air, Alive, Allied, Ancient, Bridge, Dead, Debris, Decoration, Enemy, Friend, Ground, Hero, Invulnerable, Item, Mechanical, Neutral, Non-Ancient, Non-Hero, Non-suicidal, None, Not self, Organic, Player Units, Self, Structure, Suicidal, Terrain, Tree, Vulnerable, Wall and/or Ward.
  • range2 - Range attack of the unit.
  • attacktype2 - Attack Type (normal, pierce, siege, spells, chaos, magic or hero).
  • cooldown2 - Cooldown to attack again.
  • weapontype2 - Weapon Type (normal, instant, artillery, artillery (line), missile, missile (splash), missile (bounce) or missile (line)).
  • unittargetclassification - Unit targeted as... (if it has nothing, don't use this, if it has, use Air, Alive, Allied, Ancient, Bridge, Dead, Debris, Decoration, Enemy, Friend, Ground, Hero, Invulnerable, Item, Mechanical, Neutral, Non-Ancient, Non-Hero, Non-suicidal, None, Not self, Organic, Player Units, Self, Structure, Suicidal, Terrain, Tree, Vulnerable, Wall and/or Ward).
  • armortype - Armor Type (ethereal, flesh, metal, stone, wood).
  • defensetype - Defense Type (normal, small, medium, large, fort, hero, divine, none).
  • armor - Number of armor that has the unit.
  • daysight - Day Sight.
  • nightsight - Night Sight.
  • speed - Movement speed.
  • turnrate - Turn Rate
  • sound - Unit Sound Set used by the unit.
  • primaryatr - Primary attribute, only for hero units.
  • strbase - The base strength, only for hero units.
  • strperlevel - The strength given by level to a hero.
  • agibase - The base agility, only for hero units.
  • agiperlevel - The agility given by level to a hero.
  • intbase - The base intelligence, only for hero units.
  • intperlevel - The intelligence given by level to a hero.

Example

Code
{{WC3UnitBox
|name=Grunt
|image=BTNGrunt.png
|image2=WC3Grunt.gif
|image3=
|image4=GruntReforged.jpg
|race=[[Orc]]
|faction=[[Horde|Orcish Horde]]
|attacktype1=Normal
|cooldown=1.60
|attack1=19.5 (30<font title="Stats when fully upgraded" color="red">*</font>) avg
|range=10
|unittargets1=Ground, Structure, Debris, Item, Ward
|weapontype=Normal
|armor=1 (7<font title="Stats when fully upgraded" color="red">*</font>)
|armortype=Heavy
|unittargetclassification=Ground
|speed=Average (270)
|sound=[[Quotes of Warcraft III/Orc Horde#Grunt|Grunt]]
|buildtime=30
|food=3
|gold=200
|hp=700 (800<font title="Stats when fully upgraded" color="red">*</font>)
|hpregenrate=0.25
|hpregentype=Always
|level=3
|priority=3
|daysight=140
|nightsight=80
|hotkey=G
|produced=[[Barracks (WC3 Orc)|Barracks]]
|weapon=Axe
}}
Output
Grunt

BTNGrunt.png
WC3Grunt.gif

GruntReforged.jpg

Race Orc
Faction Orcish Horde
Statistics
Hit points 700 (800*)
Hit point regeneration Always
Hit point regeneration rate 0.25 HP/sec.
Unit Classified As: Ground
Level 3
Gold 200 Gold
Food 3 Food
Produced at Barracks
Build time 30 sec.
Attacking priority 3
Hotkey G
Combat
Weapon(s) Axe
Normal attack: 19.5 (30*) avg
Can attack: Ground, Structure, Debris, Item, Ward
Range 10
Attack type Normal
Cooldown 1.60 sec.
Weapon type Normal
Armor Type Heavy
Armor 1 (7*)
Day Sight 140
Night Sight 80
Movement Speed Average (270)
Sound
Sound Set Grunt