Forgotten Realms Wiki
Advertisement
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.

Example

For example:

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

Returns:

[[Khelben Arunsun

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