Difference between revisions of "Template:Duelnext"

From Yugipedia
Jump to: navigation, search
(Correction.)
(Just discovered the Yu-Gi-Oh! Duelist manga - "Duel continues in the next Duel" may be a little confusing.)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ #vardefine: $template:series | {{ #show: {{PAGENAME}} | ?Episode series }} }} {{ #vardefine: $template:episode-chapter-type | {{ #explode: {{PAGENAME}} | | {{ #ifeq: {{ #var: $template:series }} | Yu-Gi-Oh! | 3 | 4 }} }} }}
+
{{ #vardefine: $next | {{ #sub: {{PAGENAME}} | 0 | {{ #rpos: {{PAGENAME}} }} }} {{ padleft: {{ #expr: {{ #explode: {{PAGENAME}} || -1 }} + 1 }} | 3 }}
''[[{{ #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 }} }}]].''
+
}}''[[{{ #if: {{{1|}}} | {{ #var: $next }}#{{{1}}} | {{ #var: $next }} }}|Duel continues in the next {{ #switch: {{ #explode: {{PAGENAME}} || -2 }} | Episode = episode | Duel = chapter | Round = chapter | Chapter = chapter | {{ #explode: {{PAGENAME}} || -2 }} }}]].''

Latest revision as of 06:32, 12 February 2015

[[Duelnex Expression error: Unrecognized word "duelnext".|Duel continues in the next ]].