Bureaucrats, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
10,686
edits
(t) |
|||
Line 39: | Line 39: | ||
{{#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|{{{effect| | {{#vardefine:skill effect num|{{{effect|1}}}}} | ||
{{#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|}}}} | ||
}}{{#ifeq:{{#var:skill effect num|1}}|1| | |||
}}<!-- end define vars --><!-- create subobject | }}<!-- end define vars --><!-- create subobject | ||
-->{{#subobject:skill{{#var:skillnumber}} | -->{{#subobject:skill{{#var:skillnumber}} | ||
Line 66: | Line 68: | ||
}}}}}}<!-- Grab evolution and precursor name --> | }}}}}}<!-- Grab evolution and precursor name --> | ||
{{#vardefine:evolution skill subobj| | {{#vardefine:evolution skill subobj| | ||
{{#if: {{{evolution|}}} | <!--{{#if: {{{evolution|}}} | ||
|{{#ask: | |-->{{#ask: | ||
[[Has game context::Skill]] | [[Has game context::Skill]] | ||
[[Has Japanese name::{{{ | [[Has Japanese name::{{#var:skill jp name|{{{jp name|}}}}}+]] | ||
|link=none | |link=none | ||
|limit=1 | |limit=1 | ||
Line 75: | Line 77: | ||
|searchlabel= | |searchlabel= | ||
}} | }} | ||
}} | <!--}}--> | ||
}}{{#vardefine:evolution skill en name| | }}{{#vardefine:evolution skill en name| | ||
{{#if: {{#var:evolution skill subobj|}} | {{#if: {{#var:evolution skill subobj|}} |