http://wiki.wolfire.com/index.php?title=Template:URL&feed=atom&action=historyTemplate:URL - Revision history2024-03-29T11:14:54ZRevision history for this page on the wikiMediaWiki 1.30.0http://wiki.wolfire.com/index.php?title=Template:URL&diff=3810&oldid=prevConner36: Created page with "<includeonly>{{#if:{{{1|}}}|<!-- --><span class="url"><!-- -->{{#ifeq:{{#titleparts:{{lc:x{{{1|}}}}}|1|1}}|{{lc:x{{{1|}}}}}|<!-- work-around when titleparts doesn't accept ..."2012-03-04T02:29:52Z<p>Created page with "<includeonly>{{#if:{{{1|}}}|<!-- --><span class="url"><!-- -->{{#ifeq:{{#titleparts:{{lc:x{{{1|}}}}}|1|1}}|{{lc:x{{{1|}}}}}|<!-- work-around when titleparts doesn't accept ..."</p>
<p><b>New page</b></p><div><includeonly>{{#if:{{{1|}}}|<!--<br />
--><span class="url"><!--<br />
-->{{#ifeq:{{#titleparts:{{lc:x{{{1|}}}}}|1|1}}|{{lc:x{{{1|}}}}}|<!-- 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<br />
-->[{{#if:1|{{{1|}}}}} {{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}|{{#if:1|{{{1|}}}}}}}]<!-- These "#if:1" pseudo-tests (always true) allow trimming leading spaces in their text parameter<br />
-->|<!--<br />
-->{{#switch:{{lc:{{#titleparts:{{{1|}}}|2}}}}<br />
|https:/<br />
|http:/<br />
|ftp:/=<!-- Matches https:/ or http:/ or ftp:/<br />
-->[{{#if:1|{{{1|}}}}} <!-- This #if:1 allows trimming leading spaces in the full URL: {{{1|}}}<br />
-->{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| <!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}<br />
-->{{lc:<!-- domain name in lowercase<br />
-->{{#titleparts:{{{1|}}}|1|3}}<!--<br />
-->}}<!--<br />
-->{{#if:{{#titleparts:{{{1|}}}||4}}<!-- rest of the path<br />
-->|/{{#titleparts:{{{1|}}}||4}}<!--<br />
-->}}<!--<br />
-->}}<!--<br />
-->]<!--<br />
-->|#default=<!-- Not https:/ or http:/ or ftp:/<br />
-->[http://{{#if:1|{{{1|}}}}} <!-- This #if:1 allows trimming leading spaces in the full URL: {{{1|}}}<br />
-->{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| <!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}<br />
-->{{lc:<!-- domain name in lowercase<br />
-->{{#titleparts:{{{1|}}}|1|1}}<!--<br />
-->}}<!--<br />
-->{{#if:{{#titleparts:{{{1|}}}||2}}<!-- rest of the path<br />
-->|/{{#titleparts:{{{1|}}}||2}}<!--<br />
-->}}<!--<br />
-->}}<!--<br />
-->]<!--<br />
-->}}<!--<br />
-->}}<!--<br />
--></span><!--<br />
-->|<!--<br />
-->{{#if:{{{2|}}}|{{{2|}}}|<!--<br />
-->{{tlx|URL|''example.com''|''optional display text''}}<!--<br />
-->}}<!--<br />
-->}}</includeonly><noinclude>{{documentation}}</noinclude></div>Conner36