Forgotten Realms Wiki
Forgotten Realms Wiki

This utility template takes an arbitrary string and returns all characters from the beginning up to, but not including, the first pipe symbol (|). Its primary use is to return the link portion of a wikilink that may have alternate text specified.


For example:

{{rootlink|[[Khelben Arunsun|Khelben "Blackstaff" Arunsun]]}}


[[Khelben Arunsun

Typically this output is then fed to {{Unlink}} to remove the square brackets.