Difference between revisions of "Template:Mobile.dpl13"

m
m
 
Line 1: Line 1:
{{#ifexpr: {{#len: {{{trainableMagicalAbility}}} }} > 0 |{{#ifexpr: {{InString|{{{trainableMagicalAbility}}}|{{#replace:{{PAGENAME}}| (ability)|}}}} > -1|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}} }}{{#ifexpr: {{#len: {{{trainableSpecialAbility}}} }} > 0 |{{#ifexpr: {{InString|{{{trainableSpecialAbility}}}|{{#replace:{{PAGENAME}}| (ability)|}}}} > -1|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}} }}{{#ifexpr: {{#len: {{{trainableSpecialMove}}} }} > 0 |{{#ifexpr: {{InString|{{{trainableSpecialMove}}}|{{#replace:{{PAGENAME}}| (ability)|}}}} > -1|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}} }}{{#ifexpr: {{#len: {{{trainableAreaEffect}}} }} > 0 |{{#ifexpr: {{InString|{{{trainableAreaEffect}}}|{{#replace:{{PAGENAME}}| (ability)|}}}} > -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