Bearbeiten von „KIFfel:Franz/monobook.js

Aus KIF
Warnung: Du bist nicht angemeldet. Deine IP-Adresse wird bei Bearbeitungen öffentlich sichtbar. Melde dich an oder erstelle ein Benutzerkonto, damit Bearbeitungen deinem Benutzernamen zugeordnet werden. Ein eigenes Benutzerkonto hat eine ganze Reihe von Vorteilen.

Die Bearbeitung kann rückgängig gemacht werden. Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und veröffentliche dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.

Aktuelle Version Dein Text
Zeile 1: Zeile 1:
/* Jedes JavaScript hier wird für alle Benutzer für jede Seite geladen. */
/*-----------------------------------------------------------------------------------------*/
/* ACHTUNG! Common.css enthält die gemeinsamen Skin-Anpassungen der deutschsprachigen Wikipedia */
/*-----------------------------------------------------------------------------------------*/
   
   
//=============================================================
/* Common.css ist in drei grundlegende Abschnitte gegliedert: */
//*** Configuration for "star" logo in front of interwiki links to Featured Articles
   
   
/** set to false in Special:Mypage/monobook.js to switch off this "feature" */
/* 1. Editierbare Seiteninhalte */
var linkFA_enabled = true;
/* 2. Sonstige Anpassungen (Spezialseiten, u.a.) */
  /* 3. Hauptseitenspezifisches */
   
   
/** description that is displayed when cursor hovers above FA interwiki links */
/* Jede Ergänzung/Änderung muss vorher jeweils für alle Skins auf Tauglichkeit getestet werden, */
var linkFA_description = "Dieser Artikel wurde als exzellent bewertet.";
/* individuell per User.css! Ist hier erstmal geändert, dauert es dank Cache eine Weile, bis die */
/* Änderungen bei allen Nutzern sichtbar oder, bei Fehlern, korrigiert sind. */
   
   
// linkFA_bullet and linkFA_style werden nur für cologneblue, nostalgia and standard verwendet,
// für monobook und simple siehe [[MediaWiki:Common.css]]
   
   
/** image to use instead of the standard bullet (for cologneblue, nostalgia and standard */
/* +++++ 1. ANPASSUNGEN DER ANZEIGE VON EDITIERBAREN SEITENINHALTEN +++++ */
var linkFA_bullet = "http://upload.wikimedia.org/wikipedia/commons/d/d0/Monobook-bullet-star-transparent.png";
   
   
/** style to use for the linkFA_bullet img */
/* Personennamen in Kapitälchen: class="Person" */
var linkFA_style = "margin-right: 0.2em;";
   
   
/**  
.Person {
  * star logo for featured articles in other languages,
    display: inline;
  * see Template:Link_FA and MediaWiki:Common.css
    font-variant: small-caps;
  */
    font-style: normal;
addOnloadHook(function() {
}
    // early exit when disabled
    if (!linkFA_enabled) return;
/* [[Wikipedia:Zitate|Zitate]] (siehe [[Vorlage:Zitat]]) */
p.Zitat {
    font-style: normal;
    margin-bottom: 0em;
}
p.cite {
    margin-top: 0em;
    padding-left: 1em;
}
   
/* [[Wikipedia:Quellenangaben|Quellenangaben]] nicht kursiv, da sie ggf. verschiedene Bestandteile enthalten */
  cite {
    font-style: normal;
}
/* Stylesheet-Ergänzung zu Standard-[[Wikipedia:Navigationsleisten|Navigationsleisten]] */
div.BoxenVerschmelzen,
div.NavFrame {
    margin: 0px;
    padding: 2px;
    border: 1px solid #aaaaaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
        clear:both;
}
div.BoxenVerschmelzen div.NavFrame {
    border-style: none;
    border-style: hidden;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #ffffff;
    margin: 0px;
    padding: 2px;
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    font-size: 100%;
    background-color: #efefef;
}
div.NavFrame p {
    font-size: 100%;
}
div.NavFrame div.NavContent {
    font-size: 100%;
}
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
}
/* Stylesheet fuer den 'Ausklappen'-Button an Navileisten, der in [[MediaWiki:Common.js]] implementiert wird */
.NavToggle {
      font-size: x-small;
      float:right;
}
   
