Шаблон:Skill infobox — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Строка 180: Строка 180:
 
<div class="wrapper">{{#if:{{{monster|}}}||
 
<div class="wrapper">{{#if:{{{monster|}}}||
 
; [[Profession|Профессия]]
 
; [[Profession|Профессия]]
:{{profession|{{#var:profession}}}} {{#ifeq:{{#var:profession}}|common|[[Profession|Любая]]|[[{{ucfirst:{{#var:profession}}}}|{{#switch:{{lc:{{#var:profession}}}}|guardian=Страж|warrior=Воин|engineer=Инженер|revenant=Ревенант|ranger=Рейнджер|thief=Вор|elementalist=Элементалист|mesmer=Месмер|necromancer=Некромант}}]] {{#ifeq: {{lc:{{{slot|}}}}} | trait |<!-- hide link to skill list if it is a trait only slot skill -->| <small>([[List of {{lc:{{#var:profession}}}} skills|список&nbsp;умений]])</small> }} }}{{#if:{{{specialization|}}}|
+
:{{profession|{{#var:profession}}}} {{#ifeq:{{#var:profession}}|common|[[Profession|Любая]]|[[{{ucfirst:{{#var:profession}}}}|{{rus lang|profession|{{#var:profession}}}}]] {{#ifeq: {{lc:{{{slot|}}}}} | trait |<!-- hide link to skill list if it is a trait only slot skill -->| <small>([[List of {{lc:{{#var:profession}}}} skills|список&nbsp;умений]])</small> }} }}{{#if:{{{specialization|}}}|
 
; [[Specialization|Специализация]]
 
; [[Specialization|Специализация]]
:{{profession|{{{specialization}}}}} [[Is for specialization::{{ucfirst:{{{specialization}}}}}|{{#switch:{{lc:{{{specialization}}}}}
+
:{{profession|{{{specialization}}}}} [[Is for specialization::{{ucfirst:{{{specialization}}}}}|{{rus lang|specialization|{{{specialization}}}}}]]
    | dragonhunter = Драконоборец | firebrand = Поджигатель
 
    | herald = Вестник | renegade = Ренегат
 
    | berserker = Берсерк | spellbreaker = Чарокрушитель
 
    | scrapper = Сборщик | holosmith = Голографист
 
    | druid = Друид | soulbeast = Аниморф
 
    | daredevil = Сорвиголова | deadeye = Снайпер
 
    | tempest = Буря | weaver = Ткач
 
    | chronomancer = Хрономант | mirage = Мираж
 
    | reaper = Жнец | scourge = Каратель }}]]
 
 
}}}}{{#if: {{{race|}}} |
 
}}}}{{#if: {{{race|}}} |
 
; [[Playable races|Раса]]
 
; [[Playable races|Раса]]
: [[File:{{ucfirst:{{{race}}}}} tango icon 20px.png]] [[Is for race::{{ucfirst:{{{race}}}}}|{{#switch:{{lc:{{{race}}}}}|asura=Асура|charr=Чарр|human=Человек|norn=Норн|sylvari=Сильвари}}]] <small>([[List of {{lc:{{{race}}}}} racial skills|список&nbsp;умений]])</small>
+
: [[File:{{ucfirst:{{{race}}}}} tango icon 20px.png]] [[Is for race::{{ucfirst:{{{race}}}}}|{{rus lang|race|{{{race}}}}}]] <small>([[List of {{lc:{{{race}}}}} racial skills|список&nbsp;умений]])</small>
 
| {{#set:Is for race=Any}}
 
| {{#set:Is for race=Any}}
 
}}{{#if: {{{pet|}}} |
 
}}{{#if: {{{pet|}}} |
 
; {{#if: {{#pos: {{{pet|}}} |,}} | [[Pet|Питомцы]] | [[Pet|Питомец]]}}
 
; {{#if: {{#pos: {{{pet|}}} |,}} | [[Pet|Питомцы]] | [[Pet|Питомец]]}}
: {{#arraymap: {{{pet}}} |,|@@@| [[Is for pet::Juvenile {{ucfirst:@@@}}|{{#switch:{{ucfirst:@@@}}
+
: {{#arraymap: {{{pet}}} |,|@@@| [[Is for pet::Juvenile {{ucfirst:@@@}}|{{rus lang|pet|@@@}}]] |<br>}}
    | Armor Fish = Панцирная рыба
 
    | Arctodus = Короткомордый медведь | Black Bear = Черный медведь | Brown Bear = Бурый медведь | Murellow = Муррелоу | Polar Bear = Белый медведь
 
    | Eagle = Орел | Hawk = Ястреб | Owl = Сова | Raven = Ворон | White Raven = Белый ворон
 
    | Bristleback = Гребнезавр
 
    | Alpine Wolf = Альпийский волк | Fern Hound = Папоротниковая гончая | Hyena = Гиена | Krytan Drakehound = Критская гончая | Wolf = Волк
 
    | Carrion Devourer = Пожиратель-падальщик | Lashtail Devourer = Бичехвостый пожиратель | Whiptail Devourer = Кнутохвостый пожиратель
 
    | Ice Drake = Ледяной ящер | Marsh Drake = Болотный ящер | Reef Drake = Рифовый ящер | River Drake = Речной ящер | Salamander Drake = Саламандровый ящер
 
    | Fanged Iboga = Зубастая ибога
 
    | Cheetah = Гепард | Jaguar = Ягуар | Jungle Stalker = Джунглевый охотник | Lynx = Рысь | Sand Lion = Песчаный лев | Snow Leopard = Снежный барс | Tiger = Тигр
 
    | Jacaranda = Жакаранда
 
    | Blue Jellyfish = Голубая медуза | Rainbow Jellyfish = Радужная медуза | Red Jellyfish = Красная медуза | Green Jellyfish = Зеленая медуза
 
    | Black Moa = Черный моа | Blue Moa = Голубой моа | Pink Moa = Розовый моа | Red Moa = Красный моа | White Moa = Белый моа
 
    | Boar = Кабан | Pig = Боров | Siamoth = Сиамотерий | Warthog = Бородавочник
 
    | Rock Gazelle = Горная газель
 
    | Shark = Акула
 
    | Smokescale = Дымчатый щитень
 
    | Black Widow Spider = Паук черная вдова | Cave Spider = Пещерный паук | Forest Spider = Лесной паук | Jungle Spider = Джунглевый паук
 
    | Electric Wyvern = Электрическая виверна | Fire Wyvern = Огненная виверна
 
    | #default = {{ucfirst:@@@}}       
 
  }}]] |<br>}}
 
 
}}{{#if: {{{pet-family|}}} |
 
}}{{#if: {{{pet-family|}}} |
 
; Сем.&nbsp;[[pet|питомца]]  
 
; Сем.&nbsp;[[pet|питомца]]  
Строка 302: Строка 273:
 
}}{{#if: {{{type|}}} |
 
}}{{#if: {{{type|}}} |
 
; [[Skill#Типы умений|Тип]]
 
; [[Skill#Типы умений|Тип]]
: {{#arraymap:{{{type}}}|,|@@@|{{#switch:@@@
+
: {{#arraymap:{{{type}}}|,|@@@|{{#switch:{{lc:@@@}}
                              | Virtue | virtue = [[Has skill type::{{ucfirst:@@@}}|Добродетель]]
+
                               | deception = [[Deception (skill type)|{{rus lang|skill type|@@@}}]] {{#set:Has skill type=Deception}}
                               | Consecration | consecration = [[Has skill type::{{ucfirst:@@@}}|Освящение]]
+
                               | tool belt
                              | Meditation | meditation = [[Has skill type::{{ucfirst:@@@}}|Медитация]]
+
                               | tool belt skill = [[Has skill type::Tool belt|{{rus lang|skill type|@@@}}]]
                              | Spirit weapon | spirit weapon = [[Has skill type::{{ucfirst:@@@}}|Призрачное оружие]]
+
                               | #default = [[Has skill type::{{ucfirst:@@@}}|{{rus lang|skill type|@@@}}]]
                              | Symbol | symbol = [[Has skill type::{{ucfirst:@@@}}|Символ]]
 
                              | Tome | tome = [[Has skill type::{{ucfirst:@@@}}|Фолиант]]
 
                              | Ward | ward = [[Has skill type::{{ucfirst:@@@}}|Оберег]]
 
                              | Final Charge | final charge = [[Has skill type::{{ucfirst:@@@}}|Последний заряд]]
 
                              | Legend | legend = [[Has skill type::{{ucfirst:@@@}}|Легенда]]
 
                               | Legendary Assassin = [[Has skill type::{{ucfirst:@@@}}|Легендарный ассасин]]
 
                              | Legendary Demon = [[Has skill type::{{ucfirst:@@@}}|Легендарный демон]]
 
                              | Legendary Dwarf = [[Has skill type::{{ucfirst:@@@}}|Легендарный гном]]
 
                              | Legendary Centaur = [[Has skill type::{{ucfirst:@@@}}|Легендарный кентавр]]
 
                              | Legendary Dragon = [[Has skill type::{{ucfirst:@@@}}|Легендарный дракон]]
 
                              | Legendary Renegade = [[Has skill type::{{ucfirst:@@@}}|Легендарный отступник]]
 
                              | Consume | consume = [[Has skill type::{{ucfirst:@@@}}|Поглощение]]
 
                              | Citadel Order = [[Has skill type::{{ucfirst:@@@}}|Приказ цитадели]]
 
                              | Burst | burst = [[Has skill type::{{ucfirst:@@@}}|Вспышка ярости]]
 
                              | Primal burst | primal burst = [[Has skill type::{{ucfirst:@@@}}|Первобытная ярость]]
 
                              | Banner | banner = [[Has skill type::{{ucfirst:@@@}}|Стяг]]
 
                              | Physical | physical = [[Has skill type::{{ucfirst:@@@}}|Грубая сила]]
 
                              | Rage | rage = [[Has skill type::{{ucfirst:@@@}}|Гнев]]
 
                               | Stance | stance = [[Has skill type::{{ucfirst:@@@}}|Стойка]]
 
                              | Tool belt | Tool belt skill | tool belt | tool belt skill = [[Has skill type::Tool belt|Пояс с инструментами]]
 
                              | Device kit | device kit | Weapon kit | weapon kit
 
                              | Engineering kit | engineering kit = [[Has skill type::Engineering kit|Инженерный набор]]
 
                              | Elixir | elixir = [[Has skill type::{{ucfirst:@@@}}|Эликсир]]
 
                              | Gadget | gadget = [[Has skill type::{{ucfirst:@@@}}|Приспособление]]
 
                              | Turret | turret = [[Has skill type::{{ucfirst:@@@}}|Турель]]
 
                               | Exceed | exceed = [[Has skill type::{{ucfirst:@@@}}|Превышение]]
 
                              | Pet (skill type) | pet (skill type) = [[Has skill type::{{ucfirst:@@@}}|Питомец]]
 
                              | Beast | beast = [[Has skill type::{{ucfirst:@@@}}|Зверь]]
 
                              | Command | command = [[Has skill type::{{ucfirst:@@@}}|Команда]]
 
                              | Spirit | spirit = [[Has skill type::{{ucfirst:@@@}}|Дух]]
 
                              | Survival | survival = [[Has skill type::{{ucfirst:@@@}}|Выживание]]
 
                              | Stolen skill | stolen skill = [[Has skill type::{{ucfirst:@@@}}|Украденное умение]]
 
                              | Deception | deception = [[Has skill type::{{ucfirst:@@@}} (skill type)|Хитрость]]
 
                              | Dual wield | dual wield = [[Has skill type::{{ucfirst:@@@}}|Сдвоенное умение]]
 
                              | Stealth Attack = [[Has skill type::{{ucfirst:@@@}}|Атака невидимки]]
 
                              | Trick | trick = [[Has skill type::{{ucfirst:@@@}}|Уловка]]
 
                              | Venom | venom = [[Has skill type::{{ucfirst:@@@}}|Яд]]
 
                              | Kneel | kneel = [[Has skill type::{{ucfirst:@@@}}|Выстрел с колена]]
 
                              | Attunement | attunement = [[Has skill type::{{ucfirst:@@@}}|Настройка]]
 
                              | Overload | overload = [[Has skill type::{{ucfirst:@@@}}|Форсаж]]
 
                              | Arcane | arcane = [[Has skill type::{{ucfirst:@@@}}|Таинство]]
 
                              | Cantrip | cantrip = [[Has skill type::{{ucfirst:@@@}}|Колдовство]]
 
                              | Conjure | conjure = [[Has skill type::{{ucfirst:@@@}}|Сотворение]]
 
                              | Glyph | glyph = [[Has skill type::{{ucfirst:@@@}}|Глиф]]
 
                              | Dual Attack = [[Has skill type::{{ucfirst:@@@}}|Сдвоенная атака]]
 
                              | Shatter | shatter = [[Has skill type::{{ucfirst:@@@}}|Осколки]]
 
                              | Clone | clone = [[Has skill type::{{ucfirst:@@@}}|Клон]]
 
                              | Glamour | glamour = [[Has skill type::{{ucfirst:@@@}}|Волшебство]]
 
                              | Manipulation | manipulation = [[Has skill type::{{ucfirst:@@@}}|Обман]]
 
                              | Mantra | mantra = [[Has skill type::{{ucfirst:@@@}}|Мантра]]
 
                              | Phantasm | phantasm = [[Has skill type::{{ucfirst:@@@}}|Фантом]]
 
                              | Ambush | ambush = [[Has skill type::{{ucfirst:@@@}}|Засада]]
 
                              | Shade | shade = [[Has skill type::{{ucfirst:@@@}}|Тень]]
 
                              | Corruption | corruption = [[Has skill type::{{ucfirst:@@@}}|Порча]]
 
                              | Mark | mark = [[Has skill type::{{ucfirst:@@@}}|Метка]]
 
                              | Minion | minion = [[Has skill type::{{ucfirst:@@@}}|Миньон]]
 
                              | Spectral | spectral = [[Has skill type::{{ucfirst:@@@}}|Призрак]]
 
                              | Well | well = [[Has skill type::{{ucfirst:@@@}}|Источник]]
 
                              | Punishment | punishment = [[Has skill type::{{ucfirst:@@@}}|Кара]]
 
                              | Shout | shout = [[Has skill type::{{ucfirst:@@@}}|Крик]]
 
                              | Signet | signet = [[Has skill type::{{ucfirst:@@@}}|Печать]]
 
                              | Trap | trap = [[Has skill type::{{ucfirst:@@@}}|Ловушка]]
 
                              | #default = [[Has skill type::{{ucfirst:@@@}}]]
 
 
                               }}}}
 
                               }}}}
 
}}{{#if: {{{activ-type|}}} |
 
}}{{#if: {{{activ-type|}}} |

Версия 21:21, 31 мая 2019

Description

{{Skill infobox
| name = 
| icon = 
| description = 
| description type =
| split = 
| variables = 
| activation = 
| initiative = 
| initiative-wvw = 
| initiative-pvp = 
| energy = 
| energy-wvw = 
| energy-pvp = 
| upkeep = 
| upkeep-wvw = 
| upkeep-pvp = 
| recharge = 
| recharge-wvw = 
| recharge-pvp = 
| profession = 
| race = 
| slot = 
| mainhand = 
| offhand = 
| twohand = 
| tool belt =
| attunement = 
| activity =
| kit =
| pet = 
| pet-family = 
| monster =
| parent =
| uw-replaced-by =
| uw-replaces =
| type = 
| activ-type = 
| chain1 = 
| chain2 = 
| chain3 = 
| weapon-slot = 
| hero points =
| ground-target =
| id = 
}}

Parameters

All parameters are optional.

name
Skill name. Defaults to the page name if skipped; displays (unnamed skill) if included but left blank.
icon
Skill icon to show. If not explicitly stated, displays File:<name>.png; if it was not found, shows Skill.png instead.
description
Skill description.
description type
Optional. Skill description type. On default the parameter type is used. Setting to "none" disables the skill description type.
split
Game modes that this skill applies to. See {{Game mode version}}. Calls {{Skill infobox/subobject}} for each game mode beside PvE to create subobjects.
To set initiative, energy, upkeep and recharge for a specific game mode: use the -wvw and -pvp parameters to set it. If the split is PvE | WvW + PvP, set only one of these parameters for the wvw+pvp version.
variables
The skill facts (i.e. bleeding, damage, range, etc.) shown below the description. Each fact should be presented as an individual instance of the {{skill fact}} template.
activation
Activation time. Enter as a decimal, e.g. 1.25.
initiative
Initiative cost.
energy
Energy cost.
upkeep
Energy upkeep cost.
recharge
Recharge time. If there is no recharge, define the value as 0. Omitting the recharge does not set Property:Has recharge time.
profession
Profession that uses the skill. Required if the specialization is set too.
specialization
Specialization required to use skill.
race
Race that uses the skill.
slot
Skill slot occupied by the skill:
weapon: Weapon skill.
environmental: Environmental weapon skill.
healing: Healing skill.
utility: Utility skill.
elite: Elite skill.
downed: Downed skill.
drowning: Drowning skill.
downed and drowning: Both downed and drowning skill.
celestial: Ranger's skill in Celestial Avatar.
deathshroud: Necromancer's skill in Death Shroud.
pet: Pet skill.
mechanic: Profession specific ability.
monster: Monster skill.
toy: Skills provided by toys.
tonic: Skills provided by tonics.
trait: Skills provided by traits. Also use the trait parameter to link to the trait.
...otherwise direct input.
mainhand
Weapon held in the main hand.
offhand
Weapon held in the off-hand.
twohand
Weapon held in both hands, including bundles.
tool belt
The associated tool belt skill.
attunement
Attunement for elementalist's weapon skills.
activity
The activity in which the skill is available.
kit
The engineering kit that provides the skill.
pet
Pet species name (e.g. Jaguar), for skills unique to a specific pet. Do not include the "Juvenile" prefix, the template handles that internally.
pet-family
Pet family name (e.g. Feline), for skills common to that family.
monster
The monster or monster type that uses this skill
parent
Parent skill — the skill which gives access to this skill.
uw-replaced-by
For skills that are not usable underwater.
If the skill is not usable underwater and has an underwater counterpart/replacement, name of the underwater skill.
If the skill is not usable underwater and does not have a replacment, input none.
uw-replaces
For underwater skills that replace a normal skill, name of the skill it replaces.
type
Skill type, such as signet.
activ-type
Activation type:
chain: Chain skill.
channeled or hold: Channeled skill.
charge: Charge skill.
chain1 .. chain4
Skill sequence. Set with the names of the skills in the chain.
weapon-slot
Weapon skills only. Used to indicate which fixed position the skill has on a skill bar.
hero points
Slot skills only. Used to indicate how many hero points required to unlock the skill.
ground-target
Whether the skill has ground targeting or not. Parameter expects type of ground targeting, but providing anything will automatically display Ground target aim.png to the rightmost of upper properties.
id
The skill's internal ID. Generates a game link in the infobox.
categorize
Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
status
Optional. Status of skill. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default).
status notes
Optional. Allows provision of additional reason for the given status.
status date
Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format).
requires
Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{infobox requires}} for options.

Examples

{{Skill infobox
| icon = Skill.png
| description = This is an example.
| activation = 1.5
| recharge = 45
| variables = {{skill fact|bleeding|5}}
| profession = elementalist
| specialization = tempest
| slot = weapon
| twohand = staff
| attunement = fire
| weapon-slot = 5
| ground-target = circle
| id = 12345
}}

This is an example.

Bleeding.png Кровотечение (5 сек): 110 урона.
Поддержка устаревших версий: пожалуйста, используйте параметр facts вместо variables.

— Внутриигровое описание