Template:LinkType

From Zelda Wiki, the Zelda encyclopedia
Revision as of 16:54, 23 April 2023 by The Magic Wand (talk | contribs) (→‎Usage: Standardizing Maintenance Categories)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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.