/* Abstand vor Navigationsleisten */
div.BoxenVerschmelzen,
div.NavFrame {
  margin-top: 1.5em;
}
div.BoxenVerschmelzen div.NavFrame {
  margin-top: 0;
}
div.NavFrame + div.NavFrame {
  margin-top: 0;
}
   
   
    // skins need to be treated differently
/* Navigationsleisten nicht mit ausdrucken */
    if (skin == "monobook" || skin == "simple") {
        newer();
    }
    else if (skin == "cologneblue" || skin == "nostalgia" || skin == "standard") {
        older();
    }
   
   
    /** skin == "monobook" || skin == "simple" */
@media print{
     function newer() {
     .NavFrame {
         // links are to replaced in p-lang only
         display: none;
        var pLang = document.getElementById("p-lang");
    }
        if (!pLang) return;
    .BoxenVerschmelzen {
        var lis = pLang.getElementsByTagName("li");
         display: none;
         for (var i = 0; i < lis.length; i++) {
            var li = lis[i];
            // only links with a corresponding Link_FA template are interesting
            if (!document.getElementById(li.className + "-fa"))  continue;
            // additional class so the template can be hidden with CSS
            li.className += " FA";
            // change title
            li.title = linkFA_description;
        }
     }
     }
}
/* Stylesheet-Ergänzung zu SideBoxen (ehedem [[Wikipedia:TownBox|TownBox]]) */
div.sideBox {
    position: relative;
    float: right;
    background: white;
    margin-left: 1em;
    border: 1px solid gray;
    padding: 0.3em;
    width: 200px;
    overflow: hidden;
    clear: right;
}
div.sideBox dl {
    padding: 0;
    margin: 0 0 0.3em 0;
    font-size: 96%;
}
div.sideBox dl dt {
    background: none;
    margin: 0.4em 0 0 0;
}
div.sideBox dl dd {
    margin: 0.1em 0 0 1.1em;
    background-color: #f3f3f3;
}
/* Stylesheet-Ergänzung zu [[Wikipedia:Taxoboxen|Taxoboxen]] */
   
   
    /** skin == "cologneblue" || skin == "nostalgia" || skin == "standard" */
