Difference between revisions of "Template:Mobile.dpl13"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#len: {{{trainableMagicalAbility}}} }} | + | {{#vardefine:page|{{#replace:{{PAGENAME}}| (ability)|}}}}<!-- |
− | {{#ifexpr: {{InString|{{{trainableMagicalAbility}}}|{{ | + | -->{{#vardefine:link|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}}<!-- |
− | {{#ifexpr: {{InString|{{{trainableSpecialAbility}}}|{{ | + | -->{{#ifexpr: {{#len: {{{trainableMagicalAbility}}} }} > 0 |<!-- |
− | {{#ifexpr: {{InString|{{{trainableSpecialMove}}}|{{ | + | -->{{#ifexpr: {{InString|{{{trainableMagicalAbility}}}|{{#var:page}}}} > -1|{{#var:link}} }}<!-- |
− | {{#ifexpr: {{InString|{{{trainableAreaEffect}}}|{{ | + | -->}}<!-- |
+ | -->{{#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}} }}<!-- | ||
+ | -->}} |