ConanWiki.org wünscht euch schöne Festtage und einen angenehmen Jahresübergang!
► Die beste Zeit zum Lesen! Los geht's! |
Benutzer:Wulf/monobook.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Inhalt hinzugefügt Inhalt gelöscht
Wulf (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Wulf (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
||
Zeile 18: | Zeile 18: | ||
div.className = "generated-sidebar portlet"; |
div.className = "generated-sidebar portlet"; |
||
var h5 = document.createElement('h5'); |
var h5 = document.createElement('h5'); |
||
− | h5.appendChild(document.createTextNode('Schnelllinks'); |
+ | h5.appendChild(document.createTextNode('Schnelllinks')); |
div.appendChild(h5); |
div.appendChild(h5); |
||
var divi = document.createElement('div'); |
var divi = document.createElement('div'); |
||
Zeile 26: | Zeile 26: | ||
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Liste_der_Anime-Episoden"; |
a.href = "/wiki/Liste_der_Anime-Episoden"; |
||
− | a.appendChild(document.createTextNode('Episodenliste'); |
+ | a.appendChild(document.createTextNode('Episodenliste')); |
li.appendChild(a); |
li.appendChild(a); |
||
− | li.appendChild(document.createTextNode(' ('); |
+ | li.appendChild(document.createTextNode(' (')); |
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Staffel_1"; |
a.href = "/wiki/Staffel_1"; |
||
− | a.appendChild(document.createTextNode('1'); |
+ | a.appendChild(document.createTextNode('1')); |
li.appendChild(a); |
li.appendChild(a); |
||
− | li.appendChild(document.createTextNode(', '); |
+ | li.appendChild(document.createTextNode(', ')); |
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Staffel_2"; |
a.href = "/wiki/Staffel_2"; |
||
− | a.appendChild(document.createTextNode('2'); |
+ | a.appendChild(document.createTextNode('2')); |
li.appendChild(a); |
li.appendChild(a); |
||
− | li.appendChild(document.createTextNode(', '); |
+ | li.appendChild(document.createTextNode(', ')); |
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Staffel_3"; |
a.href = "/wiki/Staffel_3"; |
||
− | a.appendChild(document.createTextNode('3'); |
+ | a.appendChild(document.createTextNode('3')); |
li.appendChild(a); |
li.appendChild(a); |
||
− | li.appendChild(document.createTextNode(', '); |
+ | li.appendChild(document.createTextNode(', ')); |
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Staffel_4"; |
a.href = "/wiki/Staffel_4"; |
||
− | a.appendChild(document.createTextNode('4'); |
+ | a.appendChild(document.createTextNode('4')); |
li.appendChild(a); |
li.appendChild(a); |
||
− | li.appendChild(document.createTextNode(', '); |
+ | li.appendChild(document.createTextNode(', ')); |
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Vorlage:Staffel_5"; |
a.href = "/wiki/Vorlage:Staffel_5"; |
||
− | a.appendChild(document.createTextNode('5'); |
+ | a.appendChild(document.createTextNode('5')); |
li.appendChild(a); |
li.appendChild(a); |
||
− | li.appendChild(document.createTextNode(', '); |
+ | li.appendChild(document.createTextNode(', ')); |
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Vorlage:Staffel_6"; |
a.href = "/wiki/Vorlage:Staffel_6"; |
||
− | a.appendChild(document.createTextNode('6'); |
+ | a.appendChild(document.createTextNode('6')); |
li.appendChild(a); |
li.appendChild(a); |
||
− | li.appendChild(document.createTextNode(', '); |
+ | li.appendChild(document.createTextNode(', ')); |
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Vorlage:Staffel_7"; |
a.href = "/wiki/Vorlage:Staffel_7"; |
||
− | a.appendChild(document.createTextNode('7'); |
+ | a.appendChild(document.createTextNode('7')); |
li.appendChild(a); |
li.appendChild(a); |
||
− | li.appendChild(document.createTextNode(', '); |
+ | li.appendChild(document.createTextNode(', ')); |
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Vorlage:Staffel_8"; |
a.href = "/wiki/Vorlage:Staffel_8"; |
||
− | a.appendChild(document.createTextNode('8'); |
+ | a.appendChild(document.createTextNode('8')); |
li.appendChild(a); |
li.appendChild(a); |
||
− | li.appendChild(document.createTextNode(')'); |
+ | li.appendChild(document.createTextNode(')')); |
ul.appendChild(li); |
ul.appendChild(li); |
||
var li = document.createElement('li'); |
var li = document.createElement('li'); |
||
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Liste_der_Filme"; |
a.href = "/wiki/Liste_der_Filme"; |
||
− | a.appendChild(document.createTextNode('Filme'); |
+ | a.appendChild(document.createTextNode('Filme')); |
li.appendChild(a); |
li.appendChild(a); |
||
− | li.appendChild(document.createTextNode(', '); |
+ | li.appendChild(document.createTextNode(', ')); |
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Liste_der_Original_Video_Animations"; |
a.href = "/wiki/Liste_der_Original_Video_Animations"; |
||
− | a.appendChild(document.createTextNode('OVAs'); |
+ | a.appendChild(document.createTextNode('OVAs')); |
li.appendChild(a); |
li.appendChild(a); |
||
ul.appendChild(li); |
ul.appendChild(li); |
||
Zeile 84: | Zeile 84: | ||
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Professor_Agasas_Erfindungen"; |
a.href = "/wiki/Professor_Agasas_Erfindungen"; |
||
− | a.appendChild(document.createTextNode('Professor Agasas Erfindungen'); |
+ | a.appendChild(document.createTextNode('Professor Agasas Erfindungen')); |
li.appendChild(a); |
li.appendChild(a); |
||
ul.appendChild(li); |
ul.appendChild(li); |
||
Zeile 90: | Zeile 90: | ||
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Spezial:Letzte_Änderungen"; |
a.href = "/wiki/Spezial:Letzte_Änderungen"; |
||
− | a.appendChild(document.createTextNode('Letzte Änderungen'); |
+ | a.appendChild(document.createTextNode('Letzte Änderungen')); |
li.appendChild(a); |
li.appendChild(a); |
||
ul.appendChild(li); |
ul.appendChild(li); |
||
Zeile 96: | Zeile 96: | ||
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Spezial:Fehlende Dateien"; |
a.href = "/wiki/Spezial:Fehlende Dateien"; |
||
− | a.appendChild(document.createTextNode('Fehlende Dateien'); |
+ | a.appendChild(document.createTextNode('Fehlende Dateien')); |
li.appendChild(a); |
li.appendChild(a); |
||
ul.appendChild(li); |
ul.appendChild(li); |
||
Zeile 102: | Zeile 102: | ||
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Detektivconan-Wiki:Legende_(Geschichte)"; |
a.href = "/wiki/Detektivconan-Wiki:Legende_(Geschichte)"; |
||
− | a.appendChild(document.createTextNode('Legende Geschichte'); |
+ | a.appendChild(document.createTextNode('Legende Geschichte')); |
li.appendChild(a); |
li.appendChild(a); |
||
ul.appendChild(li); |
ul.appendChild(li); |
||
Zeile 108: | Zeile 108: | ||
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/Kategorie:DC-Wiki:Team_Bilder"; |
a.href = "/wiki/Kategorie:DC-Wiki:Team_Bilder"; |
||
− | a.appendChild(document.createTextNode('Team Bilder Bausteine'); |
+ | a.appendChild(document.createTextNode('Team Bilder Bausteine')); |
li.appendChild(a); |
li.appendChild(a); |
||
ul.appendChild(li); |
ul.appendChild(li); |
||
Zeile 114: | Zeile 114: | ||
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/DetektivConan-Wiki:Beitragszahlen"; |
a.href = "/wiki/DetektivConan-Wiki:Beitragszahlen"; |
||
− | a.appendChild(document.createTextNode('Beitragszahlen-Liste'); |
+ | a.appendChild(document.createTextNode('Beitragszahlen-Liste')); |
li.appendChild(a); |
li.appendChild(a); |
||
ul.appendChild(li); |
ul.appendChild(li); |
||
Zeile 120: | Zeile 120: | ||
var a = document.createElement('a'); |
var a = document.createElement('a'); |
||
a.href = "/wiki/DetektivConan-Wiki:Team_Inhalt/Status_der_Episoden-Artikel"; |
a.href = "/wiki/DetektivConan-Wiki:Team_Inhalt/Status_der_Episoden-Artikel"; |
||
− | a.appendChild(document.createTextNode('Status der Episoden'); |
+ | a.appendChild(document.createTextNode('Status der Episoden')); |
li.appendChild(a); |
li.appendChild(a); |
||
ul.appendChild(li); |
ul.appendChild(li); |
Version vom 3. April 2010, 15:16 Uhr
function showSpoilerByWulf() { var els = document.getElementsByTagName('*'); var pattern1 = new RegExp("(^|\\s)jp(\\s|$)"); var pattern2 = new RegExp("(^|\\s)de(\\s|$)"); for (i = 0; i < els.length; i++) { if ( pattern1.test(els[i].className) ) { els[i].style.display = ''; } if ( pattern2.test(els[i].className) ) { els[i].style.display = 'none'; } } } addOnloadHook(showSpoilerByWulf); function addFastLinks() { var div = document.createElement('div'); div.className = "generated-sidebar portlet"; var h5 = document.createElement('h5'); h5.appendChild(document.createTextNode('Schnelllinks')); div.appendChild(h5); var divi = document.createElement('div'); divi.className = "pBody"; var ul = document.createElement('ul'); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Liste_der_Anime-Episoden"; a.appendChild(document.createTextNode('Episodenliste')); li.appendChild(a); li.appendChild(document.createTextNode(' (')); var a = document.createElement('a'); a.href = "/wiki/Staffel_1"; a.appendChild(document.createTextNode('1')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Staffel_2"; a.appendChild(document.createTextNode('2')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Staffel_3"; a.appendChild(document.createTextNode('3')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Staffel_4"; a.appendChild(document.createTextNode('4')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Vorlage:Staffel_5"; a.appendChild(document.createTextNode('5')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Vorlage:Staffel_6"; a.appendChild(document.createTextNode('6')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Vorlage:Staffel_7"; a.appendChild(document.createTextNode('7')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Vorlage:Staffel_8"; a.appendChild(document.createTextNode('8')); li.appendChild(a); li.appendChild(document.createTextNode(')')); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Liste_der_Filme"; a.appendChild(document.createTextNode('Filme')); li.appendChild(a); li.appendChild(document.createTextNode(', ')); var a = document.createElement('a'); a.href = "/wiki/Liste_der_Original_Video_Animations"; a.appendChild(document.createTextNode('OVAs')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Professor_Agasas_Erfindungen"; a.appendChild(document.createTextNode('Professor Agasas Erfindungen')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Spezial:Letzte_Änderungen"; a.appendChild(document.createTextNode('Letzte Änderungen')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Spezial:Fehlende Dateien"; a.appendChild(document.createTextNode('Fehlende Dateien')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Detektivconan-Wiki:Legende_(Geschichte)"; a.appendChild(document.createTextNode('Legende Geschichte')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/Kategorie:DC-Wiki:Team_Bilder"; a.appendChild(document.createTextNode('Team Bilder Bausteine')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/DetektivConan-Wiki:Beitragszahlen"; a.appendChild(document.createTextNode('Beitragszahlen-Liste')); li.appendChild(a); ul.appendChild(li); var li = document.createElement('li'); var a = document.createElement('a'); a.href = "/wiki/DetektivConan-Wiki:Team_Inhalt/Status_der_Episoden-Artikel"; a.appendChild(document.createTextNode('Status der Episoden')); li.appendChild(a); ul.appendChild(li); divi.appendChild(ul); div.appendChild(divi); document.getElementById('column-one').insertBefore(div,document.getElementById('p-Navigation')); } addOnloadHook(addFastLinks);