Difference between revisions of "Template:Extract-Server"
Jump to navigation
Jump to search
m (Added another URL for GitHub.) |
|||
(81 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#replace:{{#sub:{{{1}}}|0|{{#pos:{{{1}}}|/|8}}}}|http://|}}</includeonly><noinclude>Extract the server name of a | + | <includeonly>{{#switch:{{#replace:{{#replace:{{#replace:{{#sub:{{{1}}}|0|{{#pos:{{{1}}}|/|8}}}}|http://}}|https://}}|www.}} |
+ | | 2shared.com = 2shared | ||
+ | | 4shared.com = 4shared | ||
+ | | f005.backblazeb2.com | ||
+ | | wiiki-content.acaruso.xyz = acaruso's Archive | ||
+ | | anonfiles.com = AnonFiles | ||
+ | | avsys.xyz = AVSYS | ||
+ | | baoulettes.fr = baoulettes.fr | ||
+ | | bayfiles.com = BayFiles | ||
+ | | app.box.com | ||
+ | | box.com | ||
+ | | m.box.com = Box | ||
+ | | chadsoft.co.uk = ChadSoft | ||
+ | | cdn.discordapp.com = Discord | ||
+ | | darkygallery.fr = Darky Gallery | ||
+ | | depositfiles.com = DepositFiles | ||
+ | | db.tt | ||
+ | | dl.dropboxusercontent.com | ||
+ | | dropbox.com = Dropbox | ||
+ | | filebin.net = Filebin | ||
+ | | drive.filen.io = Filen | ||
+ | | files.brawlbox.co.uk = Filebox | ||
+ | | fynn93.ml = fynn93.ml | ||
+ | | fynn93.tech = fynn93.tech | ||
+ | | gamebanana.com = GameBanana | ||
+ | | dumbwebdevs.github.io | ||
+ | | github.com | ||
+ | | github.io | ||
+ | | raw.githubusercontent.com = GitHub | ||
+ | | gofile.io = Gofile | ||
+ | | code.google.com = Google Code | ||
+ | | docs.google.com | ||
+ | | drive.google.com = Google Drive | ||
+ | | sites.google.com = Google Sites | ||
+ | | 49.12.226.82 = Hetzner Cloud | ||
+ | | spaces.hightail.com = Hightail | ||
+ | | icedrive.net = Icedrive | ||
+ | | archive.org = Internet Archive | ||
+ | | itch.io | ||
+ | | scuder1asc0tti.itch.io = itch.io | ||
+ | | mediafire.com = MediaFire | ||
+ | | mega.co.nz | ||
+ | | mega.io | ||
+ | | mega.nz = MEGA | ||
+ | | 1drv.ms = OneDrive | ||
+ | | my.pcloud.com = pCloud | ||
+ | | files.primm.gay = primm.gay | ||
+ | | drive.proton.me = Proton Drive | ||
+ | | puu.sh = puush | ||
+ | | remakekart12.com = Remake Kart 12 | ||
+ | | files.revok.art = revok.art | ||
+ | | files.rz-public.xyz = rz-public | ||
+ | | sendspace.com = SendSpace | ||
+ | | ln.sync.com | ||
+ | | ln2.sync.com = Sync | ||
+ | | dl1.getuploader.com | ||
+ | | s000.tinyupload.com = TinyUpload | ||
+ | | tock.es = tock.es | ||
+ | | ux.getuploader.com = uploader.jp | ||
+ | | vnight-studios.xyz = Virtual Night Studio's | ||
+ | | download.wiimm.de = wiimm.de | ||
+ | | ct.wiimm.de = Wiimm's CT-Archive | ||
+ | | youtube.com = YouTube | ||
+ | | www2.zippyshare.com = Zippyshare | ||
+ | | {{#replace:{{#replace:{{#sub:{{{1}}}|0|{{#pos:{{{1}}}|/|8}}}}|http://www.}}|http://}} | ||
+ | }}</includeonly><noinclude>Extract the server name of a URL. | ||
− | Example: < | + | Example: <code><nowiki>{{Extract-Server|http://wit.wiimm.de/wit}}</nowiki></code> |
Result: {{Extract-Server|http://wit.wiimm.de/wit}} | Result: {{Extract-Server|http://wit.wiimm.de/wit}} | ||
− | </noinclude> | + | |
+ | [[Category:Template/String Helper]]</noinclude> |
Latest revision as of 02:59, 27 March 2024
Extract the server name of a URL.
Example: {{Extract-Server|http://wit.wiimm.de/wit}}
Result: wit.wiimm.de