table.taxobox {
    function older() {
        border-collapse: collapse;
         // these root elements can contain FA-links
        border: 1px solid gray;
         var rootIds = new Array("topbar", "footer");
        float: right;
         for (var i=0; i<rootIds.length; i++) {
        margin-left: 0.5em;
            var rootId = rootIds[i];
        background-color:white;
            var root    = document.getElementById(rootId);
}
            if (!root) continue;
table.taxobox th {
        background-color: #9BCD9B;
        border: solid 1px gray;
        text-align: center;
        font-weight: bold;
}
table.taxobox td {
         vertical-align:top;
}
table.taxobox .Person {
         font-style: normal;
}
table.taxobox div.thumb,
table.taxobox div.thumb * {
        margin: auto;
         padding: 0;
        float: none;
        border: none;
        background-color:#F9F9F9;
}
table.taxobox div.magnify {
        display: none;
}
table.taxobox tr td div.thumb div div.thumbcaption {
        text-align:center;
  }
table.taxobox td.Person {
        text-align:center;
        display:block;
}
table.taxobox td.taxo-name {
        text-align:center;
  }
table.taxobox td.taxo-bild {
        text-align:center;
}
   
   
            // if the root exists, try to decorate all the links within
/* Stylesheet-Ergänzung zu [[Wikipedia:Paläoboxen|Paläoboxen]] */
            var links   = root.getElementsByTagName("a");
            for (var j=0; j<links.length; j++) {
table.palaeobox {
                var link    = links[j];
      border-collapse: collapse;
                decorate(link);
      border: 1px solid gray;
            }
      float: right;
        }
      margin-left: 0.5em;
     }
      background-color:white;
}
table.palaeobox th {
      background-color: #e7dcc3;
      border: solid 1px gray;
      text-align: center;
      font-weight: bold;
}
table.palaeobox td {
      vertical-align:top;
}
table.palaeobox .Person {
      font-style: normal;
}
table.palaeobox div.thumb,
table.palaeobox div.thumb * {
      margin: 0;
      padding: 0;
      float: none;
      border: none;
}
table.palaeobox div.magnify {
      display:none;
}
table.palaeobox tr td div.thumb div div.thumbcaption {
      text-align:left;
}
table.palaeobox td.Person {
      text-align:center;
      display:block;
}
table.palaeobox td.taxo-name {
      text-align:center;
}
table.palaeobox td.taxo-bild {
      text-align:center;
}
table.palaeobox td.taxo-zeit {
      text-align:center;
}
table.palaeobox td.taxo-ort {
      text-align:left;
}
/* aus Vorlage zur Entlastung, skinabhängigen Darstellung und Kombinierbarkeit hierher ausgelagert */
.wikitable,
.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #AAA solid;
  border-collapse: collapse;
  empty-cells:show;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
  border: 1px #AAA solid;
  padding: 0.3em;
}
.wikitable caption,
.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
   font-weight: bold;
}
.nogrid th, .nogrid td {border: none;}
.float-left { float: left; clear: left; }
.float-right { float: right; clear: right; margin: 1em 0 1em 1em; }
.centered { margin-left: auto; margin-right: auto; }
/* Bitte KEINE weiteren Definitionen dieser Art für Boxen hier, das gehört in entsprechende Vorlagen! */
/* Hier 20 Mal Trivialitäten wie "text-align:center" zu definieren verlangsamt alles und ist nicht */
/* Sinn der Sache. (Und wer nicht weiß warum, hat's nicht verstanden.) */
/* Do not expand [[Wikipedia:WikiProjekt Georeferenzierung|kvaleberg.com-URLs]] for printing */
#content span.coordinates a.external.text:after, #content span.coordinates a.external.autonumber:after { content: ""; }
#content div.coordinates a.external.text:after, #content div.coordinates a.external.autonumber:after { content: ""; }
/* Do not expand URLs for printing */
#content span.plainlinks-print a.external.text:after, #content span.plainlinks-print a.external.autonumber:after { content: ""; }
#content div.plainlinks-print a.external.text:after, #content div.plainlinks-print a.external.autonumber:after { content: ""; }
/* Metadaten (bspw. [[Wikipedia:Personendaten|Personendaten]]) */
table.metadata {
    border: 1px solid #aaaaaa;
    display: none;
}
.metadata-label {
     color: #aaaaaa;
}
/*
  * Farbdefinitionen für Rahmen und Hintergründe von [[Wikipedia:Textbausteine|Textbausteinen]].
  * Hier: Standardvorgaben für "dunkle Schrift auf hellem Grund".
  * Für Hell-auf-dunkel-Skins ([[MediaWiki:Amethyst.css|Amethyst]]) müssen dort entsprechende Definitionen
  * zusätzlich eingetragen werden! Anpassungen für andere Skins sind optional.
  * (Die Angaben der Rahmenstärke dienen der Bequemlichkeit, so dass man
  * für dünne Rahmen nur noch "border-style" angeben muss.)
  */
   
   
    /** id necessary, modify a link to show the FA-star (older) */
