Difference between revisions of "Test"

From Sega Retro

 
(32 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:number|1||{{#var:value}}{{#ifeq:{{#sub:{{#var:value}}|0|2}}|((|{{#vardefine:{{#sub:{{#var:value}}|2|{{#expr:{{#len:{{#var:value}}}}-2}}}}_{{{1}}}|}}}}, }}
+
| {{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.