Template:Link
Usage
{{Link|<input>}}
Examples
- {{Link|Skitter}} → [[Taylor Hebert|Skitter]] → {{#switch:Skitter
|Alec={{#if:Jean-Paul "Alec" Vasil|{{#if:Alec|Alec|Jean-Paul "Alec" Vasil}}|Alec}} |Armsmaster={{#if:Colin Wallis|{{#if:Armsmaster|Armsmaster|Colin Wallis}}|Armsmaster}} |Bitch={{#if:Rachel Lindt|{{#if:Bitch|Bitch|Rachel Lindt}}|Bitch}} |Defiant={{#if:Colin Wallis|{{#if:Defiant|Defiant|Colin Wallis}}|Defiant}} |Glory Girl={{#if:Victoria Dallon|{{#if:Glory Girl|Glory Girl|Victoria Dallon}}|Glory Girl}} |Grue={{#if:Brian Laborn|{{#if:Grue|Grue|Brian Laborn}}|Grue}} |Panacea={{#if:Amy Dallon|{{#if:Panacea|Panacea|Amy Dallon}}|Panacea}} |Regent={{#if:Jean-Paul "Alec" Vasil|{{#if:Regent|Regent|Jean-Paul "Alec" Vasil}}|Regent}} |Skitter={{#if:Taylor Hebert|{{#if:Skitter|Skitter|Taylor Hebert}}|Skitter}} |Tattletale={{#if:Lisa Wilbourn|{{#if:Tattletale|Tattletale|Lisa Wilbourn}}|Tattletale}} |{{#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 |
|---|---|---|
| Alec | Alec | Jean-Paul "Alec" Vasil |
| Armsmaster | Armsmaster | Colin Wallis |
| Bitch | Bitch | Rachel Lindt |
| Defiant | Defiant | Colin Wallis |
| Glory Girl | Glory Girl | Victoria Dallon |
| Grue | Grue | Brian Laborn |
| Panacea | Panacea | Amy Dallon |
| Regent | Regent | Jean-Paul "Alec" Vasil |
| Skitter | Skitter | Taylor Hebert |
| Tattletale | Tattletale | Lisa Wilbourn |
- *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 ()> |