Bureaucrats, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
10,686
edits
Line 46: | Line 46: | ||
{{#if:{{#var:skill en name|}}||{{#vardefine:skill en name|{{#explode:{{{en name|}}}|/|0}}}}}} | {{#if:{{#var:skill en name|}}||{{#vardefine:skill en name|{{#explode:{{{en name|}}}|/|0}}}}}} | ||
{{#if:{{#var:skill en name|}}||{{#vardefine:skill jp name|{{#replace:{{#explode:{{{jp name|}}}|/|0}}}}|+|+}}}} | {{#if:{{#var:skill en name|}}||{{#vardefine:skill jp name|{{#replace:{{#explode:{{{jp name|}}}|/|0}}}}|+|+}}}} | ||
{{#vardefine:skill effect num|{{ | {{#vardefine:skill effect num|{{{effect|0}}}}} | ||
{{#vardefine:skill id|{{{id|{{#masterdata:Skill|{{#var:skill jp name|}}|id:name}}}}}}} | {{#vardefine:skill id|{{{id|{{#masterdata:Skill|{{#var:skill jp name|}}|id:name}}}}}}} | ||
{{#ifexpr:{{#var:skill id|}}<2|{{#vardefine:skill id|}}}} | {{#ifexpr:{{#var:skill id|}}<2|{{#vardefine:skill id|}}}} | ||
}}<!-- end define vars --><!-- create subobject | }}<!-- end define vars --><!-- create subobject | ||
--> | -->{#subobject:skill{{#var:skillnumber}} | ||
| Has game context =Skill | | Has game context =Skill | ||
| Has Japanese name ={{#var:skill jp name|{{{jp name|}}}}} | | Has Japanese name ={{#var:skill jp name|{{{jp name|}}}}} | ||
| Has English name ={{#var: skill en name|{{{en name|}}}}} | | Has English name ={{#var: skill en name|{{{en name|}}}}} | ||
| Has Japanese-English name = {{{jp-en name|}}} | | Has Japanese-English name = {{{jp-en name|}}} | ||
| Has lowercase English name ={{lc:{{#var: skill en name|{{{en name|}}}}}}} | | Has lowercase English name ={{lc:{{#var: skill en name|{{{en name|}}}}}}} | ||
Line 78: | Line 64: | ||
| Has evolved skill={{{evolution|}}} | | Has evolved skill={{{evolution|}}} | ||
| Has precursor skill={{{precursor|}}} | | Has precursor skill={{{precursor|}}} | ||
| Has ID = {{#var:skill id|}} | | Has ID = {{#var:skill id|}} | ||
| Has effect ID = {{#var:skill effect num|1}} | |||
}}<!-- end of subobject creation | }}<!-- end of subobject creation | ||
--> | -->{{#ifexpr:{{#var:skillnumber}} > 0|[[Category:Skill with additional effects]]{{#if:{{#pos:{{{jp description|}}}|Hidden:}}||{{#subobject:skill0 | ||
| Has preformatted English description = <br>{{#var:skill desc}} | | Has preformatted English description = <br>{{#var:skill desc}} | ||
| Has raw English description = <br>{{#var:raw skill desc}} | | Has raw English description = <br>{{#var:raw skill desc}} | ||
}}}}<!-- Grab evolution and precursor name --> | |||
{{#vardefine:evolution skill subobj| | {{#vardefine:evolution skill subobj| | ||
{{#if: {{{evolution|}}} | {{#if: {{{evolution|}}} |