Jump to content

User:Casper2k3/Javascript/userwarnbutton.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
//<nowiki>
$(function (){
  //Add the links
  if (location.href.indexOf("&action=edit&issuewarn=") == -1) return; //Are we here to issue a warning?
  //Get new warning
  warnRegExp = /&action=edit&issuewarn=(.*)/;
  warning = warnRegExp.exec(location.href)[1];
  //Modify the form
document.getElementById('wpSummary').value = "User given warning {{" + warning + "}} by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
document.getElementById('wpTextbox1').value +=  "\n{{sub" + "st:User:Casper2k3/Templates/" + warning + ".js}}{{sub" + "st:" + warning + "}}--~" + "~" + "~" + "~";
document.getElementById('editform').submit();

});

$(function (){
  //Add the links
  if (location.href.indexOf("&action=edit&issuewarnanonvandal") == -1) return; //Are we here to issue a warning?
  //Get new warning
  //Modify the form
document.getElementById('wpSummary').value = "User given warning {{Anon vandal}} by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
document.getElementById('wpTextbox1').value +=  "\n{{sub" + "st:User:Casper2k3/Templates/Anon_vandal.js}}{{sub" + "st:Anon vandal}}--~" + "~" + "~" + "~";
document.getElementById('editform').submit();

});


$(function (){
  //Add the links
  if (location.href.indexOf("&action=edit&issuewarnanonvandalnamed") == -1) return; //Are we here to issue a warning?
  //Get new warning
var urlArticle = prompt("What is article name?");
if(urlArticle == "" || urlArticle == null){
alert ("You didn't enter the name of the page! Warning cancelled.")
 return;
}
  //Modify the form
document.getElementById('wpSummary').value = "User given warning {{Anon vandal|" + urlArticle + "}} by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
document.getElementById('wpTextbox1').value +=  "\n{{sub" + "st:User:Casper2k3/Templates/Anon_vandal-n.js|" + urlArticle + "}}{{sub" + "st:Anon vandal-n|" + urlArticle+ "}}--~" + "~" + "~" + "~";
document.getElementById('editform').submit();

});

$(function (){
  //Add the links
  if (location.href.indexOf("&action=edit&issuewarnnamed=") == -1) return; //Are we here to issue a warning?
  //Get new warning
  warnRegExp = /&action=edit&issuewarnnamed=(.*)/;
var urlArticle = prompt("What is article name?");
if(urlArticle == "" || urlArticle == null){
alert ("You didn't enter the name of the page! Warning cancelled.")
 return;
}
  warning = warnRegExp.exec(location.href)[1];
  //Modify the form
document.getElementById('wpSummary').value = "User given warning {{" + warning + "|" + urlArticle + "}} by [[User:Casper2k3|Casper2k3]] ([[WP:RCP]])";
document.getElementById('wpTextbox1').value +=  "\n{{sub" + "st:User:Casper2k3/Templates/" + warning + ".js|" + urlArticle + "}}{{sub" + "st:" + warning + "|" + urlArticle+ "}}--~" + "~" + "~" + "~";
document.getElementById('editform').submit();

});

var warnUrl = "http://en.wikipedia.org/w/index.php?title=User_talk:" + wgTitle + "&action=edit&issuewarn=";
var warnUrlAnonvandal = "http://en.wikipedia.org/w/index.php?title=User_talk:" + wgTitle + "&action=edit&issuewarnanonvandal";
var warnUrlAnonvandalNamed = "http://en.wikipedia.org/w/index.php?title=User_talk:" + wgTitle + "&action=edit&issuewarnanonvandalnamed";
var warnUrlNamed = "http://en.wikipedia.org/w/index.php?title=User_talk:" + wgTitle + "&action=edit&issuewarnnamed=";

function userWarnButton(){
document.getElementById('jsArticleMessageBox').innerHTML = '<b>Issue warning:</b>&nbsp;<form name="wikiX" action="" method="get"><INPUT TYPE="button" NAME="button" Value="Named Warning" onClick="userWarnButtonNamed()" class="button"><INPUT TYPE="button" NAME="button" Value="Unnamed Warning" onClick="userWarnButtonUnnamed()" class="button"></FORM><div id="jsUserWarnMessageBox"></div>';
};

