Шаблон:Skill fact/subobject — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 4: | Строка 4: | ||
|Has fact index={{#var:factcnt}} | |Has fact index={{#var:factcnt}} | ||
|Has fact={{{1|}}} | |Has fact={{{1|}}} | ||
+ | |Has fact secondary={{{2|}}} | ||
|Has fact type={{{type|}}} | |Has fact type={{{type|}}} | ||
− | |||
|Has fact text={{{text|}}} | |Has fact text={{{text|}}} | ||
|Has fact description={{{description|}}} | |Has fact description={{{description|}}} | ||
− | |Has fact number={{#iferror: {{#expr: {{#replace:{{{number|}}} | + | |Has fact effect={{{1|}}};{{#arraymap: {{{effect bonus|}}}|;|@@@|{{#switch: {{lc:@@@}}|condition damage=Condition Damage|healing power=Healing Power|#default={{ucfirst:@@@}}}}|;}}|+sep=; |
+ | |Has fact effect number={{#iferror: {{#expr: {{{effect bonus number|}}} }} || {{{effect bonus number|}}} }} | ||
+ | |Has fact number={{#iferror: {{#expr: {{#replace:{{{number|}}}|,}} }} || {{#replace:{{{number|}}}|,}} }} | ||
|Has fact stacks={{#iferror: {{#expr: {{{stacks|}}} }} || {{{stacks|}}} }} | |Has fact stacks={{#iferror: {{#expr: {{{stacks|}}} }} || {{{stacks|}}} }} | ||
|Has fact strikes={{#iferror: {{#expr: {{{strikes|}}} }} || {{{strikes|}}} }} | |Has fact strikes={{#iferror: {{#expr: {{{strikes|}}} }} || {{{strikes|}}} }} | ||
Строка 24: | Строка 26: | ||
|- | |- | ||
| 1 ''(unnamed parameter)'' || [[Property:Has fact]] | | 1 ''(unnamed parameter)'' || [[Property:Has fact]] | ||
+ | |- | ||
+ | | 2 ''(unnamed parameter)'' || [[Property:Has fact secondary]] | ||
|- | |- | ||
| type || [[Property:Has fact type]] | | type || [[Property:Has fact type]] | ||
− | |||
− | |||
|- | |- | ||
| text || [[Property:Has fact text]] | | text || [[Property:Has fact text]] | ||
|- | |- | ||
| description || [[Property:Has fact description]] | | description || [[Property:Has fact description]] | ||
+ | |- | ||
+ | | 1 ''(unnamed parameter)'' + effect bonus || [[Property:Has fact effect]] | ||
+ | |- | ||
+ | | effect bonus number || [[Property:Has fact effect number]] | ||
|- | |- | ||
| number || [[Property:Has fact number]] | | number || [[Property:Has fact number]] |
Версия 12:00, 7 марта 2020
To be used to create {{Skill fact}} subobjects.
Parameters
Parameter | Property |
---|---|
{{PAGENAME}} | Property:Is for skill |
{{#var:factcnt}} | Property:Has fact index |
1 (unnamed parameter) | Property:Has fact |
2 (unnamed parameter) | Property:Has fact secondary |
type | Property:Has fact type |
text | Property:Has fact text |
description | Property:Has fact description |
1 (unnamed parameter) + effect bonus | Property:Has fact effect |
effect bonus number | Property:Has fact effect number |
number | Property:Has fact number |
stacks | Property:Has fact stacks |
strikes | Property:Has fact strikes |
coefficient | Property:Has fact coefficient |