Difference between revisions of "Template:Duelnext"

From Yugipedia
Jump to: navigation, search
(Attempting to fix a problem with anchor links.)
(Another attempt to fix the anchor link problem.)
Line 3: Line 3:
 
}}{{ #vardefine: $number | {{ #explode: {{ #var: $name }} || -1 }}
 
}}{{ #vardefine: $number | {{ #explode: {{ #var: $name }} || -1 }}
 
}}{{ #vardefine: $type | {{ #replace: {{ #explode: {{ #var: $name }} | - | 1 }} | {{ #var: $number }} }}
 
}}{{ #vardefine: $type | {{ #replace: {{ #explode: {{ #var: $name }} | - | 1 }} | {{ #var: $number }} }}
}}''[[{{ #var: $series }} - {{ #var: $type }} {{ padleft: {{ #expr: {{ #var: $number }} + 1 }} | 3 | 0 }}{{ #if: {{{1|}}} | #{{{1}}} | }}|Duel continues in the next {{ #switch: {{ #var: $type }} | Episode=episode | Duel Round=chapter | Chapter=chapter | {{ #var: $type }} }}]].''
+
}}{{ #vardefine: $next | {{ #var: $series }} - {{ #var: $type }} {{ padleft: {{ #expr: {{ #var: $number }} + 1 }} | 3 | 0 }}
 +
}}''[[{{ #if: {{{1|}}} | {{ #var: $next }}#{{{1}}} | {{ #var: $next }} }}|Duel continues in the next {{ #switch: {{ #var: $type }} | Episode=episode | Duel Round=chapter | Chapter=chapter | {{ #var: $type }} }}]].''

Revision as of 08:48, 2 February 2015

[[Yu-Gi-Oh! Duelnext - Expression error: Unrecognized word "duelnext".|Duel continues in the next ]].