:User:ClueBot II/sandbox.js

......................................

... Sandbox cleaner script by Cobi ...

......................................

...............................

... Define the sandbox text ...

..............................;

set %sbt

'{{Please leave this line alone (sandbox heading)}}

';

...............................

....................................

... Define the introduction text ...

...................................;

set %int

'{{Please leave this line alone}}

';

....................................

....................................

... Define the X# template texts ...

...................................;

set %xxt

'

This sandbox is itself a template. This sandbox is for experimenting with templates.

{{Please leave this line alone (template sandbox heading)}}

If you defined parameters such as {{Template sandbox|First|Second|name="Named"}}:

;First:{{{1}}}

;Second:{{{2}}}

;Name:{{{name}}}

----

';

....................................

................................

... Define the template text ...

...............................;

set %tst

'

This sandbox is itself a template. This sandbox is for experimenting with templates.

{{Please leave this line alone (template sandbox heading)}}

If you defined parameters such as {{Template sandbox|First|Second|name="Named"}}:

;First:{{{1}}}

;Second:{{{2}}}

;Name:{{{name}}}

----';

................................

................................

... Define the tutorial text ...

...............................;

set %tut

'{{Please leave this line alone (tutorial sandbox heading)}}

';

................................

...............................

... Define the edit summary ...

..............................;

set %es

'Clearing sandboxes. (bot)';

...............................

.....................

... Set the pages ...

....................;

pageset 'Wikipedia:Sandbox' %sbt %es;

.pageset 'Wikipedia:Introduction' %int %es;

pageset 'Template:X1' %xxt %es;

pageset 'Template:X2' %xxt %es;

pageset 'Template:X3' %xxt %es;

pageset 'Template:X4' %xxt %es;

pageset 'Template:X5' %xxt %es;

pageset 'Template:X6' %xxt %es;

pageset 'Template:X7' %xxt %es;

pageset 'Template:X8' %xxt %es;

pageset 'Template:X9' %xxt %es;

pageset 'Template:Template sandbox' %tst %es;

pageset 'Wikipedia:Tutorial (Editing)/sandbox' %tut %es;

pageset 'Wikipedia:Tutorial (Formatting)/sandbox' %tut %es;

pageset 'Wikipedia:Tutorial (Wikipedia links)/sandbox' %tut %es;

pageset 'Wikipedia:Tutorial (Citing sources)/sandbox' %tut %es;

pageset 'Wikipedia:Tutorial (Keep in mind)/sandbox' %tut %es;

.....................

...........................

... Unset our variables ...

..........................;

unset %sbt;

unset %int;

unset %xxt;

unset %tst;

unset %tut;

unset %es;

...........................

...........

... EOF ...

..........;