Difference between revisions of "Test"

From Sega Retro

 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*'''{{{1}}}:''' {{#fornumargs:number
+
<includeonly>{{#vardefine:t|{{#replace:{{{1|}}}|https|http}}}}{{#vardefine:i|1}}{{#while:
|value
+
| {{#vardefine:x|{{#explode:{{#var:t}}|http:|{{#var:i}}}}}}{{#var:x}}
|{{#ifeq:{{#var:number}}|1||{{#var:value}}{{#ifeq:{{#sub:{{#var:value}}|0|2}}|((|{{#vardefine:developername:{{#sub:{{#var:value}}|2|{{#expr:{{#len:{{#var:value}}}}-4}}}}}}|{{#vardefine:data_{{{1}}}|{{#var:developername}}_{{{1}}}}}}},{{#var:developername}}&nbsp;}}
+
| {{incvar|i}}&#32;
}}
+
* [http://web.archive.org/save/http:{{#var:x}} http:{{#var:x}}]
 +
}}</includeonly><noinclude>I'm using this to generate web archive links from lists of urls.
 +
 
 +
{{test|1=}}
 +
 
 +
[[Category:Experimental templates]]</noinclude>

Latest revision as of 10:34, 30 June 2019

I'm using this to generate web archive links from lists of urls.