Difference between revisions of "Template:Mobile.dpl13"

m
m
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifexpr: {{InString|{{{trainableMagicalAbility}}}|{{{%TITLE%}}} }} > -1|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}}{{#ifexpr: {{InString|{{{trainableSpecialAbility}}}|{{{%TITLE%}}} }} > -1|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}}{{#ifexpr: {{InString|{{{trainableSpecialMove}}}|{{{%TITLE%}}} }} > -1|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}}{{#ifexpr: {{InString|{{{trainableAreaEffect}}}|{{{%TITLE%}}} }} > -1|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}}
+
{{#vardefine:page|{{#replace:{{PAGENAME}}| (ability)|}}}}<!--
 +
-->{{#vardefine:link|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}}<!--
 +
-->{{#ifexpr: {{#len: {{{trainableMagicalAbility}}} }} > 0 |<!--
 +
    -->{{#ifexpr: {{InString|{{{trainableMagicalAbility}}}|{{#var:page}}}} > -1|{{#var:link}} }}<!--
 +
-->}}<!--
 +
-->{{#ifexpr: {{#len: {{{trainableSpecialAbility}}} }} > 0 |<!--
 +
    -->{{#ifexpr: {{InString|{{{trainableSpecialAbility}}}|{{#var:page}}}} > -1|{{#var:link}} }}<!--
 +
-->}}<!--
 +
-->{{#ifexpr: {{#len: {{{trainableSpecialMove}}} }} > 0 |<!--
 +
    -->{{#ifexpr: {{InString|{{{trainableSpecialMove}}}|{{#var:page}}}} > -1|{{#var:link}} }}<!--
 +
-->}}<!--
 +
-->{{#ifexpr: {{#len: {{{trainableAreaEffect}}} }} > 0 |<!--
 +
    -->{{#ifexpr: {{InString|{{{trainableAreaEffect}}}|{{#var:page}}}} > -1|{{#var:link}} }}<!--
 +
-->}}

Latest revision as of 11:26, 10 July 2017