(19 intermediate revisions by the same user not shown)
Line 1:
<includeonly><i>{{#if: {{#pos:{{{1}}}|#}}
|{{Hoverlink|{{#replace: {{{1}}}|#|}}|{{{1}}}}}
{{#if: {{{1|}}} | <!-- Check if input is not empty -->
|{{Hoverlink|{{{1}}}}}
{{#ifexpr: {{#expr: {{#count: {{{1|}}} }} > 1}} | <!-- Check if there is a '#' key -->
}}</i>{{#ifexprif:{{#exprvar:table}}|{{#explode: Ep/table|{{{12|}}}}}|{{#if:{{{2|0}} != }| <small>{{#explodeifeq:{{{12|}}}|#m|1(mentioned)|{{{2}}}}} | <!-- Check if content before and after '#' key are different --/small>}}}}</includeonly>
[[{{#explode: {{{1|}}}|#|0}} {{#explode: {{{1|}}}|#|1}}|{{'#'}}{{#explode: {{{1|}}}|#|1}}]] <!-- If different, display link with '#' -->
| <!-- Otherwise -->
{{#explode: {{{1|}}}|#|1}} <!-- Display content after '#' key -->