<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.kevinlee.io/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>https://www.kevinlee.io/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AURL</id>
		<title>Template:URL - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.kevinlee.io/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AURL"/>
		<link rel="alternate" type="text/html" href="https://www.kevinlee.io/w/index.php?title=Template:URL&amp;action=history"/>
		<updated>2026-05-06T09:26:19Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>https://www.kevinlee.io/w/index.php?title=Template:URL&amp;diff=394&amp;oldid=prev</id>
		<title>Kevin: Created page with &quot;&lt;includeonly&gt;{{#if:{{{1|}}}|&lt;!--    --&gt;&lt;span class=&quot;url&quot;&gt;&lt;!--    --&gt;{{#ifeq:{{#titleparts:{{lc:x{{{1|}}}}}|1|1}}|{{lc:x{{{1|}}}}}|&lt;!-- work-around when titleparts doesn't accept ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.kevinlee.io/w/index.php?title=Template:URL&amp;diff=394&amp;oldid=prev"/>
				<updated>2012-07-29T06:36:07Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;includeonly&amp;gt;{{#if:{{{1|}}}|&amp;lt;!--    --&amp;gt;&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;&amp;lt;!--    --&amp;gt;{{#ifeq:{{#titleparts:{{lc:x{{{1|}}}}}|1|1}}|{{lc:x{{{1|}}}}}|&amp;lt;!-- work-around when titleparts doesn&amp;#39;t accept ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#if:{{{1|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#ifeq:{{#titleparts:{{lc:x{{{1|}}}}}|1|1}}|{{lc:x{{{1|}}}}}|&amp;lt;!-- work-around when titleparts doesn't accept the URL and returns the full string without a capital: don't attempt to transform the displayed URL&lt;br /&gt;
      --&amp;gt;[{{#if:1|{{{1|}}}}} {{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}|{{#if:1|{{{1|}}}}}}}]&amp;lt;!-- These &amp;quot;#if:1&amp;quot; pseudo-tests (always true) allow trimming leading spaces in their text parameter&lt;br /&gt;
   --&amp;gt;|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#switch:{{lc:{{#titleparts:{{{1|}}}|2}}}}&lt;br /&gt;
         |https:/&lt;br /&gt;
         |http:/&lt;br /&gt;
         |ftp:/=&amp;lt;!-- Matches https:/ or http:/ or ftp:/&lt;br /&gt;
         --&amp;gt;[{{#if:1|{{{1|}}}}} &amp;lt;!-- This #if:1 allows trimming leading spaces in the full URL: {{{1|}}}&lt;br /&gt;
         --&amp;gt;{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| &amp;lt;!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}&lt;br /&gt;
            --&amp;gt;{{lc:&amp;lt;!-- domain name in lowercase&lt;br /&gt;
               --&amp;gt;{{#titleparts:{{{1|}}}|1|3}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#if:{{#titleparts:{{{1|}}}||4}}&amp;lt;!-- rest of the path&lt;br /&gt;
            --&amp;gt;|/{{#titleparts:{{{1|}}}||4}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;]&amp;lt;!--&lt;br /&gt;
      --&amp;gt;|#default=&amp;lt;!-- Not https:/ or http:/ or ftp:/&lt;br /&gt;
         --&amp;gt;[http://{{#if:1|{{{1|}}}}} &amp;lt;!-- This #if:1 allows trimming leading spaces in the full URL: {{{1|}}}&lt;br /&gt;
         --&amp;gt;{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| &amp;lt;!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}&lt;br /&gt;
            --&amp;gt;{{lc:&amp;lt;!-- domain name in lowercase&lt;br /&gt;
               --&amp;gt;{{#titleparts:{{{1|}}}|1|1}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#if:{{#titleparts:{{{1|}}}||2}}&amp;lt;!-- rest of the path&lt;br /&gt;
            --&amp;gt;|/{{#titleparts:{{{1|}}}||2}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;]&amp;lt;!--&lt;br /&gt;
      --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{2|}}}|{{{2|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{tlx|URL|''example.com''|''optional display text''}}&amp;lt;!--&lt;br /&gt;
  --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;{{documentation}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kevin</name></author>	</entry>

	</feed>