Template:IsExternalLink

From WikiEducator
Jump to: navigation, search


Usage

Returns 1 if the argument starts with http:// https:// ftp:// (case insensitive)
otherwise returns 0

Examples

{{IsExternalLink|http://example.com}} returns 1

{{IsExternalLink|File:example.com}} returns 0