function userWarnButtonUnnamed(){
document.getElementById('jsArticleMessageBox').innerHTML = '<form name="wikiX" action="" method="get"><INPUT TYPE="button" NAME="button" Value="Named Warning" onClick="userWarnButtonNamed()" class="button"><INPUT TYPE="button" NAME="button" Value="Unnamed Warning" onClick="userWarnButtonUnnamed()" class="button"></FORM><b>Issue Unnamed warning:</b>&nbsp;<div id="jsUserWarnMessageBox"></div>';
document.getElementById('jsUserWarnMessageBox').innerHTML = '<div style="background-color:red; -moz-border-radius:15px;">&nbsp;Unnamed warnings:</div><div style="background-color:yellow; -moz-border-radius:15px;">&nbsp;[Generic]: <a href="' + warnUrl + 'Test"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Test2"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test2" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Test3"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test3" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Test4"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test4" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Self Reverted]: <a href="' + warnUrl + 'Test-self"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test-self" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Blatant Vandal]: <a href="' + warnUrl + '	Vw"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Vw" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Blatantvandal"><font color="#0000FF">Final Warning (4)</font></a><sup>(Maybe give t4 after this)(<a href="http://en.wikipedia.org/wiki/Template:Blatantvandal" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Test4im"><font color="#0000FF">Only Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test4im" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlAnonvandal + '"><font color="#0000FF">Anon Vandal Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Anon vandal" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Obscene"><font color="#0000FF">Obscene  Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Obscene" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Removing Content]: <a href="' + warnUrl + 'Test1a"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test1a" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Test2a"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test2a" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Test3a"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test3a" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Test4a"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test4a" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Blanking Pages]: <a href="' + warnUrl + 'Blank1"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Blank1" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Blank2"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Blank2" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Blank3"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Blank3" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Blank4"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Blank4" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Multiple IPs]: <a href="' + warnUrl + 'MultipleIPs"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:MultipleIPs" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Spam]: <a href="' + warnUrl + 'Spam1"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Spam1" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Spam2"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Spam2" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Spam3"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Spam3" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Spam4"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Spam4" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Spam4im"><font color="#0000FF">Only Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Spam4im" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[User Page Vandal]: <a href="' + warnUrl + 'Tpv1"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Tpv1" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Tpv2"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Tpv2" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Tpv3"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Tpv3" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Tpv4"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Tpv4" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Removing Warnings]: <a href="' + warnUrl + 'Wr0"><font color="#0000FF">Good Faith (0)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Wr0" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Wr"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Wr" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Wr3"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Wr3" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Wr4"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Wr4" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Creating Inappropriate Pages]: <a href="' + warnUrl + 'Test1article"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test1article" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Test2article"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test2article" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Test3article"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test3article" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Test4article"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test4article" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Non-notable Meterial]: <a href="' + warnUrl + 'Nn-test"><font color="#0000FF">Test (0)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:nn-test" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Nn-warn"><font color="#0000FF">Speedy (0)</font></a><sup>(Named only)(<a href="http://en.wikipedia.org/wiki/Template:nn-warn" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Removing Talk Comments]: <a href="' + warnUrlNamed + 'TestTalk"><font color="#0000FF">Warning (3)</font></a><sup>(Named Only)(<a href="http://en.wikipedia.org/wiki/Template:TestTalk" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[No personal Attacks]: <a href="' + warnUrl + 'Npa2"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Npa2" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Npa3"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:npa3" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Npa4"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:npa4" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Defamation]: <a href="' + warnUrl + 'Defwarn"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Defwarn" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Legal Threat]: <a href="' + warnUrl + 'Threat2"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Threat2" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Threat4"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Threat4" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Removing AfD]: <a href="' + warnUrl + 'Drmafd"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmafd" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Drmafd2"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmafd2" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Drmafd3"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmafd3" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Drmafd4"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmafd4" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Removing Speedies]: <a href="' + warnUrl + 'Drmspeedy"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmspeedy" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Drmspeedy2"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmspeedy2" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Drmspeedy3"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmspeedy3" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Drmspeedy4"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmspeedy4" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Removing Maintainence Notices]: <a href="' + warnUrl + 'Drmmt"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmmt" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[NPOV]: <a href="' + warnUrl + 'NPOV0"><font color="#0000FF">Good Faith (0)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:NPOV0" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Comment2"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Comment2" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Comment3"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Comment3" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Comment4"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Comment4" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Misinformation]: <a href="' + warnUrl + 'Verror"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Verror" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Verror2"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Verror2" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Verror3"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Verror3" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Verror4"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Verror4" target="_blank"><font color="#0000FF">+</font></a>)</sup><br></div>';
};



