Шаблон:Weapon skill table row format — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
<includeonly>|- class="{{lc:{{{5|}}}}} {{{class|}}}" | <includeonly>|- class="{{lc:{{{5|}}}}} {{{class|}}}" | ||
| style="text-align:center;" | {{{7|}}} | | style="text-align:center;" | {{{7|}}} | ||
− | + | | <span style="vertical-align:middle;">{{#switch: {{#if: {{{chain|}}}|{{lc:{{{chain|}}}}}|{{lc:{{{6|}}}}}}} | |
− | | chain = [[File:Redirect Arrow.png|25px|link=]] | + | | n | no | none = |
− | | toolbelt = [[File:Chain Arrow Toolbelt.png|25px|link=Tool belt|Пояс с инструментами]] | + | | chain = [[File:Redirect Arrow.png|25px|link=|Цепочка]] |
+ | | toolbelt | ||
+ | | tool belt = [[File:Chain Arrow Toolbelt.png|25px|link=Tool belt|Пояс с инструментами]] | ||
| burst = [[File:Chain Arrow Toolbelt.png|25px|link=Burst|Вспышка ярости]] | | burst = [[File:Chain Arrow Toolbelt.png|25px|link=Burst|Вспышка ярости]] | ||
− | | | + | | primal burst = [[File:Chain Arrow Toolbelt.png|25px|link=Primal Burst|Первобытная ярость]] |
− | | stealth = [[File:Chain Arrow Toolbelt.png|25px|link=Stealth Attack|Атака невидимки]] | + | | stealth attack = [[File:Chain Arrow Toolbelt.png|25px|link=Stealth Attack|Атака невидимки]] |
| ambush = [[File:Chain Arrow Toolbelt.png|25px|link=Ambush|Засада]] | | ambush = [[File:Chain Arrow Toolbelt.png|25px|link=Ambush|Засада]] | ||
− | | | + | | #default = {{#ifexpr: {{#if:{{{14|}}}|{{{14|}}}|1}} > 1|[[File:Redirect Arrow.png|25px|link=|Цепочка]]}} |
− | }}{{borderless|{{#sub:{{{3|}}}|5}}|25|link={{{1}}}}} [[{{{1}}}|{{{2|}}}]]</span> | + | }}{{borderless|{{#sub:{{{3|}}}|5}}|25|link={{{1}}}}} [[{{{1}}}|{{{2|}}}]]</span> {{#if: {{{13|}}}|<small>{{#ifeq:{{{13|}}}|None|(without offhand)|(with offhand [[{{{13|}}}]])}}</small>}}{{#ifeq:{{#var:showUnderwater}}|true|<span style="float:right">{{#switch:{{{15|}}}|N|Land only=[[File:Not available underwater.png|20px|link=Underwater mode#Подводные умения|Недоступно под водой]]|Y|Underwater only=[[File:Underwater.png|link=Underwater mode#Подводные умения|Подводное умение]]}}</span>}} |
{{#ifeq: {{#var:showWeapon}}|true|{{!}} {{#if: {{{12|}}} | [[{{{12|}}}|{{rus lang|weapon|{{{12|}}}}}]] }} | | {{#ifeq: {{#var:showWeapon}}|true|{{!}} {{#if: {{{12|}}} | [[{{{12|}}}|{{rus lang|weapon|{{{12|}}}}}]] }} | | ||
{{#ifeq: {{#var:showType }}|true|{{!}} {{#if: {{{6|}}} | {{#arraymap:{{{6}}}|,|@@@|[[@@@|{{rus lang|skill type|@@@}}]]|, }} }} }} }} | {{#ifeq: {{#var:showType }}|true|{{!}} {{#if: {{{6|}}} | {{#arraymap:{{{6}}}|,|@@@|[[@@@|{{rus lang|skill type|@@@}}]]|, }} }} }} }} | ||
− | | style="text-align:center;" | {{#ifeq:{{{ | + | | style="text-align:center;" | {{#ifeq:{{{16}}}|Y|[[File:Ground_target_aim.png|18px|Прицеливание на землю|link=Targeting#Прицеливание на землю]]}} |
| style="text-align:center;" data-sort-value="{{{8|0}}}" | {{fraction|{{{8|}}}}} | | style="text-align:center;" data-sort-value="{{{8|0}}}" | {{fraction|{{{8|}}}}} | ||
{{#ifeq: {{#var:showEnergy}}|true|{{!}} style="text-align:center;" data-sort-value="{{{11|0}}}" {{!}} {{{11|}}}{{#ifeq:{{#var:showInitiative}}|true|{{!}}}}}}{{#ifeq:{{#var:showInitiative}}|true|{{!}} style="text-align:center;" data-sort-value="{{{10|0}}}" {{!}} {{{10|}}} }} | {{#ifeq: {{#var:showEnergy}}|true|{{!}} style="text-align:center;" data-sort-value="{{{11|0}}}" {{!}} {{{11|}}}{{#ifeq:{{#var:showInitiative}}|true|{{!}}}}}}{{#ifeq:{{#var:showInitiative}}|true|{{!}} style="text-align:center;" data-sort-value="{{{10|0}}}" {{!}} {{{10|}}} }} | ||
Строка 33: | Строка 35: | ||
# Has energy cost | # Has energy cost | ||
# Is for weapon | # Is for weapon | ||
+ | # Requires offhand | ||
+ | # Has chain sequence position | ||
+ | # Is usable underwater | ||
# Is ground targeted | # Is ground targeted | ||
− | |||
− | |||
− | |||
[[Category:Skill formatting templates]] | [[Category:Skill formatting templates]] | ||
[[Category:Semantic result templates]] | [[Category:Semantic result templates]] |
Версия 04:30, 15 декабря 2019
Called as a semantic result template by Template:Weapon skill table row.
Input parameter list
- PAGENAME
- Has canonical name
- Has game icon
- Has game description
- Is for profession
- Has skill type
- Has skill slot number
- Has activation time
- Has recharge time
- Has initiative cost
- Has energy cost
- Is for weapon
- Requires offhand
- Has chain sequence position
- Is usable underwater
- Is ground targeted