Шаблон:Weapon skill table row format — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показаны 4 промежуточные версии этого же участника) | |||
Строка 8: | Строка 8: | ||
| {{#vardefine:last_profession|{{#var:this_profession}}}}{{#vardefine:last_specialization|{{#var:this_specialization}}}}{{#vardefine:last_weapon|<!-- new profession section, reset weapon -->}} | | {{#vardefine:last_profession|{{#var:this_profession}}}}{{#vardefine:last_specialization|{{#var:this_specialization}}}}{{#vardefine:last_weapon|<!-- new profession section, reset weapon -->}} | ||
{{!}}- class="{{lc:{{{5|}}}}}" | {{!}}- class="{{lc:{{{5|}}}}}" | ||
− | ! colspan="7" {{!}} {{#tag: {{#var:profession heading|h4}}|{{#ifeq: {{#var:this_specialization}}|| {{ {{#var:this_profession}} }} [[{{#var:this_profession}}]] | {{ {{#var:this_specialization}} }} [[{{#var:this_specialization}}]] }} }} | + | ! colspan="7" {{!}} {{#tag: {{#var:profession heading|h4}}|{{#ifeq: {{#var:this_specialization}}|| {{ {{#var:this_profession}} }} [[{{#var:this_profession}}|{{rus lang|profession|{{#var:this_profession}}}}]] | {{ {{#var:this_specialization}} }} [[{{#var:this_specialization}}|{{rus lang|specialization|{{#var:this_specialization}}}}]] }} }} |
{{!}}- | {{!}}- | ||
}} | }} | ||
Строка 50: | Строка 50: | ||
| stealth | stealth attack = [[File:Chain Arrow Toolbelt.png|25px|link=Stealth Attack|Атака невидимки]] | | stealth | 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|Засада]] | ||
− | | unleashed ambush = [[File:Chain Arrow Toolbelt.png|25px|link=Unleashed Ambush|Засада | + | | unleashed ambush = [[File:Chain Arrow Toolbelt.png|25px|link=Unleashed Ambush|Засада освобожденного]] |
+ | | other = [[File:Chain Arrow Toolbelt.png|25px|link=]] | ||
| #default = {{#if: {{#var:last_weapon}}{{#var:last_weapon_slot}}<!-- checking if empty due to #var caching bug --> | | #default = {{#if: {{#var:last_weapon}}{{#var:last_weapon_slot}}<!-- checking if empty due to #var caching bug --> | ||
| <!-- automatic -->{{#ifeq: {{#var:this_weapon}}{{#var:this_weapon_slot}}|{{#var:last_weapon}}{{#var:last_weapon_slot}}|{{#ifexpr: {{#if:{{{10|}}}|{{{10|}}}|1}} > 1|[[File:Redirect Arrow.png|25px|link=|Цепочка]]}}}} | | <!-- automatic -->{{#ifeq: {{#var:this_weapon}}{{#var:this_weapon_slot}}|{{#var:last_weapon}}{{#var:last_weapon_slot}}|{{#ifexpr: {{#if:{{{10|}}}|{{{10|}}}|1}} > 1|[[File:Redirect Arrow.png|25px|link=|Цепочка]]}}}} | ||
| <!-- manual case -->{{#ifexpr: {{#if:{{{10|}}}|{{{10|}}}|1}} > 1|[[File:Redirect Arrow.png|25px|link=|Цепочка]]}}}}}}{{#vardefine:last_weapon|{{#var:this_weapon}}}}{{#vardefine:last_weapon_slot|{{#var:this_weapon_slot}}}}<!-- | | <!-- manual case -->{{#ifexpr: {{#if:{{{10|}}}|{{{10|}}}|1}} > 1|[[File:Redirect Arrow.png|25px|link=|Цепочка]]}}}}}}{{#vardefine:last_weapon|{{#var:this_weapon}}}}{{#vardefine:last_weapon_slot|{{#var:this_weapon_slot}}}}<!-- | ||
− | --><span style="overflow: hidden; width: 25px; height: 25px; display:inline-block; vertical-align:middle;"><span style="margin: -4px; overflow: hidden; display: inline-block;">[[{{{3|}}}|33x33px|link={{{1}}}]]</span></span> [[{{{1}}}|{{{2|}}}]]</span> {{#if: {{{19|}}}|<small>{{#ifeq:{{{19|}}}|None|( | + | --><span style="overflow: hidden; width: 25px; height: 25px; display:inline-block; vertical-align:middle;"><span style="margin: -4px; overflow: hidden; display: inline-block;">[[{{{3|}}}|33x33px|link={{{1}}}]]</span></span> [[{{{1}}}|{{{2|}}}]]</span> {{#if: {{{19|}}}|<small>{{#ifeq:{{{19|}}}|None|(без оружия в левой руке)|(с [[{{{19|}}}|{{#switch:{{lc:{{{19|}}}}}|dagger=кинжалом|pistol=пистолетом|#default={{{19|}}}}}]] в левой руке)}}</small>}}<!-- |
-->{{#ifeq: {{#ifeq: {{{7|}}}|Weapon|false|{{#var:showUnderwater}}}}|true|<span style="float:right">{{#switch:{{{21|}}}|N|Land only=[[File:Not available underwater.png|20px|link=Underwater mode#Подводные умения|Недоступно под водой]]|Underwater only=[[File:Underwater.png|link=Underwater mode#Подводные умения|Подводное умение]]}}</span>}} | -->{{#ifeq: {{#ifeq: {{{7|}}}|Weapon|false|{{#var:showUnderwater}}}}|true|<span style="float:right">{{#switch:{{{21|}}}|N|Land only=[[File:Not available underwater.png|20px|link=Underwater mode#Подводные умения|Недоступно под водой]]|Underwater only=[[File:Underwater.png|link=Underwater mode#Подводные умения|Подводное умение]]}}</span>}} | ||
{{#ifeq: {{#var:showWeapon}}|true|{{!}} {{#arraymap:{{{15|}}},{{#if:{{{17|}}}|{{{17}}}|{{#if:{{{16|}}}|{{{16}}}}}}}|,|@@@|[[@@@|{{rus lang|weapon|@@@}}]]|,\s}} | | {{#ifeq: {{#var:showWeapon}}|true|{{!}} {{#arraymap:{{{15|}}},{{#if:{{{17|}}}|{{{17}}}|{{#if:{{{16|}}}|{{{16}}}}}}}|,|@@@|[[@@@|{{rus lang|weapon|@@@}}]]|,\s}} | | ||
Строка 60: | Строка 61: | ||
| style="text-align:center;" | {{#ifeq:{{{24}}}|Y|[[File:Ground_target_aim.png|18px|Прицеливание на землю|link=Targeting#Прицеливание на землю]]}} | | style="text-align:center;" | {{#ifeq:{{{24}}}|Y|[[File:Ground_target_aim.png|18px|Прицеливание на землю|link=Targeting#Прицеливание на землю]]}} | ||
| style="text-align:center;" | {{fraction|{{{11|}}}}} | | style="text-align:center;" | {{fraction|{{{11|}}}}} | ||
− | {{#ifeq: {{#var:showEnergy}}|true|{{!}} style="text-align:center;" {{!}} {{{14|}}}{{#ifeq:{{#var:showInitiative}}|true|{{!}}}}}}{{#ifeq:{{#var:showInitiative}}|true|{{!}} style="text-align:center;" {{!}} {{{13|}}} }} | + | {{#ifeq: {{#var:showEnergy}}|true|{{!}} style="text-align:center;" {{!}} {{{14|}}} {{#ifeq: {{#var:showInitiative}}|true|{{!}}}}}}<!-- |
− | {{#ifeq: {{#var:showPageCost}}|true|{{!}} style="text-align:center;" {{!}} {{{23|}}} }} | + | -->{{#ifeq: {{#var:showInitiative}}|true|{{!}} style="text-align:center;" {{!}} {{{13|}}} }}<!-- |
+ | -->{{#ifeq: {{#var:showPageCost}}|true|{{!}} style="text-align:center;" {{!}} {{{23|}}} }} | ||
| style="text-align:center;" | {{fraction|{{{12|}}} }} | | style="text-align:center;" | {{fraction|{{{12|}}} }} | ||
| {{{4|}}} | | {{{4|}}} |
Текущая версия на 21:28, 7 мая 2024
Called as a semantic result template by Template:Weapon skill table row and Template:Weapon skill table.
Input parameter list[править]
- Skill
- Has canonical name
- Has game icon
- Has game description
- Is for profession
- Is for specialization
- Has skill context
- Has skill type
- Has skill slot number
- Has chain sequence position
- Has activation time
- Has recharge time
- Has initiative cost
- Has energy cost
- Is for weapon
- Is for bundle
- Has parent skill
- Has profession mechanic slot number
- Requires offhand
- Is for attunement
- Is usable underwater
- Has ammunition number
- Has page cost
- Is ground targeted