This template performs the same function as Unlink and may be replaced if these string handling functions ever get installed on this wiki. However, this template now handles the case where more than one link is present. Only the first link is returned without the brackets, the rest of the string is ignored.

Unlink removes the square brackets from around a string, if any. Examples:

{{unlink|[[Magmanite]]}} returns Magmanite.
{{unlink|the [[Magmanite]]}} returns Magmanite.
{{unlink|[Ruby]}} returns Ruby.
{{unlink|Diamond Axe}} returns Diamond Axe.
{{unlink|[[Swords]] ([[Iron Sword]])}} returns Swords.

Use {{Rootlink}} to remove an alternate name before unlinking:

{{unlink|{{rootlink|[[Fire (element)|Fire]]}} }} returns
Community content is available under CC-BY-SA unless otherwise noted.