User:Cuckooman4/statustabs.js: Difference between revisions

Content deleted Content added
Cuckooman4 (talk | contribs)
Made script
 
Cuckooman4 (talk | contribs)
m +if(!varnamehere) for first four vars
Line 4:
//<pre><nowiki>
 
if(!statuspageurl) var statuspageurl = "Status"
if(!statustemplateurl) var statustemplateurl = "StatusTemplate"
if(!statussyntax) var statussyntax = "{{User:" + wgUserName + "/" + statustemplateurl + "|%STATUSPARAMS%}}"
if(!statustabs) var statustabs = ["on","off"]
 
addOnloadHook(