Content deleted Content added
TheDemon08 (talk | contribs) No edit summary Tag: 2017 source edit |
TheDemon08 (talk | contribs) No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<includeonly><i> |
|||
<includeonly><i>{{#ifeq: {{#explode: {{{1|}}}|#|0}} | {{{1|}}} | {{#explode: {{{1|}}}|#|1}} | {{#if: {{{1|}}} | [[{{#explode: {{{1|}}}|#|0}} {{#explode: {{{1|}}}|#|1}}|{{{1}}}]] }} }}</i></includeonly><noinclude>[[Category:Templates]] __NOTOC__ __NOEDITSECTION__</noinclude> |
|||
{{#ifexpr: {{#expr: {{#count: {{{1|}}} }} > 1}} | <!-- Check if there is a '#' key --> |
|||
{{#ifexpr: {{#expr: {{#explode: {{{1|}}}|#|0}} != {{#explode: {{{1|}}}|#|1}} }} | <!-- Check if content before and after '#' key are different --> |
|||
[[{{#explode: {{{1|}}}|#|0}} {{#explode: {{{1|}}}|#|1}}|{{{1}}}]] <!-- If different, display link --> |
|||
| <!-- Otherwise --> |
|||
{{#explode: {{{1|}}}|#|1}} <!-- Display content after '#' key --> |
|||
}} |
|||
| <!-- If no '#' key --> |
|||
{{#if: {{{1|}}} | {{{1}}} }} <!-- Display input if not empty --> |
|||
}} |
|||
</i></includeonly> |
|||
<noinclude>[[Category:Templates]] __NOTOC__ __NOEDITSECTION__</noinclude> |