Utenti:Sarvaturi/Còdici monobook.js (Meta Spacebirdy version)
Apparenza
//
mw.loader.load(
'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript&dontcountme=s');
//
//document.write('<script type="text/javascript" src="' // + 'http://en.wikipedia.org/w/index.php?title=User:Zocky/SearchBox.js' // + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//------------------------------------------------ // versión 15:33 23 ago, 2004 Basada en // v0.2:2004.07.30 // a su vez basada en // // Para más detalles véase //------------------------------------------------
/*********** Botonera ***********/
function loadButtons() {
var buttons = '
';
/* Botón WEI */
buttons += '<a class="mybutton" title="wei: selecciona antes el texto a resaltar" href="javascript:ponWEI()" style="background:gold" >:\)
</a>';
/* Botón underl ;) */
buttons += '<a class="mybutton" title="Código para escribir texto subrayado" href="javascript:underl()" style="background:skyblue">u
</a>';
/* Botón small */
buttons += '<a class="mybutton" title="Código para escribir texto en letra pequeña" href="javascript:small()" style="background:lightskyblue">p
</a>';
/* Botón big */
buttons += '<a class="mybutton" title="Código para escribir texto en letra grande" href="javascript:big()" style="background:deepskyblue">G
</a>';
/* Botón strike */
buttons += '<a class="mybutton" title="Código para escribir texto tachado" href="javascript:strike()" style="background:dodgerblue">t
</a>';
/* Botón hola-es */
buttons += '<a class="mybutton" title="bienvenido" href="javascript:hola()" style="background:mistyrose">B
</a>';
/* Botón prueba-es */
buttons += '<a class="mybutton" title="prueba" href="javascript:prueba()" style="background:lavenderblush">P
</a>';
/* Botón hola */
buttons += '<a class="mybutton" title="Hallo" href="javascript:hallo()" style="background:mistyrose">H
</a>';
/* Botón prueba */
buttons += '<a class="mybutton" title="Test" href="javascript:test()" style="background:lavenderblush">T
</a>';
/* Botón kat */
buttons += '<a class="mybutton" title="Fallbeyging" href="javascript:ponKat()" style="background:lightcoral">F
</a>';
/* Botón subst */
buttons += '<a class="mybutton" title="Baustein mit subst" href="javascript:ponSubst()" style="background:lightgrey">{}
</a>';
/* Botón Contribs. */
buttons += '<a class="mybutton" title="Special:Contributions" href="javascript:spContrib()" style="background:silver">C
</a>';
/* Botón clearall. */
buttons += '<a class="mybutton" title="clearall" href="javascript:clearAll()" style="background:WhiteSmoke">/
</a>';
/* Botón sigh */
buttons += '<a class="mybutton" title="sig" href="javascript:ponSig()" style="background:thistle">~
</a>';
/* Botón Uetrad */
buttons += '<a class="mybutton" title="Ü" href="javascript:Uetrad()" style="background:lightsteelblue">*
</a>';
/* Botón iswikt: Önnur orð með sömu fallbeygingu */
buttons += '<a class="mybutton" title="Önnur orð" href="javascript:oennurOrd()" style="background:azure">Ö
</a>';
/* Botón iswikt: sagnbeyging */
buttons += '<a class="mybutton" title="sagnbeyging" href="javascript:sagnBeyging()" style="background:lightcyan">S
</a>';
/* Botón iswikt: lýsingarorðsbeyging */
buttons += '<a class="mybutton" title="lýsingarorðsbeyging" href="javascript:advBeyging()" style="background:lightcyan">L
</a>';
/* Botón iswikt: ref-icelandiconlinedictionary */
buttons += '<a class="mybutton" title="Icelandic Online Dictionary" href="javascript:iceOnline()" style="background:paleturquoise">1
</a>';
/* Botón iswikt: ref-orðabanki */
buttons += '<a class="mybutton" title="Orðabanki" href="javascript:ordabanki()" style="background:paleturquoise">2
</a>';
buttons += '';
var toolbox = document.getElementById("p-navigation");
toolbox.innerHTML += '
Mi botonera
'+buttons;
}
function ponWEI()
{insertTags('','
',);}
function underl () {insertTags('','',);}
function small () {insertTags('','',);}
function big () {insertTags('','',);}
function strike () {insertTags('','',);}
function hola () {insertTags('{{subst:Bienvenido usuario','}}',);}
function prueba () {insertTags('{{subst:Prueba','}}',);}
function hallo () {insertTags('{{subst:Hallo','}}',);}
function test () {insertTags('{{subst:Test','}}',);}
function ponKat () {insertTags('Template:Fallbeyging ','',);}
function ponSubst () {insertTags('{{subst:','}}',);}
function spContrib () {insertTags('Special:Contributions/','',);}
function clearAll () {insertTags('
',);}
function ponSig () {insertTags('--~~','~~',);}
function Uetrad () {insertTags('*islannisi: [1] ',' → is
',);}
function oennurOrd () {insertTags('Önnur orð með sömu fallbeygingu',);}
function sagnBeyging () {insertTags('Template:Sagnbeyging',);}
function advBeyging () {insertTags('Template:-is-lýsingarorðsbeyging-\n',);}
function iceOnline () {insertTags('Template:Ref-IcelandicOnlineDictionary\n',);}
function ordabanki () {insertTags('Template:Ref-Orðabanki',);}
/******* from Connel ****/
function addLoadEvent(func) {
if (window.addEventListener) window.addEventListener("load", func, false); else if (window.attachEvent) window.attachEvent("onload", func);
}
addLoadEvent( loadButtons );
/*********** Fin botonera ************/