Difference between revisions of "Template:Duelnext"

From Yugipedia
Jump to: navigation, search
m (RedDrgn moved page Template:DuelNext to Template:Duelnext: Simplicity)
(Extended to manga chapters.)
Line 1: Line 1:
''[[{{#show: {{PAGENAME}} | ?Episode series}} - Episode {{padleft:{{#expr:{{#show: {{PAGENAME}} | ?Episode number}} + 1}}|3|0}}|Duel continues in the next episode]].''
+
{{ #vardefine: $template:series | {{ #show: {{PAGENAME}} | ?Episode series }} {{ #vardefine: $template:episode-chapter-type | {{ #explode: {{PAGENAME}} | | {{ #ifeq: {{ #var: $template:series }} | Yu-Gi-Oh! | 3 | 4 }} }} }}
 +
''[[{{ #var: $template:series }} - {{ #var: $template:episode-chapter-type }} {{padleft:{{#expr:{{#show: {{PAGENAME}} | ?Episode number}} + 1}}|3|0}}|Duel continues in the next {{ #ifeq: {{ #var: $template:episode-chapter-type }} | Episode | episode | {{ #var: $template:episode-chapter-type }} }}]].''

Revision as of 06:36, 2 February 2015

{{ #vardefine: $template:series | Duel continues in the next .