Difference between revisions of "Template:Duelnext"

From Yugipedia
Jump to: navigation, search
(really, this was grossly overcomplicated)
(Minor fix.)
Line 1: Line 1:
 
{{ #vardefine: $next | {{ #sub: {{PAGENAME}} | 0 | {{ #rpos: {{PAGENAME}} }} }} {{ padleft: {{ #expr: {{ #explode: {{PAGENAME}} || -1 }} + 1 }} | 3 }}
 
{{ #vardefine: $next | {{ #sub: {{PAGENAME}} | 0 | {{ #rpos: {{PAGENAME}} }} }} {{ padleft: {{ #expr: {{ #explode: {{PAGENAME}} || -1 }} + 1 }} | 3 }}
}}''[[{{ #if: {{{1|}}} | {{ #var: $next }}#{{{1}}} | {{ #var: $next }} }}|Duel continues in the next {{ #switch: {{ #explode: {{PAGENAME}} || -2 }} Episode = episode | Round = chapter | Chapter = chapter | {{ #explode: {{PAGENAME}} || -2 }} }}]].''
+
}}''[[{{ #if: {{{1|}}} | {{ #var: $next }}#{{{1}}} | {{ #var: $next }} }}|Duel continues in the next {{ #switch: {{ #explode: {{PAGENAME}} || -2 }} | Episode = episode | Round = chapter | Chapter = chapter | {{ #explode: {{PAGENAME}} || -2 }} }}]].''

Revision as of 04:59, 6 February 2015

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