Difference between revisions of "Template:Mobile.dpl13"

m
m
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
* {{{%TITLE%}}}
+
{{#vardefine:page|{{#replace:{{PAGENAME}}| (ability)|}}}}<!--
* {{#rpos: {{{trainableMagicalAbility|}}} | {{{%TITLE%}}} }} {{#if: {{#rpos: {{{trainableMagicalAbility|}}} | {{{%TITLE%}}} }} > -1 | Yes | No }}
+
-->{{#vardefine:link|: [[{{{%PAGE%}}}|{{{%TITLE%}}}]]}}<!--
* {{#rpos: {{{trainableSpecialAbility|}}} | {{{%TITLE%}}} }} {{#if: {{#rpos: {{{trainableSpecialAbility|}}} | {{{%TITLE%}}} }} > -1 | Yes | No }}
+
-->{{#ifexpr: {{#len: {{{trainableMagicalAbility}}} }} > 0 |<!--
* {{#rpos: {{{trainableSpecialMove|}}} | {{{%TITLE%}}} }} {{#if: {{#rpos: {{{trainableSpecialMove|}}} | {{{%TITLE%}}} }} > -1 | Yes | No }}
+
    -->{{#ifexpr: {{InString|{{{trainableMagicalAbility}}}|{{#var:page}}}} > -1|{{#var:link}} }}<!--
* {{#rpos: {{{trainableAreaEffect|}}} | {{{%TITLE%}}} }} {{#if: {{#rpos: {{{trainableAreaEffect|}}} | {{{%TITLE%}}} }} > -1 | Yes | No }}
+
-->}}<!--
<hr>
+
-->{{#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