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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
(не показана 1 промежуточная версия этого же участника)
Строка 10: Строка 10:
 
   |Has game description={{{description|{{{text|}}}}}}
 
   |Has game description={{{description|{{{text|}}}}}}
 
   |Has fact effect={{{1|}}};{{#arraymap: {{{effect bonus|}}}|;|@@@|{{#switch: {{lc:@@@}}|condition damage=Condition Damage|healing power=Healing Power|#default={{ucfirst:@@@}}}}|;}}|+sep=;
 
   |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 effect number={{#iferror: {{#expr: {{#replace:{{{effect bonus number|}}}|.|,}} }} || {{{effect bonus number|}}} }}
 
   |Has fact number={{#iferror: {{#expr: {{#replace:{{{number|}}}|.|,}} }} || {{#replace:{{{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|}}} }}
 
   |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