.rahmenfarbe1 { /* Wie Inhaltsverzeichnis */
     function decorate(link) {
    border-color: #aaaaaa;
        // exit if not a FA-link
     border-width: 1px;
        var lang    = link.title.split(":")[0]; // not precise enough
}
        var fa      = document.getElementById("interwiki-" + lang + "-fa");
.rahmenfarbe2 { /* Unauffällig, geringer Kontrast */
        if (!fa)    return;
    border-color: #e9e9e9;
        // possible problem owing the standard skin: "Link FA" template is transcluded with a non-interwiki parameter, for example "Special"
    border-width: 1px;
        // result: links to special pages in the topbar and/or footer might also be marked as a Featured Article
}
.rahmenfarbe3 { /* "Rot", auffällig */
    border-color: #c00000;
    border-width: 1px;
}
.rahmenfarbe4 { /* Neutrale Farbe, deutlich */
    border-color: #8888aa;
    border-width: 1px;
}
.rahmenfarbe5 { /* "Schwarz", hoher Kontrast */
    border-color: #000000;
    border-width: 1px;
}
   
   
        // build an image-node for the FA-star
.hintergrundfarbe1 { /* Wie Inhaltsverzeichnis */
        var img = document.createElement("img");
    background-color: #f9f9f9;
        img.setAttribute("src",    linkFA_bullet);
}
        img.setAttribute("alt",    linkFA_description);
.hintergrundfarbe2 { /* "Weiß", für Nicht-Artikel-Seiten, neutral */
        img.setAttribute("style",   linkFA_style);
    background-color: #ffffff;
}
.hintergrundfarbe3 { /* "Gelb", auffällig */
     background-color: #ffff40;
}
.hintergrundfarbe4 { /* Sehr auffällig */
    background-color: #ffaa00;
}
.hintergrundfarbe5 { /* Neutral, abgesetzt */
    background-color: #e0e0e0;
}
.hintergrundfarbe6 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
    background-color: #b3b7ff;
}
.hintergrundfarbe7 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
    background-color: #ffcbcb;
}
.hintergrundfarbe8 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
     background-color: #ffebad;
}
.hintergrundfarbe9 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
    background-color: #b9ffc5;
}
   
   
        // decorate the link with the image
