User:Sewil/Sandbox/format

{{#switch:{{lc:{{#explode:{{urlencode:{{{1}}}}}|+|0}}}} {{#ifeq:{{{1}}}|{{{3}}}| Chapter {{{2}}} (p. {{{4}}})|{{#ifeq:{{{1}}}|{{{5}}}| Chapter {{{2}}} (p. {{{6}}}) }}}}
 * episode=

{{#ifeq:{{{1}}}|{{{2}}}| Episode {{{3}}} (p. {{{4}}}){{#if:{{{5}}}| Episode {{{5}}} (p. {{{6}}}) }} }}
 * chapter=