Template:Episode infobox

{{#if:{{{season|}}}| {{!}}- {{!}} style="width:30%;" {{!}} Season {{!}} style="width:70%;" {{!}} }}}|{{{season|}}} {{#if:{{{#inseason|}}}| {{!}}- {{!}} No. in season {{!}} {{{#inseason|}}} {{#if:{{{#inseries|}}}| {{!}}- {{!}} No. in series {{!}} {{{#inseries|}}} {{#if:{{{code|}}}| {{!}}- {{!}} Code {{!}} {{{code|}}} {{#if:{{{writer|}}}| {{!}}- {{!}} Writer(s) {{!}} {{{writer|}}} {{#if:{{{airdate|}}}| {{!}}- {{!}} Airdate {{!}} {{{airdate|}}} {{#if:{{{length|}}}| {{!}}- {{!}} Length {{!}} {{{length|}}} {{#if:{{{prev episode|}}} {{{next episode|}}}| {{!}}- {{!}} colspan="2" class="color1" {{!}} Episode chronology {{#if:{{{prev episode|}}} {{{next episode|}}}| {{!}}- {{!}} colspan="2"{{!}} {{{!}} style="text-align:center; width:100%;" {{!}}- {{!}}style="width:50%"{{!}} Previous {{!}}style="width:50%"{{!}} Next {{!}}- {{!}} {{{previous|N/A}}} {{!}} {{{next|N/A}}}
 * }}
 * }}
 * }}
 * }}
 * }}
 * }}
 * }}
 * }}
 * }}
 * }}
 * }