Template:LinkType

From Zelda Wiki, the Zelda encyclopedia
Jump to: navigation, search

Purpose

This template is a small formatting template that tests if a text string is a URL or not. This is intended to be used as a tool in other templates for simply differentiating between internal and external links.

Usage

To use this template, type:     {{LinkType|Link }}

If the provided link is a http:// URL, it will return external, if it's not, it will assume it is an internal wiki link and return internal. These results can be used in parser functions within other templates.