Template:Link
Appearance
Usage
{{Link|<input>}}
Examples
- {{Link|Skitter}} → [[Taylor Hebert|Skitter]] → {{#switch:Skitter
|Skitter={{#if:Taylor Hebert|{{#if:Skitter|Skitter|Taylor Hebert}}|Skitter}} |{{#if:Skitter|{{#if:{{#sub:Skitter|0|{{#expr:{{#rpos:Skitter|(}}{{#ifeq:{{#rpos:Skitter|(}}|-1|+|-}}1}}}}|{{#sub:Skitter|0|{{#expr:{{#rpos:Skitter|(}}{{#ifeq:{{#rpos:Skitter|(}}|-1|+|-}}1}}}}|Skitter}}|{{#sub:Skitter|0|{{#expr:{{#rpos:Skitter|(}}{{#ifeq:{{#rpos:Skitter|(}}|-1|+|-}}1}}}}}} }}
Explanation
This template takes an input, and creates a link based on the two tables below.
Links
| Input | Text | Links to |
|---|---|---|
| Skitter | Skitter | Taylor Hebert |
- *Some pages' text is a term used by more than one article and uses the whole link instead of the desired text
| Input | Text | Links to |
|---|---|---|
| <link without ()> | <link without ()> | <link without ()> |
| <link with ()> | <link without ()> | <link with ()> |