Difference between revisions of "Template:Mobile.dpl13"

m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifexpr: {{#len: {{{trainableMagicalAbility}}} }} > 0 |{{#ifexpr: {{InString|{{{trainableMagicalAbility}}}|{{PAGENAME}}}} > -1|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}} }}{{#ifexpr: {{#len: {{{trainableSpecialAbility}}} }} > 0 |{{#ifexpr: {{InString|{{{trainableSpecialAbility}}}|{{PAGENAME}}}} > -1|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}} }}{{#ifexpr: {{#len: {{{trainableSpecialMove}}} }} > 0 |{{#ifexpr: {{InString|{{{trainableSpecialMove}}}|{{PAGENAME}}}} > -1|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}} }}{{#ifexpr: {{#len: {{{trainableAreaEffect}}} }} > 0 |{{#ifexpr: {{InString|{{{trainableAreaEffect}}}|{{PAGENAME}}}} > -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