Wowpedia
Sin resumen de edición
Sin resumen de edición
Línea 16: Línea 16:
 
{{#if:{{{role|}}}|{{!}}{{!}}Rol{{!}}{{!}}{{{role}}} }}
 
{{#if:{{{role|}}}|{{!}}{{!}}Rol{{!}}{{!}}{{{role}}} }}
 
|-
 
|-
{{#if:{{{base_unit|}}}|{{!}}{{!}}Base unit{{!}}{{!}}{{{base_unit}}} }}
+
{{#if:{{{base_unit|}}}|{{!}}{{!}}Unidad base{{!}}{{!}}{{{base_unit}}} }}
 
|-
 
|-
 
{{#if:{{{faction|}}}|{{!}}{{!}}Facción{{!}}{{!}}{{{faction}}} }}
 
{{#if:{{{faction|}}}|{{!}}{{!}}Facción{{!}}{{!}}{{{faction}}} }}
 
|-
 
|-
!colspan="2"|Statistics
+
!colspan="2"|Estadísticas
 
|-
 
|-
{{#if:{{{hp|}}}|{{!}}{{!}}Puntos de vida{{!}}{{!}} <font color="limegreen">{{{hp}}}</font> }}
+
{{#if:{{{hp|}}}|{{!}}{{!}}Puntos de impacto{{!}}{{!}} <font color="limegreen">{{{hp}}}</font> }}
 
|-
 
|-
{{#if:{{{hpregentype|}}}|{{!}}{{!}}Regenetación de los puntos de vida{{!}}{{!}} {{{hpregentype}}} }}
+
{{#if:{{{hpregentype|}}}|{{!}}{{!}}Regeneración de puntos de impacto{{!}}{{!}} {{{hpregentype}}} }}
 
|-
 
|-
{{#if:{{{hpregenrate|}}}|{{!}}{{!}}Velocidad de regenaración de los puntos de vida{{!}}{{!}} {{{hpregenrate}}} PV/seg.}}
+
{{#if:{{{hpregenrate|}}}|{{!}}{{!}}Velocidad de regeneración de puntos de impacto{{!}}{{!}} {{{hpregenrate}}} HP/seg.}}
 
|-
 
|-
 
{{#if:{{{mana|}}}|{{!}}{{!}}Maná{{!}}{{!}} <font color="blue">{{{mana}}}</font> }}
 
{{#if:{{{mana|}}}|{{!}}{{!}}Maná{{!}}{{!}} <font color="blue">{{{mana}}}</font> }}
 
|-
 
|-
{{#if:{{{manaregen|}}}|{{!}}{{!}}Velocidad de regenaración de maná{{!}}{{!}} {{{manaregen}}} Maná/seg. }}
+
{{#if:{{{manaregen|}}}|{{!}}{{!}}Velocidad de regeneración de maná{{!}}{{!}} {{{manaregen}}} maná/seg. }}
 
|-
 
|-
 
{{#if:{{{timedlife|}}}|{{!}}{{!}}Life span{{!}}{{!}}{{{timedlife}}} seg. }}
 
{{#if:{{{timedlife|}}}|{{!}}{{!}}Life span{{!}}{{!}}{{{timedlife}}} seg. }}
Línea 38: Línea 38:
 
{{#if:{{{unittargetclassification|}}}|{{!}}{{!}}Unidad clasificada como:{{!}}{{!}}{{{unittargetclassification}}} }}
 
{{#if:{{{unittargetclassification|}}}|{{!}}{{!}}Unidad clasificada como:{{!}}{{!}}{{{unittargetclassification}}} }}
 
|-
 
|-
{{#if:{{{upgrade|}}}|{{!}}{{!}}Upgrades to{{!}}{{!}}{{{upgrade}}} }}
+
{{#if:{{{upgrade|}}}|{{!}}{{!}}Actualiza a{{!}}{{!}}{{{upgrade}}} }}
 
|-
 
|-
 
{{#if:{{{level|}}}|{{!}}{{!}}Nivel{{!}}{{!}} {{{level}}} }}
 
{{#if:{{{level|}}}|{{!}}{{!}}Nivel{{!}}{{!}} {{{level}}} }}
 
|-
 
|-
{{#if:{{{gold|}}}|{{!}}{{!}}Oro{{!}}{{!}}{{{gold}}} [[File:WC3gold.gif|Gold]]}}
+
{{#if:{{{gold|}}}|{{!}}{{!}}Oro{{!}}{{!}}{{{gold}}} [[File:WC3gold.gif|Oro]]}}
 
|-
 
|-
{{#if:{{{lumber|}}}|{{!}}{{!}}Madera{{!}}{{!}}{{{lumber}}} [[File:WC3lumber.gif|Lumber]]}}
+
{{#if:{{{lumber|}}}|{{!}}{{!}}Madera{{!}}{{!}}{{{lumber}}} [[File:WC3lumber.gif|Madera]]}}
 
|-
 
|-
{{#if:{{{food|}}}|{{!}}{{!}}Comida{{!}}{{!}}{{{food}}} [[File:WC3food.gif|Food]]}}
+
{{#if:{{{food|}}}|{{!}}{{!}}Comida{{!}}{{!}}{{{food}}} [[File:WC3food.gif|Comida]]}}
 
|-
 
|-
{{#if:{{{produced|}}}|{{!}}{{!}}Producido en{{!}}{{!}} {{{produced}}} }}
+
{{#if:{{{produced|}}}|{{!}}{{!}}Se crea en{{!}}{{!}} {{{produced}}} }}
 
|-
 
|-
 
{{#if:{{{buildtime|}}}|{{!}}{{!}}Tiempo de construcción{{!}}{{!}} {{{buildtime}}} seg. }}
 
{{#if:{{{buildtime|}}}|{{!}}{{!}}Tiempo de construcción{{!}}{{!}} {{{buildtime}}} seg. }}
Línea 66: Línea 66:
 
{{#if:{{{hotkey|}}}|{{!}}{{!}}Tecla de acceso directo{{!}}{{!}} {{{hotkey}}}}}
 
{{#if:{{{hotkey|}}}|{{!}}{{!}}Tecla de acceso directo{{!}}{{!}} {{{hotkey}}}}}
 
|-
 
|-
!colspan="2"|Combat
+
!colspan="2"|Combate
 
|-
 
|-
{{#if:{{{weapon|}}}|{{!}}{{!}}Arma(s){{!}}{{!}}{{{weapon}}} }}
+
{{#if:{{{weapon|}}}|{{!}}{{!}}Arma (s){{!}}{{!}}{{{weapon}}} }}
 
|-
 
|-
 
{{#if:{{{attack1|}}}|{{!}}{{!}}'''Ataque normal:'''{{!}}{{!}}{{{attack1}}} }}
 
{{#if:{{{attack1|}}}|{{!}}{{!}}'''Ataque normal:'''{{!}}{{!}}{{{attack1}}} }}
Línea 90: Línea 90:
 
{{#if:{{{attacktype2|}}}|{{!}}{{!}}Tipo de ataque{{!}}{{!}}{{{attacktype2}}} }}
 
{{#if:{{{attacktype2|}}}|{{!}}{{!}}Tipo de ataque{{!}}{{!}}{{{attacktype2}}} }}
 
|-
 
|-
{{#if:{{{cooldown2|}}}|{{!}}{{!}Tiempo de reutilización{{!}}{{!}}{{{cooldown2}}} seg.}}
+
{{#if:{{{cooldown2|}}}|{{!}}{{!}}Tiempo de reutilización{{!}}{{!}}{{{cooldown2}}} seg.}}
 
|-
 
|-
 
{{#if:{{{weapontype2|}}}|{{!}}{{!}}Tipo de arma{{!}}{{!}}{{{weapontype2}}} }}
 
{{#if:{{{weapontype2|}}}|{{!}}{{!}}Tipo de arma{{!}}{{!}}{{{weapontype2}}} }}
Línea 109: Línea 109:
 
!colspan="2"{{!}}Sonido
 
!colspan="2"{{!}}Sonido
 
{{!}}-
 
{{!}}-
{{!}}{{!}}Establecer sonido{{!}}{{!}}{{{sound}}} }}
+
{{!}}{{!}}Sonido{{!}}{{!}}{{{sound}}} }}
 
|-
 
|-
 
{{#if:{{{primaryatr|{{{strperlevel|{{{agiperlevel|{{{intperlevel|}}}}}}}}}}}}|!colspan="2"{{!}}Parámetros de héroe
 
{{#if:{{{primaryatr|{{{strperlevel|{{{agiperlevel|{{{intperlevel|}}}}}}}}}}}}|!colspan="2"{{!}}Parámetros de héroe
 
{{!}}-
 
{{!}}-
{{#if:{{{primaryatr|}}}|{{!}}{{!}}Atributo principal{{!}}{{!}}{{{primaryatr}}} }}
+
{{#if:{{{primaryatr|}}}|{{!}}{{!}}Atributo primario{{!}}{{!}}{{{primaryatr}}} }}
 
{{!}}-
 
{{!}}-
{{#if:{{{strbase|}}}|{{!}}{{!}}Fuerza{{!}}{{!}} [[File:Infocard-heroattributes-str.png|25px]]{{{strbase}}} (+{{#if:{{{strperlevel|}}}|{{{strperlevel}}}/nivel) }} }}
+
{{#if:{{{strbase|}}}|{{!}}{{!}}Fuerza{{!}}{{!}} [[File:Infocard-heroattributes-str.png|25px]]{{{strbase}}} (+{{#if:{{{strperlevel|}}}|{{{strperlevel}}}/level) }} }}
 
{{!}}-
 
{{!}}-
{{#if:{{{agibase|}}}|{{!}}{{!}}Agilidad{{!}}{{!}} [[File:Infocard-heroattributes-agi.png|25px]] {{{agibase}}} (+{{#if:{{{agiperlevel|}}}|{{{agiperlevel}}}/nivel) }} }}
+
{{#if:{{{agibase|}}}|{{!}}{{!}}Agilidad{{!}}{{!}} [[File:Infocard-heroattributes-agi.png|25px]] {{{agibase}}} (+{{#if:{{{agiperlevel|}}}|{{{agiperlevel}}}/level) }} }}
 
{{!}}-
 
{{!}}-
{{#if:{{{intbase|}}}|{{!}}{{!}}Inteligencia{{!}}{{!}} [[File:Infocard-heroattributes-int.png|25px]] {{{intbase}}} (+{{#if:{{{intperlevel|}}}|{{{intperlevel}}}/nivel) }} }}
+
{{#if:{{{intbase|}}}|{{!}}{{!}}Inteligencia{{!}}{{!}} [[File:Infocard-heroattributes-int.png|25px]] {{{intbase}}} (+{{#if:{{{intperlevel|}}}|{{{intperlevel}}}/level) }} }}
 
{{!}}-}}
 
{{!}}-}}
|}</includeonly></onlyinclude>{{documentation}}
+
|}</includeonly></onlyinclude>{{documentation}} [[Category:Non-Infobox infobox templates]] [[Category:Templates with inline colors]]

Revisión del 17:53 23 feb 2014

Usage

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

Template order

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

World Editor order

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

Parameter notes

  • name - Name of the unit, if nothing is input it will be article name.
  • image - Usually unit icon (can be taken from here: Íconos de Warcraft III/Lista de íconos and WC3 Icons/Map editor icon library) or, if icon can't be seen, unit portrait.
  • imgsize - Width of image.
  • image2 - Optional animated GIF.
  • imgsize2 - Width of image2.
  • 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.
  • 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. (For heros use: Hero (varies)).
  • 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.
  • sound - Unit Sound Set used by the unit.
  • primaryatr - Primary attribute, only for hero units.
  • strbase - The base strenght, only for hero units.
  • strperlevel - The strenght 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 inteligence, only for hero units.
  • intperlevel - The inteligence given by level to a hero.

Example

Code
{{WC3UnitBox
|name=Dark Ranger
|race=Undead
|image=DarkRanger.gif
|image2=Darkranger2.gif
|role=Hero
|base_unit=
|faction=Neutral
|armorname=
|hp=550 - 975
|hpregentype=Always
|hpregenrate=
|energy=225 - 570
|manaregen=.01
|armortype=
|transport=1
|level=1 - 10
|gold=425
|lumber=135
|food=25
|buildtime=
|repair=
|produced=
|req=
|goldbountyawarded=40-51
|priority=9
|sleeps=No
|hotkey=R
|weapon=Bow

|attack1=Varies (Hero)
|unittargets1=Ground, Structures, Debris, Air, Item, Ward
|range=60
|attacktype1=Hero
|cooldown=2.42
|weapontype=Missile
|attack2=
|unittargets2=
|range2=
|attacktype2=
|cooldown2=
|weapontype2=

|armor=
|sight=180/80
|speed=Fast (320)
|sound=DarkRanger
|primaryatr=Agility
|strperlevel=18 (+1.9/level)
|agiperlevel=21 (+1.5/level)
|intperlevel=15 (+2.6/level)
}}
Output
Dark Ranger
DarkRanger
Darkranger2
Raza Undead
Rol Hero
Facción Neutral
Estadísticas
Puntos de impacto 550 - 975
Regeneración de puntos de impacto Always
Velocidad de regeneración de maná .01 maná/seg.
Nivel 1 - 10
Oro 425 Oro
Madera 135 Madera
Comida 25 Comida
Recompensa de oro otorgada 40-51BTNPillage
Ranuras en transporte 1
Prioridad al atacar 9
Duerme No
Tecla de acceso directo R
Combate
Arma (s) Bow
Ataque normal: Varies (Hero)
Puede atacar: Ground, Structures, Debris, Air, Item, Ward
Rango 60
Tipo de ataque Hero
Tiempo de reutilización 2.42 seg.
Tipo de arma Missile
Velocidad de movimiento Fast (320)
Sonido
Sonido DarkRanger
Parámetros de héroe
Atributo primario Agility
Fuerza Infocard-heroattributes-str18 (+1.9/level)
Agilidad Infocard-heroattributes-agi 21 (+1.5/level)
Inteligencia Infocard-heroattributes-int 15 (+2.6/level)