Шаблон:Profession mechanic skill table row format — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
<includeonly>|- class="{{lc:{{{5|}}}}} {{{class|}}}" | <includeonly>|- class="{{lc:{{{5|}}}}} {{{class|}}}" | ||
| {{#if: {{{7|}}} | F{{{7|}}} }} | | {{#if: {{{7|}}} | F{{{7|}}} }} | ||
− | | | + | | <span style="vertical-align:middle;">{{#switch: {{{userparam|}}} |
| chain = [[File:Redirect Arrow.png|25px|link=]] | | chain = [[File:Redirect Arrow.png|25px|link=]] | ||
| toolbelt = [[File:Chain Arrow Toolbelt.png|25px|link=Tool belt|Пояс с инструментами]] | | toolbelt = [[File:Chain Arrow Toolbelt.png|25px|link=Tool belt|Пояс с инструментами]] | ||
Строка 10: | Строка 10: | ||
| underwater = [[File:Underwater.png|link=Underwater mode|Подводный режим]] | | underwater = [[File:Underwater.png|link=Underwater mode|Подводный режим]] | ||
}}{{borderless|{{#sub:{{{3|}}}|5}}|25|link={{{1}}}}} [[{{{1}}}|{{{2|}}}]]</span> | }}{{borderless|{{#sub:{{{3|}}}|5}}|25|link={{{1}}}}} [[{{{1}}}|{{{2|}}}]]</span> | ||
− | {{#ifeq:{{#var:showWeapon}}|true| | + | {{#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:showPet }}|true|{{!}} {{#if: {{{13|}}} | {{#arraymap:{{{13|}}}|,|@@@|[[@@@|{{trim|{{#replace: @@@|Juvenile }}}}]]|, }} | {{#if: {{{14|}}} | ''{{rus lang|pet family|{{{14}}}}}'' }} }} | | |
− | {{ | + | {{#ifeq: {{#var:showArchetype}}|true|{{!}} {{#if: {{{15|}}} | {{effect|{{{15|}}}|{{rus lang|pet archetype|{{{15|}}}}}}}}} }} }} }} }} |
− | + | | style="text-align:center;" | {{#ifeq:{{{17}}}|Y|[[File:Ground_target_aim.png|18px|Прицеливание на землю|link=Targeting#Прицеливание на землю]]}} | |
− | {{ | ||
− | |||
− | {{ | ||
− | | style="text-align:center;" | {{#ifeq:{{{ | ||
| style="text-align:center;" data-sort-value="{{{8|0}}}" | {{fraction|{{{8|}}}}} | | style="text-align:center;" data-sort-value="{{{8|0}}}" | {{fraction|{{{8|}}}}} | ||
− | {{#ifeq:{{#var: | + | {{#ifeq: {{#var:showEnergy }}|true|{{!}} style="text-align:center;" data-sort-value="{{{11|0}}}" {{!}} {{{11|}}}{{#if:{{{11|}}}|{{#if:{{{16|}}}| / }}}}{{{16|}}} {{#ifeq:{{#var:showInitiative}}|true|{{!}}}}}}{{#ifeq:{{#var:showInitiative}}|true|{{!}} style="text-align:center;" data-sort-value="{{{10|0}}}" {{!}} {{{10|}}} }} |
| style="text-align:center;" data-sort-value="{{{9|0}}}" | {{fraction|{{{9|}}} }} | | style="text-align:center;" data-sort-value="{{{9|0}}}" | {{fraction|{{{9|}}} }} | ||
− | | {{{4|}}} | + | | style="padding-left:2em" | {{{4|}}} |
</includeonly><noinclude> | </includeonly><noinclude> | ||
Called as a semantic result template by [[Template:Profession mechanic skill table row]]. | Called as a semantic result template by [[Template:Profession mechanic skill table row]]. | ||
Строка 42: | Строка 38: | ||
# Is for pet family | # Is for pet family | ||
# Has pet archetype | # Has pet archetype | ||
+ | # Has upkeep cost | ||
# Is ground targeted | # Is ground targeted | ||
− | + | ;Additional parameters | |
* <nowiki>{{{class}}}</nowiki> | * <nowiki>{{{class}}}</nowiki> | ||
[[Category:Skill formatting templates]] | [[Category:Skill formatting templates]] | ||
[[Category:Semantic result templates]] | [[Category:Semantic result templates]] |
Версия 06:14, 29 октября 2019
Called as a semantic result template by Template:Profession mechanic skill table row.
Input parameter list
- PAGENAME
- Has canonical name
- Has game icon
- Has game description
- Is for profession
- Has skill type
- Has profession mechanic slot number
- Has activation time
- Has recharge time
- Has initiative cost
- Has energy cost
- Is for weapon
- Is for pet
- Is for pet family
- Has pet archetype
- Has upkeep cost
- Is ground targeted
- Additional parameters
- {{{class}}}