/* Keine Vergrößerung der Zeilenhöhe durch hochgestellte Zahlen der Fußnoten */
        link.appendChild(img);
        link.appendChild(link.removeChild(link.firstChild));
        link.setAttribute("title", linkFA_description);
    }
});
   
   
//==============================================================================
.reference, .references sup {
//*** Fügt einen Link "Alle Sprachen" auf der Hauptseite unter die Sprachverweise hinzu
    font-size: 91%;
    vertical-align: text-top;
    position: relative;
    top: -0.3em;
}
   
   
addOnloadHook(function() {
/* Hervorhebung der angeklickten Fußnoten und der Rückverweise in blau */
  // only on the main page
  if ( wgTitle != 'Hauptseite' || wgNamespaceNumber != 0 )    return;
   
   
  try {
ol.references > li:target {
      var node = document.getElementById( "p-lang" )
    background-color: #DEF;
                          .getElementsByTagName('div')[0]
}
                          .getElementsByTagName('ul')[0];
   
   
      var aNode = document.createElement( 'a' );
sup.reference:target {
      var liNode = document.createElement( 'li' );
    background-color: #DEF;
}
   
   
      aNode.appendChild( document.createTextNode( 'Alle Sprachen' ) );
/* Für <hiero></hiero> */
      aNode.setAttribute( 'href' , 'http://de.wikipedia.org/wiki/Wikipedia:Sprachen' );
      liNode.appendChild( aNode );
      liNode.className = 'interwiki-completelist';
      node.appendChild( liNode );
    } catch(e) {
        // lets just ignore what's happened
    }
});
   
   
.mw-hierotable { border: 0px; }
.mw-hierotable th, .mw-hierotable td { border: 0px; }
   
   
//==============================================================================
/* Für [[MediaWiki:Anoneditwarning]] */
//*** Verändert die Tabellensortierfunktion so, dass auch deutsche Tausenderpunkt und Dezimalkommata gehen
// Original aus sv.wikipedia.org
   
   
function ts_parseFloat(num) {
#mw-anon-edit-warning {
    if (!num) return 0;
background-color: #ffce7b;
    num = num.replace(/\./g, "");
border: 1px solid #ffa500;
    num = num.replace(/,/, ".");
color: black;
    num = parseFloat(num);
font-weight: bold;
    return (isNaN(num) ? 0 : num);
margin: 2em 0 1em;
padding: .5em 1em;
vertical-align: middle;
}
}
   
   
//==============================================================================
/* +++++ 2. SONSTIGE ANPASSUNGEN (Spezialseiten u. a.) +++++ */
//*** forcePreview: erzwungene vorschau für IPs
/* Markierung von Redirects in [[Special:Allpages]], [[Special:Watchlist]], Kategorien */
.allpagesredirect {
        font-style: italic;
}
.watchlistredir {
        font-style: italic;
}
.redirect-in-category {
        font-style: italic;
}
/* Einmal gelesene Bestandteile (z.B. in der Sitenotice) ausblenden, sobald css geladen ist */
#gelesen {
        display:none;
}
/* Größerer Abstand zwischen TOC-Nummerierung und TOC-Eintrag */
span.tocnumber {margin-right:0.3em;}
/* Skinabhängige absolute Positionierungen ausblenden */
/* Bitte [[MediaWiki Diskussion:Common.css#Absolute_Positionierungen]] beachten */
#coordinates_3_ObenRechts, #issnlink, #editcount, #shortcut, #artikelstadium {
    display: none;
}
  /* CommonsTicker styles */
  .tickerList ul,    .tickerList ul li    { list-style: none; text-indent:-2em; margin-left:2em;  text-align:left; }
  .tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0;    margin-left:1.5em; text-align:left; }
  .tickerAction_deleted:before    { content:" WEG "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; }
  .tickerAction_restored:before    { content:" RST "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
  .tickerAction_replaced:before    { content:" ERS "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; }
  .tickerAction_addedTag:before    { content:" +LA "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
  .tickerAction_removedTag:before  { content:" -LA "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
  .tickerAction_addedBad:before    { content:" +LA "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
  .tickerAction_removedBad:before  { content:" -LA "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
  .tickerAction_addedGood:before  { content:" +OK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
  .tickerAction_removedGood:before { content:" -OK "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
  .tickerUsage  { font-size:80%; }  /* ticker usage list */
  .tickerTemplateEntry    { font-weight: bold; } /* entry applies to a template used by multiple images */
  /* per-status styles  */ 
  .tickerStatus_done:before {content:" Fixed "; color: #00AA00; font-family:monospace; font-weight:bold; font-size:90%; text-decoration: none;}
  .tickerStatus_done { text-decoration:line-through; font-size: small; }
   
   
/*
  /* strike through when entry has been handeled (done) */
  * Zwingt IPs zuerst die Vorschau zu benutzen, bevor sie speichern können.
  /*.tickerStatus_done .tickerAction_deleted:before  { content:" "; text-decoration: none;}*/
  * Copyright Marc Mongenet, 2006 aus frwp
  .tickerStatus_done .tickerAction_deleted:before  { text-decoration: none; }
  /* local reupload */ 
  .tickerStatus_local {text-decoration:line-through; font-size: small; }
  .tickerStatus_local .tickerAction_deleted:before {content:" "; text-decoration: none;}
  .tickerStatus_local:before { content:" re-uploaded locally "; color: #00AA00; font-family:monospace; font-weight:bold; font-size:90%; text-decoration: none;}
  /* in process of fixing */
  .tickerStatus_fixing .tickerAction_deleted:before  {content:" "; text-decoration: none;}
  .tickerStatus_fixing:before {content:"fixing"; color: #FF8800; font-family:monospace; font-weight:bold; font-size:90%;}
  /* Won'tfix */
  .tickerStatus_wontfix .tickerAction_deleted:before  {text-decoration: none;}
  .tickerStatus_wontfix {text-decoration: line-through;}
  .tickerStatus_wontfix:before {content:"Will not fix"; color: #CC0000; font-family:monospace; font-weight:bold; font-size:90%;text-decoration:none;} 
  /* similiar */
  .tickerStatus_similiar .tickerAction_deleted:before  {text-decoration: none;}
  .tickerStatus_similiar {text-decoration: line-through;}
  .tickerStatus_similiar:before {content:"REPL Article;no fix"; color: #FF4400; font-family:monospace; font-weight:bold; font-size:90%;text-decoration:none;}
  /* NA */
  .tickerStatus_NA .tickerAction_deleted:before  {text-decoration: none;}
  .tickerStatus_NA:before {content:"No NEG"; color: #00FF20;}
  ul span.tickerStatus_NA + ul span.tickerUsage {display:none;}
  span.tickerStatus_NA  span.tickerUsage {display:none;}
  /*Needed so that both subentrys and non-subentrys both are invisivble */
/* Anpassungen für [[:Template:Link_FA]] */
/* hide the template */
#bodyContent span.FA {
    display: none;
}
/* change the bullets for links to special articles */
#p-lang li.FA {
    /* hier immer auch linkFA_bullet in Common.js mit anpassen für die älteren skins! */
    list-style-image: url("http://upload.wikimedia.org/wikipedia/commons/d/d0/Monobook-bullet-star-transparent.png");
  }
/* without this, special bullets go too far to the left */
/*
.portlet li {
  list-style-image: url("http://upload.wikimedia.org/wikipedia/commons/1/18/Monobook-bullet.png");
}
  */
  */
addOnloadHook(function() {
    if (wgUserName != null || wgAction != "edit") return;
    saveButton = document.getElementById("wpSave");
    if (!saveButton) return;
    saveButton.disabled = true;
    saveButton.value = "Seite speichern (Bitte erst die Vorschau benutzen)";
    saveButton.style.fontWeight = "normal";
    document.getElementById("wpPreview").style.fontWeight = "bold";
});
   
   
//==============================================================================
/* DIVs in ImageMaps inlinen (Vorschlag von Revolus) */
//*** Fügt der Suche weitere Suchengines hinzu (kopiert aus eswp)
.imagemap-inline div {
      display: inline;
}
   
   
/*
/* [[Special:Hochladen]]: Warnmeldung auf bestehende Dateien, unerwünschte Prefixe usw. deutlicher hervorheben. */
document.write('<script type="text/javascript" src="'
        + '/w/index.php?title=MediaWiki:SpezialSuche.js'
        + '&action=raw&ctype=text/javascript&dontcountme=s&smaxage=3600"></script>');
*/
   
   
//================================================================================
#wpDestFile-warning ul {
//*** force the loading of another JavaScript file (Kopie von [[Commons:Common.js]])
      border:solid red 1px;
// Local Maintainer: [[Commons:User:Dschwen]]
      padding: 1.5em;
}
   
   
function includePage(name) {
/* Tabellenhintergründe transparent machen */
    document.write('<script type="text/javascript" src="' + wgScript + '?title='
/* Vor allem auf Spezialseiten, da diese eine andere Hintergrundfarbe haben. */
        + name
/* Update 21. März 2008: Wurde mit [[rev:32269]] und [[rev:32270]] zentralisiert. */
        + '&action=raw&ctype=text/javascript"><\/script>');
}
table.searchResultImage, table#mw-sitematrix-table, table.mw-specialpages-table,
table.mw-listgrouprights-table, table.diff
  {
      background-color: transparent;  
  }
   
   
//================================================================================
/* +++++ 3. NEUE [[Hauptseite|HAUPTSEITE]] (ab 2006) +++++ */
//*** import Onlyifuploading-functions
// SEE ALSO [[MediaWiki:Onlyifuploading.js]]
   
   
if (wgCanonicalSpecialPageName == "Upload") {
/* Kategorie verbergen */
    document.write('<script type="text/javascript" src="/w/index.php?title=MediaWiki:Onlyifuploading.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
body.page-Hauptseite #catlinks {
}
  display:none;
}
   
   
//================================================================================
#hauptseite h2 {
//*** Dynamic Navigation Bars
      background-color: #d8e8ff;
      border: 1px solid #8898bf;
      font-size: 1em;
      font-weight: bold;
      margin-top: 0;
      margin-bottom: 0;
      padding-top: 0.1em;
      padding-bottom: 0.1em;
}
#hauptseite .inhalt {
      background-color: #ffffff;
      border: 1px solid #8898bf;
      border-top: 0px solid white;
      padding: 0.3em 0.8em 0.4em 0.8em;
}
#hauptseite .inhalt hr {
      background-color: #8898bf;
      color: #8898bf;
      height: 1px;
      margin:0.5em 0;
      padding: 0;
}
#hauptseite .inhalt .mehr {
      clear: both;
      font-size: 95%;
      margin-top: 0.8em;
      text-align: right;
}
.hauptseite-oben,
.hauptseite-links,
.hauptseite-rechts {
      margin-bottom: 1em;
}
.hauptseite-links {
      margin-right: 0.5em;
}
.hauptseite-rechts {
      margin-left: 0.5em;
}
.hauptseite-oben h2,
.hauptseite-unten h2 {
      text-align: center;
}
.hauptseite-oben .inhalt .portale {
      font-weight: bold;
      margin-top: 0.2em;
      margin-bottom: 0.2em;
}
.hauptseite-oben .inhalt .intern {
      font-size: 90%;
      text-align: center;
}
.hauptseite-links h2,
.hauptseite-rechts h2 {
      text-indent: 0.8em;
}
#hauptseite-schwesterprojekte .inhalt a {
      font-weight: bold;
}
   
   
// set up the words in your language
/* p.catlinks span a[href*="/wiki/Kategorie:Arbeitskategorie"] { display:none } wegen HIDDENCAT nicht mehr notwendig */  
var NavigationBarHide = 'Einklappen';
var NavigationBarShow = 'Ausklappen';
   
   
// set up max count of Navigation Bars on page,
/* Remove underline from IPA links */
// if there are more, all will be hidden
.IPA a:link, .IPA a:visited {
// NavigationBarShowDefault = 0; // all bars will be hidden
     text-decoration: none;
// NavigationBarShowDefault = 1; // on pages with more than 1 bar all bars will be hidden
}
if (typeof NavigationBarShowDefault == 'undefined' ) {
     var NavigationBarShowDefault = 1;
}
   
   
// shows and hides content and picture (if available) of navigation bars
span.Unicode
// Parameters:
{
//    indexNavigationBar: the index of navigation bar to be toggled
  font-family:
function toggleNavigationBar(indexNavigationBar)
  'Code2000',
{
  'Sun-ExtA',
  var NavToggle = document.getElementById("NavToggle" + indexNavigationBar);
  'Arial Unicode MS',
  var NavFrame = document.getElementById("NavFrame" + indexNavigationBar);
  'NSimSun',
  sans-serif;
}
   
   
  if (!NavFrame || !NavToggle) {
span.Unicode1
      return false;
{
  }
  font-family:
  'Code2001',
  'Quivira',
  'MPH 2B Damase',
  sans-serif;
}
   
   
  // if shown now
span.Unicode2
  if (NavToggle.firstChild.data == NavigationBarHide) {
{
      for (
  font-family:
              var NavChild = NavFrame.firstChild;
  'Sun-ExtB',
              NavChild != null;
  'Code2002',
              NavChild = NavChild.nextSibling
  sans-serif;
          ) {
}
          if (NavChild.className == 'NavPic') {
              NavChild.style.display = 'none';
          }
          if (NavChild.className == 'NavContent') {
              NavChild.style.display = 'none';
          }
          if (NavChild.className == 'NavToggle') {
              NavChild.firstChild.data = NavigationBarShow;
          }
      }
   
   
  // if hidden now
span.IPA
  } else if (NavToggle.firstChild.data == NavigationBarShow) {
{
      for (
  font-family:
              var NavChild = NavFrame.firstChild;
  'Quivira',
              NavChild != null;
  'Code2000',
              NavChild = NavChild.nextSibling
  'Sun-ExtA',
          ) {
  'DejaVu Sans',
          if (NavChild.className == 'NavPic') {
  'Gentium',
              NavChild.style.display = 'block';
  'Arial Unicode MS',
          }
  'Lucida Sans Unicode',
          if (NavChild.className == 'NavContent') {
  sans-serif;
              NavChild.style.display = 'block';
}
          }
          if (NavChild.className == 'NavToggle') {
              NavChild.firstChild.data = NavigationBarHide;
          }
      }
  }
}
   
   
// adds show/hide-button to navigation bars
span.IAST
function createNavigationBarToggleButton()
{
{
  font-family:
  var indexNavigationBar = 0;
   'Code2000',
   // iterate over all < div >-elements
   'SunExtA',
   var divs = document.getElementsByTagName("div");
   'Arial Unicode MS',
   for (var i=0;  i<divs.length; i++) {
  sans-serif;
      var NavFrame = divs[i];
}
      // if found a navigation bar
      if (NavFrame.className == "NavFrame") {
   
   
          indexNavigationBar++;
span.altitalisch
          var NavToggle = document.createElement("a");
{
          NavToggle.className = 'NavToggle';
  font-family:
          NavToggle.setAttribute('id', 'NavToggle' + indexNavigationBar);
  'Quivira',
          NavToggle.setAttribute('href', 'javascript:toggleNavigationBar(' + indexNavigationBar + ');');
  'Code2001',
  'MPH 2B Damase',
  sans-serif;
}
   
   
          var NavToggleText = document.createTextNode(NavigationBarHide);
          NavToggle.appendChild(NavToggleText);
   
   
          // add NavToggle-Button as first div-element
span.gotisch
          // in < div class="NavFrame" >
{
          NavFrame.insertBefore(
  font-family:
              NavToggle,
  'Quivira',
              NavFrame.firstChild
  'Code2001',
          );
   'MPH 2B Damase',
          NavFrame.setAttribute('id', 'NavFrame' + indexNavigationBar);
   sans-serif;
      }
}
   }
   // if more Navigation Bars found than Default: hide all
  if (NavigationBarShowDefault < indexNavigationBar) {
      for(
              var i=1;
              i<=indexNavigationBar;  
              i++
      ) {
          toggleNavigationBar(i);
      }
  }
   
   
}
span.hebrew
{
  font-family:
  'Quivira',
  'Sun-ExtA',
  'Arial Unicode MS',
  'SBL Hebrew',
  'Code2000',
  'MPH 2B Damase',
  sans-serif;
}
   
   
addOnloadHook(createNavigationBarToggleButton);
span.spanAr
{
  font-family:
  'Arial Unicode MS',
  'Code2000',
  'MPH 2B Damase',
  'DejaVu Sans',
  sans-serif;
}
   
   
//================================================================================
//*** import Onlyifediting-functions
// SEE ALSO [[MediaWiki:Onlyifediting.js]]
   
   
if (document.URL.indexOf("action=edit") > 0 || document.URL.indexOf("action=submit") > 0) {
span.music-symbol
    document.write('<script type="text/javascript" src="/w/index.php?title=MediaWiki:Onlyifediting.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
{
}
  font-family:
  'Musical Symbols',
  'Euterpe',
  'Code2001',
  sans-serif;
}
Bitte kopiere keine Webseiten, die nicht deine eigenen sind, benutze keine urheberrechtlich geschützten Werke ohne Erlaubnis des Urhebers!
Du gibst uns hiermit deine Zusage, dass du den Text selbst verfasst hast, dass der Text Allgemeingut (public domain) ist oder dass der Urheber seine Zustimmung gegeben hat. Falls dieser Text bereits woanders veröffentlicht wurde, weise bitte auf der Diskussionsseite darauf hin. Bitte beachte, dass alle KIF-Beiträge automatisch unter der „Namensnennung-Weitergabe unter gleichen Bedingungen 2.5 “ stehen (siehe KIF:Urheberrechte für Einzelheiten). Falls du nicht möchtest, dass deine Arbeit hier von anderen verändert und verbreitet wird, dann klicke nicht auf „Seite speichern“.
Abbrechen Bearbeitungshilfe (wird in einem neuen Fenster geöffnet)