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> |
||
{{# |
{{#if: {{{1|}}} | <!-- Check if input is not empty --> |
||
{{#ifexpr: {{#expr: {{# |
{{#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|}}}|#|0}} <!-- Display input without modification --> |
|||
}} |
}} |
||
| <!-- If no '#' key --> |
|||
⚫ | |||
}} |
}} |
||
</i></includeonly> |
</i></includeonly> |