Шаблон:Skill fact/subobject — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
Строка 15: Строка 15:
 
   |Has fact strikes={{#iferror: {{#expr: {{{strikes|}}} }} || {{{strikes|}}} }}
 
   |Has fact strikes={{#iferror: {{#expr: {{{strikes|}}} }} || {{{strikes|}}} }}
 
   |Has fact coefficient={{#iferror: {{#expr: {{#replace:{{{coefficient|}}}|.|,}} }} || {{{coefficient|}}} }}
 
   |Has fact coefficient={{#iferror: {{#expr: {{#replace:{{{coefficient|}}}|.|,}} }} || {{{coefficient|}}} }}
 +
  |Applies to={{{applies to|}}}
 
   |Has game icon={{#if: {{{icon|}}}|File:{{{icon}}}|File:{{ifimage|{{{1|}}}.png|{{{1|}}}.png|Miscellaneous effect.png}}}}
 
   |Has game icon={{#if: {{{icon|}}}|File:{{{icon}}}|File:{{ifimage|{{{1|}}}.png|{{{1|}}}.png|Miscellaneous effect.png}}}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
Строка 48: Строка 49:
 
|-
 
|-
 
| coefficient || [[Property:Has fact coefficient]]
 
| coefficient || [[Property:Has fact coefficient]]
 +
|-
 +
| applies to || [[Property:Applies to]]
 
|-
 
|-
 
| icon || [[Property:Has game icon]]
 
| icon || [[Property:Has game icon]]
 
|}
 
|}
 
[[Category:Subobject templates]]
 
[[Category:Subobject templates]]

Текущая версия на 09:45, 22 декабря 2022

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 secondary fact
type Property:Has fact type
text Property:Has fact text
description, alternatively: text Property:Has game 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
applies to Property:Applies to
icon Property:Has game icon