https://wiki.xenproject.org/index.php?title=Template:URL&feed=atom&action=historyTemplate:URL - Revision history2024-03-28T08:46:55ZRevision history for this page on the wikiMediaWiki 1.31.3https://wiki.xenproject.org/index.php?title=Template:URL&diff=1913&oldid=prevLars.kurth: 1 revision: Imported set of missing templates from Wikipedia under CC BY 3.02011-12-06T21:50:52Z<p>1 revision: Imported set of missing templates from Wikipedia under CC BY 3.0</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 21:50, 6 December 2011</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Lars.kurthhttps://wiki.xenproject.org/index.php?title=Template:URL&diff=1912&oldid=prevFryed-peach: Undid revision 462255478 by Kkm010 (talk)2011-11-24T14:42:21Z<p>Undid revision 462255478 by <a href="/wiki/Special:Contributions/Kkm010" title="Special:Contributions/Kkm010">Kkm010</a> (<a href="/index.php?title=User_talk:Kkm010&action=edit&redlink=1" class="new" title="User talk:Kkm010 (page does not exist)">talk</a>)</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>Fryed-peach