Шаблон:Monsterabilities — различия между версиями
Материал из Darkest Dungeon Wiki на русском
Admin (обсуждение | вклад) (Новая страница: «<includeonly><onlyinclude> {| class="wikitable mw-collapsible {{#switch:{{{level}}}|2=mw-collapsed|3=mw-collapsed|4=mw-collapsed|mw-expanded}}" style="max-width:8…») |
Admin (обсуждение | вклад) |
||
Строка 3: | Строка 3: | ||
!colspan="9" style="font-size:10pt;color:#FFFFFF;font-weight:bold; {{#switch:{{{level|}}}|1=background-color:green;|2=background-color:orange;|3=background-color:darkred;|4=background-color:#312424;|2+=background-color:orange;|3+=background-color:darkred;|4+=background-color:#312424;|}}"| <big>{{#switch:{{{level}}}|1=Apprentice|2=Veteran|3=Champion|4=Darkest|2+=Veteran|3+=Champion|4+=Darkest|}} Level</big> | !colspan="9" style="font-size:10pt;color:#FFFFFF;font-weight:bold; {{#switch:{{{level|}}}|1=background-color:green;|2=background-color:orange;|3=background-color:darkred;|4=background-color:#312424;|2+=background-color:orange;|3+=background-color:darkred;|4+=background-color:#312424;|}}"| <big>{{#switch:{{{level}}}|1=Apprentice|2=Veteran|3=Champion|4=Darkest|2+=Veteran|3+=Champion|4+=Darkest|}} Level</big> | ||
|- | |- | ||
− | !style="background-color:#171010;width:12%;"| | + | !style="background-color:#171010;width:12%;"|Название умения |
− | !style="background-color:#171010;width:8%;"| | + | !style="background-color:#171010;width:8%;"|Тип атаки |
− | !style="background-color:#171010;width:8%;"| | + | !style="background-color:#171010;width:8%;"|С позиции |
− | !style="background-color:#171010;width:8%;"| | + | !style="background-color:#171010;width:8%;"|Бьет на позицию |
− | !style="background-color:#171010;width:auto;"| | + | !style="background-color:#171010;width:auto;"|Шанс попадания |
− | !style="background-color:#171010;width:auto;"| | + | !style="background-color:#171010;width:auto;"|Шанс крита |
− | !style="background-color:#171010;width:auto;"| | + | !style="background-color:#171010;width:auto;"|Урон |
− | !style="background-color:#171010;width:auto;"| | + | !style="background-color:#171010;width:auto;"|Эффект |
− | !style="background-color:#171010;width:auto;"| | + | !style="background-color:#171010;width:auto;"|Эффект на себя |
|- | |- | ||
|{{{attack1name}}} | |{{{attack1name}}} |
Текущая версия на 23:25, 15 февраля 2016
Level | ||||||||
---|---|---|---|---|---|---|---|---|
Название умения | Тип атаки | С позиции | Бьет на позицию | Шанс попадания | Шанс крита | Урон | Эффект | Эффект на себя |
{{{attack1name}}} | Melee | {{{attack1req}}} | {{{attack1tar}}} | {{{attack1acc}}}% | {{{attack1crit}}}% | {{{attack1damage}}} | {{{attack1effect}}} | {{{attack1self}}}
|
Содержание
Documentation
This template will insert a table used to present various information about monster abilities.
Code
To use it, copypaste the following code, filling in all variables that you need (inserting info after the equal = sign) and removing those you don't.
{{monsterabilities |level= |attack1name= |attack1type= |attack1req= |attack1tar= |attack1acc= |attack1crit= |attack1damage= |attack1effect= |attack1self= }}
Usage
You can input up to 6 different attacks by copying any "attack1" variable multiple times, changing the number, for example:
{{monsterabilities |level= |attack1name= |attack1type= |attack1req= |attack1tar= |attack1acc= |attack1crit= |attack1damage= |attack1effect= |attack1self= |attack2name= |attack2type= |attack2req= |attack2tar= |attack2acc= |attack2crit= |attack2damage= |attack2effect= |attack2self= }}
And so on until attack6name et cetera.
Variables
Here is the list of all possible variables with their usage. Variables with a # can contain a number from 1 to 6 for multiple attacks.
Variable | Usage |
---|---|
level | In the "level" variable, input a number from 1 to 4, where:
The name and colour of the table will change accordingly. |
attack#name | Name of the attack |
attack#type | Melee or ranged. If it is a melee attack, you can leave this empty and the table with automatically interpret it. |
attack#req | The position requirement to use this attack. Write like so: 1, 2, 3, 4. |
attack#tar | The possible targets for this attack. Write like so: 1, 2, 3, 4. For AoE attacks, write like so: 1+2+3+4. |
attack#acc | The accuracy % of the attack. Write only the number, without the percentage symbol %. |
attack#crit | The crit chance of the attack. Write only the number, without the percentage symbol %. |
attack#damage | The damage of the attack. Write like so: 2-4. |
attack#effect | Additional effects of the attack on the target. You can insert icons aside the effect name. Leave this blank if there is no additional effect: the table will automatically display "No effect". |
attack#self | Additional effects of the attack on self. You can insert icons aside the effect name. Leave this blank if there is no additional effect: the table will automatically display "No effect". |