function userWarnButtonNamed(){
document.getElementById('jsArticleMessageBox').innerHTML = '<form name="wikiX" action="" method="get"><INPUT TYPE="button" NAME="button" Value="Named Warning" onClick="userWarnButtonNamed()" class="button"><INPUT TYPE="button" NAME="button" Value="Unnamed Warning" onClick="userWarnButtonUnnamed()" class="button"></FORM><b>Issue Named warning:</b>&nbsp;<div id="jsUserWarnMessageBox"></div>';
document.getElementById('jsUserWarnMessageBox').innerHTML = '<div style="background-color:red; -moz-border-radius:15px;">&nbsp;Named warnings:</div><div style="background-color:yellow; -moz-border-radius:15px;">&nbsp;[Generic]: <a href="' + warnUrlNamed + 'Test-n"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/User:Casper2k3/Templates/Test-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Test2-n"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/User:Casper2k3/Templates/Test2-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Test3-n"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/User:Casper2k3/Templates/Test3-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Test4-n"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/User:Casper2k3/Templates/Test4-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Self Reverted]: <a href="' + warnUrlNamed + 'Test-self-n"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test-self-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Blatant Vandal]: <a href="' + warnUrlNamed + '	Vw-n"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Vw-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Blatantvandal-n"><font color="#0000FF">Final Warning (4)</font></a><sup>(Maybe give t4 after this)(<a href="http://en.wikipedia.org/wiki/Template:Blatantvandal-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Test4im-n"><font color="#0000FF">Only Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test4im-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlAnonvandalNamed + '"><font color="#0000FF">Anon Vandal Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Anon vandal-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Obscene-n"><font color="#0000FF">Obscene  Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Obscene-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Removing Content]: <a href="' + warnUrlNamed + 'Test1a-n"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test1a-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Test2a-n"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test2a-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Test3a-n"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test3a-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Test4a-n"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test4a-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Blanking Pages]: <a href="' + warnUrlNamed + 'Blank1-n"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Blank1-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Blank2-n"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Blank2-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Blank3-n"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Blank3-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Blank4-n"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Blank4-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Multiple IPs]: <a href="' + warnUrlNamed + 'MultipleIPs"><font color="#0000FF">Warning (3)</font></a><sup>(Unnamed only)(<a href="http://en.wikipedia.org/wiki/Template:MultipleIPs-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Spam]: <a href="' + warnUrlNamed + 'Spam1-n"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Spam1-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Spam2-n"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Spam2-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Spam3-n"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Spam3-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Spam4-n"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Spam4-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Spam4im-n"><font color="#0000FF">Only Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Spam4im-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[User Page Vandal]: <a href="' + warnUrlNamed + 'Tpv1-n"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Tpv1-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Tpv2-n"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Tpv2-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Tpv3-n"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Tpv3-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Tpv4-n"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Tpv4-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Removing Warnings]: <a href="' + warnUrl + 'Wr0"><font color="#0000FF">Good Faith (0)</font></a><sup>(Unnamed only)(<a href="http://en.wikipedia.org/wiki/Template:Wr0" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Wr"><font color="#0000FF">Note (1)</font></a><sup>(Unnamed only)(<a href="http://en.wikipedia.org/wiki/Template:Wr" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Wr3"><font color="#0000FF">Warning (3)</font></a><sup>(Unnamed only)(<a href="http://en.wikipedia.org/wiki/Template:Wr3" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Wr4"><font color="#0000FF">Final Warning (4)</font></a><sup>(Unnamed only)(<a href="http://en.wikipedia.org/wiki/Template:Wr4" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Creating Inappropriate Pages]: <a href="' + warnUrlNamed + 'Test1article-n"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test1article-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Test2article-n"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test2article-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Test3article-n"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test3article-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Test4article-n"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Test4article-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Non-notable Meterial]: <a href="' + warnUrlNamed + 'Nn-test-n"><font color="#0000FF">Test (0)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:nn-test" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Nn-warn"><font color="#0000FF">Speedy (0)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:nn-warn" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Removing Talk Comments]: <a href="' + warnUrlNamed + 'TestTalk"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:TestTalk" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[No personal Attacks]: <a href="' + warnUrlNamed + 'Npa2-n"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Npa2-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Npa3-n"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:npa3-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Npa4-n"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:npa4-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Defamation]: <a href="' + warnUrl + 'Defwarn"><font color="#0000FF">Final Warning (4)</font></a><sup>(Unnamed Only)(<a href="http://en.wikipedia.org/wiki/Template:Defwarn" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Legal Threat]: <a href="' + warnUrl + 'Threat2"><font color="#0000FF">Caution (2)</font></a><sup>(Unnamed Only)(<a href="http://en.wikipedia.org/wiki/Template:Threat2" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrl + 'Threat4"><font color="#0000FF">Final Warning (4)</font></a><sup>(Unnamed Only)(<a href="http://en.wikipedia.org/wiki/Template:Threat4" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Removing AfD]: <a href="' + warnUrlNamed + 'Drmafd-n"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmafd-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Drmafd2-n"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmafd2-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Drmafd3-n"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmafd3-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Drmafd4-n"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmafd4-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Removing Speedies]: <a href="' + warnUrlNamed + 'Drmspeedy-n"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmspeedy-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Drmspeedy2-n"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmspeedy2-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Drmspeedy3-n"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmspeedy3-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Drmspeedy4-n"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmspeedy4-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Removing Maintainence Notices]: <a href="' + warnUrlNamed + 'Drmmt-n"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Drmmt-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[NPOV]: <a href="' + warnUrlNamed + 'NPOV0-n"><font color="#0000FF">Good Faith (0)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:NPOV0-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Comment2-n"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Comment2-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Comment3-n"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Comment3-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Comment4-n"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Comment4-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br>&nbsp;[Misinformation]: <a href="' + warnUrlNamed + 'Verror-n"><font color="#0000FF">Note (1)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Verror-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Verror2-n"><font color="#0000FF">Caution (2)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Verror2-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Verror3-n"><font color="#0000FF">Warning (3)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Verror3-n" target="_blank"><font color="#0000FF">+</font></a>)</sup> - <a href="' + warnUrlNamed + 'Verror4-n"><font color="#0000FF">Final Warning (4)</font></a><sup>(<a href="http://en.wikipedia.org/wiki/Template:Verror4-n" target="_blank"><font color="#0000FF">+</font></a>)</sup><br></div>';
};
//</nowiki>