Difference between revisions of "Template:Extract-Server"
Jump to navigation
Jump to search
Maczkopeti (talk | contribs) m |
Maczkopeti (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch:{{#replace:{{#replace:{{#replace:{{#sub:{{{1}}}|0|{{#pos:{{{1}}}|/|8}}}}|http://|}}|https:// | + | <includeonly>{{#switch:{{#replace:{{#replace:{{#replace:{{#sub:{{{1}}}|0|{{#pos:{{{1}}}|/|8}}}}|www.|}}|http://|}}|https://|}} |
| 4shared.com = 4shared | | 4shared.com = 4shared | ||
| darkygallery.fr = Darky Gallery | | darkygallery.fr = Darky Gallery |
Revision as of 14:29, 16 May 2015
Extract the server name of a url.
Example: {{Extract-Server|http://wit.wiimm.de/wit}}
Result: http://wit.wiimm.de