Difference between revisions of "Template:Extract-Server"

From Custom Mario Kart
Jump to navigation Jump to search
m
m
Line 12: Line 12:
 
  | sendspace.com            = SendSpace
 
  | sendspace.com            = SendSpace
 
  | youtube.com              = YouTube
 
  | youtube.com              = YouTube
  | #default                  = {{#replace:{{#replace:{{#sub:{{{1}}}|0|{{#pos:{{{1}}}|/|8}}}}|http://|}}|http://www.|}}
+
  | #default                  = {{#replace:{{#replace:{{#sub:{{{1}}}|0|{{#pos:{{{1}}}|/|8}}}}|http://www.|}}|http://|}}
 
}}</includeonly><noinclude>Extract the server name of a url.
 
}}</includeonly><noinclude>Extract the server name of a url.
  

Revision as of 14:33, 16 May 2015

Extract the server name of a url.

Example: {{Extract-Server|http://wit.wiimm.de/wit}}

Result: wit.wiimm.de