Difference between revisions of "Template:Skill infobox"

Jump to navigation Jump to search
(set Has raw English description property)
Line 36: Line 36:
     padding: 0px 7px 0px 7px;
     padding: 0px 7px 0px 7px;
}
}
}}{{#subobject:skill{{#vardefineecho:skillnumber|{{#expr:{{#var:skillnumber|-1}}+1}}}}
}}{{#if: <!-- define vars -->
 
{{#vardefine:skill desc|[{{Skill trigger timing|{{{jp trigger timing|}}}}}] {{#if:{{{en description|}}}|{{{en description}}}|{{{jp description|?}}}}} / {{{proc chance|0}}}%}}
 
{{#arraydefine:raw skill desc|{{#var:skill desc}}|/<[^>]*>/}}
 
}}<!-- end define vars -->{{#subobject:skill{{#vardefineecho:skillnumber|{{#expr:{{#var:skillnumber|-1}}+1}}}}
| Has game context =Skill
| Has game context =Skill
| Has Japanese name ={{{jp name|}}}
| Has Japanese name ={{{jp name|}}}
Line 45: Line 51:
| Has skill trigger timing ={{{jp trigger timing|}}}
| Has skill trigger timing ={{{jp trigger timing|}}}
| Has skill proc chance ={{{proc chance|0}}}
| Has skill proc chance ={{{proc chance|0}}}
| Has preformatted English description =[{{Skill trigger timing|{{{jp trigger timing|}}}}}] {{#if:{{{en description|}}}|{{{en description}}}|{{{jp description|?}}}}} / {{{proc chance|0}}}%
| Has preformatted English description ={{#var:skill desc}}
| Has raw English description ={{#arrayprint:raw skill desc|&#32;|@@@|@@@}}
}}
}}


Line 94: Line 101:
* Has skill proc chance
* Has skill proc chance
* Has preformatted English description
* Has preformatted English description
* Has raw English description


== Usage ==
== Usage ==
Line 121: Line 129:
| jp trigger timing = 移動後
| jp trigger timing = 移動後
| jp description = 自身に頑強付与
| jp description = 自身に頑強付与
| en description = Apply {{Status effect|頑強|format=alt}} to Self
| en description = Apply {{Status effect|頑強}} to Self
| proc chance = 50
| proc chance = 50
}}
}}
Line 130: Line 138:
| jp trigger timing = 移動後
| jp trigger timing = 移動後
| jp description = 自身に頑強付与
| jp description = 自身に頑強付与
| en description = Apply {{Status effect|頑強|format=alt}} to Self
| en description = Apply {{Status effect|頑強}} to Self
| proc chance = 50
| proc chance = 50
}}
}}