टेम्पलेट:URL: रिवीजन सभ के बीचा में अंतर
Content deleted Content added
add class for use in microformats/ infoboxes |
imported>Plastikspork per discussion on talk page, will replace existing 12 transclusions to minimize breakage. |
||
लाइन 1: | लाइन 1: | ||
{{#if:{{{1|}}} |
|||
<span class="url">[http://{{{1|wikipedia.org}}}/{{{2|}}} {{{3|http://{{{1|wikipedia.org}}}/{{{2|}}}}}}]</span><noinclude>{{documentation}}</noinclude> |
|||
|<span class="url">{{#if:{{{2|}}} |
|||
|{{#switch:{{lc:{{#titleparts:{{{1}}}|2}}}} |
|||
|https:/ |
|||
|http:/ = [{{#if:1|{{{1}}}}} {{{2}}}] |
|||
|#default = [http://{{#if:1|{{{1}}}}} {{{2}}}] }} |
|||
|{{#switch:{{lc:{{#titleparts:{{{1}}}|2}}}} |
|||
|https:/ |
|||
|http:/ = [{{#if:1|{{{1}}}}} {{#ifeq:{{padleft:|4|{{lc:{{#titleparts:{{{1}}}||3}}}}}}|www. |
|||
|{{str right|{{#titleparts:{{{1}}}||3}}|4}} |
|||
|{{#titleparts:{{{1}}}||3}} }}] |
|||
|#default = [http://{{#if:1|{{{1}}}}} {{#ifeq:{{padleft:|4|{{lc:{{{1}}}}}}}|www. |
|||
|{{str right|{{{1}}}|4}} |
|||
|{{{1}}} }}] |
|||
}} |
|||
}}</span> |
|||
|{{tlx|url|example.com}} |
|||
}}<noinclude>{{documentation}}</noinclude> |