Utente:AXA9999/monobook.js: differenze tra le versioni
Vai alla navigazione
Vai alla ricerca
Contenuto aggiunto Contenuto cancellato
AXA9999 (rosica | curriculum) Nessun oggetto della modifica |
AXA9999 (rosica | curriculum) Nessun oggetto della modifica |
||
Riga 40: | Riga 40: | ||
disablehideEdit = 1; |
disablehideEdit = 1; |
||
} |
} |
||
// Live Preview customization, |
|||
// edit this to your own liking. |
|||
wpUserName = 'AXA9999'; // User name to display in signatures |
|||
wpShowImages = true; // Enable downloading and displaying of images |
|||
// Include Live Preview... |
|||
document.write('<script type="text/javascript" src="index.php?title=Nonciclopedia:Live_Preview/Javascript.js&action=raw&ctype=text/javascript&dontcountme=s"></script>'); |
|||
// Now set everything up |
|||
window.onload = Main; |
|||
function Main() |
|||
{ |
|||
LivePreviewInstall(); |
|||
// You may include here other "extensions" |
|||
} |
|||
/* This is to keep track of who is using the Live Preview: [[Nonciclopedia:Live Preview/Install]] */ |
|||
if (mwCustomEditButtons) { |
|||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
|||
"imageFile": "http://images.wikia.com/nonciclopedia/images/0/0c/Button_Chuck.png", |
|||
"speedTip": "Cancellazione immediata (USARE CON CAUTELA!)", |
|||
"tagOpen": "{{Cancellazione|motivo=", |
|||
"tagClose": "|firma=~~" + "~~}" + "}\n\n", |
|||
"sampleText": "Inserire qui il motivo"}; |
|||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
|||
"imageFile": "http://images.wikia.com/nonciclopedia/images/a/a5/Button_Samara.png", |
|||
"speedTip": "Articolo in scadenza", |
|||
"tagOpen": "{{scadenza|{{subst:7g}" + "}|note=", |
|||
"tagClose": "|firma=~~" + "~~}" + "}\n\n", |
|||
"sampleText": "Note"}; |
|||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
|||
"imageFile": "http://images.wikia.com/nonciclopedia/images/9/93/Button_Jessica.png", |
|||
"speedTip": "Articolo in dubbio", |
|||
"tagOpen": "{{Accusa|accusa=", |
|||
"tagClose": "|firma=~~" + "~~}" + "}\n\n", |
|||
"sampleText": "Inserire qui l'accusa"}; |
|||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
|||
"imageFile": "http://images.wikia.com/nonciclopedia/images/d/d6/E%27fiamme.png", |
|||
"speedTip": "Formattazione", |
|||
"tagOpen": "{{Formattazione|note=", |
|||
"tagClose": "|firma=--~~" + "~~}" + "}\n\n", |
|||
"sampleText": "Inserire qui cosa fare"}; |
|||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
|||
"imageFile": "http://images.wikia.com/central/images/1/12/Button_gallery.png", |
|||
"speedTip": "Galleria di immagini", |
|||
"tagOpen": "\n<gallery>\n", |
|||
"tagClose": "\n</gallery>", |
|||
"sampleText": "Immagine:Example.jpg|Caption1\nImmagine:Example.jpg|Caption2"}; |
|||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
|||
"imageFile": "http://images.wikia.com/nonciclopedia/images/3/34/Button_MrX.png", |
|||
"speedTip": "Amico immaginario", |
|||
"tagOpen": "{{BTA|firma=--~~" + "~~}" + "}\n\n", |
|||
"tagClose": "", |
|||
"sampleText": ""}; |
|||
} |
|||
disablehideEdit = 1; |
|||
disablealertLoad = 1; |
|||
disableaprilfish = 1; |
|||
addOnloadHook(function() { |
|||
if(!document.getElementById("toolbar")) return; |
|||
if(wgCurRevisionId) |
|||
mwEditButtons[9].tagOpen = '--~~' + '~~{{VF|' + wgCurRevisionId + '}' + '}'; |
|||
else |
|||
mwEditButtons[9].tagOpen = '--~~' + '~~{{VF|}' + '}'; |
|||
} |
|||
); |
Versione delle 23:19, 12 ago 2008
if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/nonciclopedia/images/0/0c/Button_Chuck.png",
"speedTip": "Cancellazione immediata (USARE CON CAUTELA!)",
"tagOpen": "{{Cancellazione|motivo=",
"tagClose": "|firma=~~" + "~~}" + "}\n\n",
"sampleText": "Inserire qui il motivo"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/nonciclopedia/images/a/a5/Button_Samara.png",
"speedTip": "Articolo in scadenza",
"tagOpen": "{{scadenza|{{subst:7g}" + "}|note=",
"tagClose": "|firma=~~" + "~~}" + "}\n\n",
"sampleText": "Note"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/nonciclopedia/images/9/93/Button_Jessica.png",
"speedTip": "Articolo in dubbio",
"tagOpen": "{{Accusa|accusa=",
"tagClose": "|firma=~~" + "~~}" + "}\n\n",
"sampleText": "Inserire qui l'accusa"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/nonciclopedia/images/0/0a/Button_sad.png",
"speedTip": "Poco umoristico",
"tagOpen": "{{APU|firma=~~" + "~~}" + "}\n\n",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/nonciclopedia/images/d/d6/E%27fiamme.png",
"speedTip": "Formattazione",
"tagOpen": "{{Formattazione|note=",
"tagClose": "|firma=--~~" + "~~}" + "}\n\n",
"sampleText": "Inserire qui cosa fare"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/nonciclopedia/images/3/34/Button_MrX.png",
"speedTip": "Amico immaginario",
"tagOpen": "{{BTA|firma=--~~" + "~~}" + "}\n\n",
"tagClose": "",
"sampleText": ""};
disablehideEdit = 1;
}
// Live Preview customization,
// edit this to your own liking.
wpUserName = 'AXA9999'; // User name to display in signatures
wpShowImages = true; // Enable downloading and displaying of images
// Include Live Preview...
document.write('<script type="text/javascript" src="index.php?title=Nonciclopedia:Live_Preview/Javascript.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// Now set everything up
window.onload = Main;
function Main()
{
LivePreviewInstall();
// You may include here other "extensions"
}
/* This is to keep track of who is using the Live Preview: [[Nonciclopedia:Live Preview/Install]] */
if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/nonciclopedia/images/0/0c/Button_Chuck.png",
"speedTip": "Cancellazione immediata (USARE CON CAUTELA!)",
"tagOpen": "{{Cancellazione|motivo=",
"tagClose": "|firma=~~" + "~~}" + "}\n\n",
"sampleText": "Inserire qui il motivo"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/nonciclopedia/images/a/a5/Button_Samara.png",
"speedTip": "Articolo in scadenza",
"tagOpen": "{{scadenza|{{subst:7g}" + "}|note=",
"tagClose": "|firma=~~" + "~~}" + "}\n\n",
"sampleText": "Note"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/nonciclopedia/images/9/93/Button_Jessica.png",
"speedTip": "Articolo in dubbio",
"tagOpen": "{{Accusa|accusa=",
"tagClose": "|firma=~~" + "~~}" + "}\n\n",
"sampleText": "Inserire qui l'accusa"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/nonciclopedia/images/d/d6/E%27fiamme.png",
"speedTip": "Formattazione",
"tagOpen": "{{Formattazione|note=",
"tagClose": "|firma=--~~" + "~~}" + "}\n\n",
"sampleText": "Inserire qui cosa fare"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/1/12/Button_gallery.png",
"speedTip": "Galleria di immagini",
"tagOpen": "\n<gallery>\n",
"tagClose": "\n</gallery>",
"sampleText": "Immagine:Example.jpg|Caption1\nImmagine:Example.jpg|Caption2"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/nonciclopedia/images/3/34/Button_MrX.png",
"speedTip": "Amico immaginario",
"tagOpen": "{{BTA|firma=--~~" + "~~}" + "}\n\n",
"tagClose": "",
"sampleText": ""};
}
disablehideEdit = 1;
disablealertLoad = 1;
disableaprilfish = 1;
addOnloadHook(function() {
if(!document.getElementById("toolbar")) return;
if(wgCurRevisionId)
mwEditButtons[9].tagOpen = '--~~' + '~~{{VF|' + wgCurRevisionId + '}' + '}';
else
mwEditButtons[9].tagOpen = '--~~' + '~~{{VF|}' + '}';
}
);