Kordloperdlo (обсуждение | вклад) мНет описания правки |
Medoke (обсуждение | вклад) мНет описания правки |
||
(не показаны 3 промежуточные версии этого же участника) | |||
Строка 61: | Строка 61: | ||
| |
| |
||
{| style="text-align:left;" |
{| style="text-align:left;" |
||
− | ! style="width: |
+ | ! style="width:35%;" | |
− | ! style="width: |
+ | ! style="width:65%;" | |
|- |
|- |
||
{{#if:{{{tier|}}}| |
{{#if:{{{tier|}}}| |
||
Строка 80: | Строка 80: | ||
}} |
}} |
||
{{#if:{{{passive|}}}| |
{{#if:{{{passive|}}}| |
||
+ | ! {{tooltip|Пассивная|{{{modifier|Название модификатора не указано}}}}} [{{tooltip|?|Модификатор предмета отвечает за его пассивные способности. Эти модификаторы всегда скрыты и их нельзя развеять.}}] |
||
− | ! Пассивная |
||
{{!}} [[#{{{passive}}}|{{{passive}}}]]{{#if:{{{passive2|}}}|, [[#{{{passive2}}}|{{{passive2}}}]]}} |
{{!}} [[#{{{passive}}}|{{{passive}}}]]{{#if:{{{passive2|}}}|, [[#{{{passive2}}}|{{{passive2}}}]]}} |
||
{{!}}- |
{{!}}- |
||
Строка 128: | Строка 128: | ||
{{{bonus gold|}}} |
{{{bonus gold|}}} |
||
{{{bonus experience|}}}| |
{{{bonus experience|}}}| |
||
+ | ! {{tooltip|Бонус|{{{modifier|Название модификатора не указано}}}}} [{{tooltip|?|Модификатор предмета отвечает за его пассивные способности. Эти модификаторы всегда скрыты и их нельзя развеять.}}] |
||
− | ! Бонус |
||
{{!}} {{#if:{{{bonus strength|}}}|{{#if:{{#pos:{{{bonus strength}}}|-}}||+}}{{{bonus strength}}} к [[сила|силе]]<br>}}<!-- |
{{!}} {{#if:{{{bonus strength|}}}|{{#if:{{#pos:{{{bonus strength}}}|-}}||+}}{{{bonus strength}}} к [[сила|силе]]<br>}}<!-- |
||
-->{{#if:{{{bonus agility|}}}|{{#if:{{#pos:{{{bonus agility}}}|-}}||+}}{{{bonus agility}}} к [[ловкость|ловкости]]<br>}}<!-- |
-->{{#if:{{{bonus agility|}}}|{{#if:{{#pos:{{{bonus agility}}}|-}}||+}}{{{bonus agility}}} к [[ловкость|ловкости]]<br>}}<!-- |
||
Строка 226: | Строка 226: | ||
|passive2 = {{{passive2|}}} |
|passive2 = {{{passive2|}}} |
||
|active = {{{active|}}} |
|active = {{{active|}}} |
||
+ | |modifier = {{{modifier|Название модификатора не указано}}} |
||
|can_alert_allies = {{{can-alert-allies|}}} |
|can_alert_allies = {{{can-alert-allies|}}} |
||
|can_disassemble = {{Yesno|{{{can-disassemble|}}}|blank = no}} |
|can_disassemble = {{Yesno|{{{can-disassemble|}}}|blank = no}} |
||
Строка 286: | Строка 287: | ||
|active_intelligence = {{{active intelligence|}}} |
|active_intelligence = {{{active intelligence|}}} |
||
|active_health = {{#if:{{{active health|}}}{{{bonus strength|}}}{{{active strength|}}}|{{Commafix|{{{active health|0}}}+({{{bonus strength|0}}}+{{{active strength|0}}})*{{Attribute bonuses|bonus health}}}}}} |
|active_health = {{#if:{{{active health|}}}{{{bonus strength|}}}{{{active strength|}}}|{{Commafix|{{{active health|0}}}+({{{bonus strength|0}}}+{{{active strength|0}}})*{{Attribute bonuses|bonus health}}}}}} |
||
− | |active_health_regen= {{#if:{{{bonus health regen|}}}{{{active health regen|}}}{{{bonus strength|}}}{{{active strength|}}}|{{Commafix|({{{bonus health regen|0}}}+{{{active health regen|0}}})+({{Attribute bonuses|bonus health |
+ | |active_health_regen= {{#if:{{{bonus health regen|}}}{{{active health regen|}}}{{{bonus strength|}}}{{{active strength|}}}|{{Commafix|({{{bonus health regen|0}}}+{{{active health regen|0}}})+({{Attribute bonuses|bonus health regeneration flat}}*({{{bonus strength|0}}}+{{{active strength|0}}}))}}}} |
|active_armor = {{#if:{{{active armor|}}}{{{bonus agility|}}}{{{active agility|}}}|{{Commafix|{{{active armor|0}}}+({{{bonus agility|0}}}+{{{active agility|0}}})*{{Attribute bonuses|bonus armor}} round2}}}} |
|active_armor = {{#if:{{{active armor|}}}{{{bonus agility|}}}{{{active agility|}}}|{{Commafix|{{{active armor|0}}}+({{{bonus agility|0}}}+{{{active agility|0}}})*{{Attribute bonuses|bonus armor}} round2}}}} |
||
|active_attack_speed = {{#if:{{{active attack speed|}}}{{{bonus agility|}}}{{{active agility|}}}|{{Commafix|{{{active attack speed|0}}}+{{{bonus agility|0}}}+{{{active agility|0}}}}}}} |
|active_attack_speed = {{#if:{{{active attack speed|}}}{{{bonus agility|}}}{{{active agility|}}}|{{Commafix|{{{active attack speed|0}}}+{{{bonus agility|0}}}+{{{active agility|0}}}}}}} |
||
|active_mana = {{#if:{{{active mana|}}}{{{bonus intelligence|}}}{{{active intelligence|}}}|{{Commafix|{{{active mana|0}}}+({{{bonus intelligence|0}}}+{{{active intelligence|0}}})*{{Attribute bonuses|bonus mana}}}}}} |
|active_mana = {{#if:{{{active mana|}}}{{{bonus intelligence|}}}{{{active intelligence|}}}|{{Commafix|{{{active mana|0}}}+({{{bonus intelligence|0}}}+{{{active intelligence|0}}})*{{Attribute bonuses|bonus mana}}}}}} |
||
− | |active_mana_regen= {{#if:{{{bonus mana regen|}}}{{{active mana regen|}}}{{{bonus intelligence|}}}{{{active intelligence|}}}|{{Commafix|({{{bonus mana regen|0}}}+{{{active mana regen|0}}})+({{Attribute bonuses|bonus mana |
+ | |active_mana_regen= {{#if:{{{bonus mana regen|}}}{{{active mana regen|}}}{{{bonus intelligence|}}}{{{active intelligence|}}}|{{Commafix|({{{bonus mana regen|0}}}+{{{active mana regen|0}}})+({{Attribute bonuses|bonus mana regeneration flat}}*({{{bonus intelligence|0}}}+{{{active intelligence|0}}}))}}}} |
|active_spell_damage = {{#if:{{{active spell damage|}}}{{{bonus intelligence|}}}{{{active intelligence|}}}|{{Commafix|{{{active spell damage|0}}}+({{{bonus intelligence|0}}}+{{{active intelligence|0}}})*{{Attribute bonuses|bonus spell damage}} round2}}}} |
|active_spell_damage = {{#if:{{{active spell damage|}}}{{{bonus intelligence|}}}{{{active intelligence|}}}|{{Commafix|{{{active spell damage|0}}}+({{{bonus intelligence|0}}}+{{{active intelligence|0}}})*{{Attribute bonuses|bonus spell damage}} round2}}}} |
||
|active_damage = {{{active damage|}}} |
|active_damage = {{{active damage|}}} |
||
Строка 339: | Строка 340: | ||
| passive2 = String |
| passive2 = String |
||
| active = String |
| active = String |
||
+ | | modifier = String |
||
| can_alert_allies = Boolean |
| can_alert_allies = Boolean |
||
| can_disassemble = Boolean |
| can_disassemble = Boolean |
Версия от 13:42, 14 сентября 2020
Этот шаблон определяет таблицу «items». Просмотр таблицы.
Использование и пример
Blade of Shadows | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A strange draining purple mist encases the edge, darkening it any its surroundings to the point of invisibility. | |||||||||||||
Стоимость
225 Н/Д
| |||||||||||||
Начальный запас
0 Макс. запас
1 Время пополнения
1 | |||||||||||||
|
{{Item infobox | game = | title = | image = | image1 = | image2 = | image3 = | image4 = | image5 = | lore = | modifier = | type = | base = | secret = | side lane = | mid lane = <!-- For DotA --> | neutral = | tier = <!-- Neutral Tiers --> | removed = | unreleased = | old = <!-- For DotA --> | hidden = <!-- For items with upgrade levels --> | basic = | alert allies = | disassemble = | shareable = | destroyable = | droppable = | item cost = | sell value = <!-- Automatically calculates Sell Value base on item cost, and divides by charges or count base on Charges and Max Stack. --> | sellable = <!-- Set Sellable value to "No" and leave Sell Value as <blank> for unsellable items --> | initial stock = | max stock = | restock time = | max stack = | availability = | active = | charges = | passive = | passive2 = | passive3 = | bonus strength = | bonus agility = | bonus intelligence = | bonus primary attribute = | bonus secondary attributes = | bonus health = | bonus health regen = | bonus max hp health regen = | bonus mana = | bonus mana regen = | bonus armor = | bonus evasion = | bonus magic resistance = | bonus status resistance = | bonus movement speed flat = | bonus movement speed percent = | bonus turn rate = | bonus cooldown reduction = | bonus debuff duration = | bonus mana loss reduction = | bonus attack damage = | bonus attack damage melee = | bonus attack damage ranged = | bonus base attack damage = | bonus spell damage = | bonus attack speed = | bonus attack animation speed = | bonus projectile speed = | bonus attack range = | bonus attack range melee = | bonus attack range ranged = | bonus cast range = | bonus lifesteal = | bonus spell lifesteal = | bonus heal amplification = | bonus health regen amplification = | bonus mana restore amplification = | bonus mana regen amplification = | bonus lifesteal amplification = | bonus spell lifesteal amplification = | bonus vision = | bonus day vision = | bonus night vision = | bonus gold = | bonus experience = | used in 1 = | used in 2 = | used in 3 = | used in 4 = | used in 5 = | used in 6 = | used in 7 = | used in 8 = | recipe 1 = | recipe 2 = | recipe 3 = | recipe 4 = | recipe 5 = | recipe 6 = | recipe 7 = | recipe 8 = | recipe cost = }}
Определения
Атрибут | Описание |
---|---|
game | Used as a filter for cargo. Use this only for items that are not part of the default Dota 2 game. |
title | The name of the item. Copy the exact in-game name. |
image | The item's icon. It should have one, otherwise put file:Unknown icon.png as a placeholder. |
image# | Some items have multiple variations of their icons. In those cases, list them all with these parameters. Can list up to 5 icons. |
lore | Lore text of the item, which is located at the very bottom of the item tooltips. Leave blank if no lore is present. |
modifier | The item's modifier, responsible or everything the item does. Use the official intern modifier name. The modifier names can be found out with the help of the Console. |
shop | Under which category is the item listed in the shop? Options: Consumables, Attributes, Equipment, Miscellaneous, Accessories, Support, Magical, Weapons, Armor, Artifacts, Secret, Roshan Drop, Removed Item, Seasonal Event, Drop Only, Neutral |
base | Is this item available at the base shops? If yes, set this to yes. If no, leave this out. |
secret | Is this item available at the secret shops? If yes, set this to yes. If no, leave this out. |
side lane | Is this item available at the side lane shops? If yes, set this to yes. If no, leave this out. |
tier | The tier of neutral items. Do not use on other items. |
passive | If the item has a passive ability, put the name of the ability here. Can put 2 passive abilities (passive/passive2) |
active | If the item has an active ability, put the naem of the ability here. |
can-alert-allies | Does ALT-pinged the item send an alert out to the allies? If yes, set this to yes. If no, leave this out. |
can-disassemble | Can this upgraded item be Disassembled? If yes, set this to yes. If no, leave this out. |
charges | Does this item have a limited amount of uses? If yes, put the amount here. |
initial stock | Can this item go out of stock? If yes, put the initial stock count here. |
max stock | In conjunction with initial stock, put the max stock count of the item here. |
restock time | In conjunction with initial and max stock, put the amount of time in seconds it takes for the item to restock. |
bonus strength | Put strength bonus here. |
bonus agility | Put agility bonus here. |
bonus intelligence | Put intelligence bonus here. |
bonus primary attribute | Put primary attribute bonus here. |
bonus secondary attributes | Put secondary attribute bonus here. |
bonus health | Put health bonus here. |
bonus health regen | Put health regen bonus here. |
bonus max hp health regen | Put health bonus based on maximum health here. |
bonus mana | Put mana bonus here. |
bonus mana regen | Put mana regen bonus here. |
bonus armor | Put armor bonus here. |
bonus evasion | Put evasion bonus here. |
bonus magic resistance | Put magic resistance bonus here. |
bonus status resistance | Put status resistance bonus here. |
bonus movement speed flat | Put flat movement speed bonus here. |
bonus movement speed percent | Put percentage-based movement speed bonus here. |
bonus turn rate | Put turn rate bonus here. |
bonus cooldown reduction | Put cooldown reduction bonus here. |
bonus debuff duration | Put debuff duration bonus here. |
bonus mana loss reduction | Put mana loss reduction bonus here. |
bonus attack damage | Put attack damage bonus here. |
bonus attack damage melee | Put melee attack damage bonus here. |
bonus attack damage ranged | Put ranged attack damage bonus here. |
bonus base attack damage | Put base attack damage bonus here. |
bonus spell damage | Put spell damage amplification bonus here. |
bonus attack speed | Put attack speed bonus here. |
bonus attack animation speed | Put attack animation speed bonus here. |
bonus projectile speed | Put attack projectile speed bonus here. |
bonus attack range | Put attack range bonus here. |
bonus attack range melee | Put melee attack range bonus here. |
bonus attack range ranged | Put ranged attack range bonus here. |
bonus cast range | Put cast range bonus here. |
bonus lifesteal | Put lifesteal bonus here. |
bonus spell lifesteal | Put spell lifesteal bonus here. |
bonus heal amplification | Put heal amplification bonus here. |
bonus health regen amplification | Put health regen amplification bonus here. |
bonus mana restore amplification | Put mana restore amplification bonus here. |
bonus mana regen amplification | Put mana regen amplification bonus here. |
bonus lifesteal amplification | Put lifesteal amplification bonus here. |
bonus spell lifesteal amplification | Put spell lifesteal amplification bonus here. |
bonus vision | Put vision range bonus here. |
bonus day vision | Put day vision range bonus here. |
bonus night vision | Put night vision range bonus here. |
bonus gold | Put periodic gold bonus here. |
bonus experience | Put experience gain bonus here. |
used in # | If this item is a component of another item, list that item here. Can list up to 5 items (used in 1/used in 2/etc). |
recipe # | If this is an upgraded item, list its components here. Can list up to 5 component items (recipe 1/recipe 2/etc). |
recipe cost | If this upgraded item has a recipe, list its cost here. |
item cost | The total gold cost of this item. Use only on basic abilities. Upgraded abilities are getting calculated automatically, based on their components and recipe costs. |
sell value | If an item cannot be bought, but can be sold (i.e. Рошан drops), put its sell value here. Leave out otherwise. |