Zum Inhalt springen

MediaWiki:Common.js: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
/* <nowiki> */
/*
url = document.URL;
ATTENTION ADMINISTRATORS:
function $(ID) {return document.getElementById(ID);}
function $t(T) {return document.getElementsByTagName(T);}
bouncyWiki = "http://upload.wikimedia.org/wikipedia/commons/6/6c/Bouncywikilogo.gif";
barnStar = "http://upload.wikimedia.org/wikipedia/commons/a/a2/Tireless_Contributor_Barnstar.gif";
   
   
// JavaScripts importieren; Quelle: [[w:als:MediaWiki:Monobook.js]]
This is the CSS for all skins. Any major changes to this page or
[[MediaWiki:Monobook.css|Monobook.css]] should be first proposed on
the [[Wikipedia:Village pump (technical)|Village pump]]. 
   
   
function importScript(i) {
Testing can be done on your own user Monobook.css. In [[Mozilla]] and
  var script = document.createElement("script");
[[Opera (web browser)|Opera]], you can also test style changes dynamically
  script.type = "text/javascript";
with the [http://www.squarefree.com/bookmarklets/webdevel.html test styles]
  script.src = "/w/index.php?title=MediaWiki:If-"+i+".js&action=raw&ctype=text/javascript";
bookmarklet from squarefree.com. It pops up a window for adding style rules,
  $t("head")[0].appendChild(script);
and updates the page as you type.
}
   
   
// Link für Registrierung mit Bild
Always check with the [http://tinyurl.com/28y334 W3C CSS Validation Service]
([http://tinyurl.com/2g8bsk CVS version]) before and after any changes.
 
See also: [[Wikipedia:Catalogue of CSS classes|catalogue of CSS classes]].
   
   
function signUp() {
Thank you.
  if ($("pt-login")) {
*/
  var signUp = document.createElement("span");
  signUp.setAttribute("style", "padding-right: 2px");
  signUp.innerHTML = ' \| <a href="/wiki/Spezial:Userlogin?type=signup" title="Neuanmeldung">Benutzerkonto erstellen<\/a><div class="signUp"><\/div>';
  $("pt-login").appendChild(signUp);
  }
}
addOnloadHook(signUp);
   
   
/* <pre><nowiki> */
   
   
// Interprojekt-Links ([[mediazilla:708|Bug 708]])
/* Main page fixes */
#interwiki-completelist {
document.write('<style type="text/css">#interProject, #sisterProjects {display: none; speak: none;} #p-tb .pBody {padding-right: 0;}<\/style>');
    font-weight: bold;
function iProject() {
}
  if ($("interProject")) {
 
  var iProject = $("interProject").innerHTML;
body.page-Main_Page #ca-delete {
  var interProject = document.createElement("div");
    display: none !important;
  interProject.style.marginTop = "0.7em";
}
  interProject.innerHTML = '<h5><a href="/wiki/Wiktionary:Schwesterprojekte">Schwesterprojekte<\/a><\/h5><div class="pBody">'+iProject+'<\/div>';
 
  $("p-tb").appendChild(interProject);
/* Add space below the toolbar */
  }
#toolbar {
}
    margin-bottom: 6px;
addOnloadHook(iProject);
}
 
/* make the list of references look smaller */
// Ausklappbare Navigationsleisten
ol.references {
    font-size: 100%;
var NavigationBarHide = 'Einklappen ▲';
}
var NavigationBarShow = 'Ausklappen ▼';
 
var NavigationBarShowDefault = 10;
.references-small { font-size: 90%;}
 
//Einstellungen ([[Wiktionary:Einstellungen]]):
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
if ( getCookie('WiktionaryUseJSPreferences') != 'true' ) {
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
        NavigationBarShowDefault = 999;
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
    } else if ( getCookie('WiktionaryPreferencesHideNav') == 'true' ) {
/* Please ignore any validator errors caused by these two lines */
        NavigationBarShowDefault = 0;
.references-2column {
    } else if ( getCookie('WiktionaryPreferencesShowNav') == 'true' ) {
    font-size: 90%;
        NavigationBarShowDefault = 999;
    -moz-column-count: 2;
     } else {
    -webkit-column-count: 2;
        NavigationBarShowDefault = 999;
    column-count: 2;
}
 
.same-bg { background: none; }
 
/* Highlight clicked reference in blue to help navigation */
ol.references > li:target {
    background-color: #DEF;
}
 
sup.reference:target {
    background-color: #DEF;
}
 
/* Styling for citations */
cite {
    font-style: normal;
    word-wrap: break-word;
}
 
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
cite:target {  
    background-color: #DEF;
}
 
/* Do not expand URLs within citations for printing. The URLs should be included explicitly, to avoid confusion */
 
@media print {
     #content cite a.external.text:after {
        display: none;
     }
     }
}
function toggleNavigationBar(indexNavigationBar) {
 
  var NavToggle = $("NavToggle" + indexNavigationBar);
/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */
  var NavFrame = $("NavFrame" + indexNavigationBar);
 
  if (!NavFrame || !NavToggle) {return false;}
@media screen, handheld, projection {
  if (NavToggle.firstChild.data == NavigationBarHide) {
     cite *.printonly {
  for (var NavChild = NavFrame.firstChild; NavChild != null; NavChild = NavChild.nextSibling) {
        display: none;
    if (NavChild.className == 'NavPic') {NavChild.style.display = 'none';}
    if (NavChild.className == 'NavContent') {NavChild.style.display = 'none';}
    if (NavChild.className == 'NavToggle') {NavChild.firstChild.data = NavigationBarShow;}
  }
  }
  else if (NavToggle.firstChild.data == NavigationBarShow) {
  for (var NavChild = NavFrame.firstChild; NavChild != null; NavChild = NavChild.nextSibling) {
    if (NavChild.className == 'NavPic') {NavChild.style.display = 'block';}
    if (NavChild.className == 'NavContent') {NavChild.style.display = 'block';}
    if (NavChild.className == 'NavToggle') {NavChild.firstChild.data = NavigationBarHide;}
  }
  }
}
indexNavigationBar = 0;
function createNavigationBarToggleButton() {
  for (var i=0; NavFrame = $t("div")[i]; i++) {
  if (NavFrame.className == "NavFrame") {
    indexNavigationBar++;
    var NavToggle = document.createElement("a");
    NavToggle.className = 'NavToggle';
    NavToggle.setAttribute('id', 'NavToggle' + indexNavigationBar);
    NavToggle.setAttribute('href', 'javascript:toggleNavigationBar('+indexNavigationBar+')');
    var NavToggleText = document.createTextNode(NavigationBarHide);
    NavToggle.appendChild(NavToggleText);
    NavFrame.insertBefore(NavToggle, NavFrame.firstChild);
    NavFrame.setAttribute('id', 'NavFrame' + indexNavigationBar);
  }
  }
  if (NavigationBarShowDefault < indexNavigationBar) {
  for (var i=1; i<=indexNavigationBar; i++) {toggleNavigationBar(i);}
  }
}
addOnloadHook(createNavigationBarToggleButton);
function closedNavBar() {
if ( getCookie('WiktionaryUseJSPreferences') != 'true' ) {
        for (var i = 0; i < indexNavigationBar; i++) {
          var j = i+1;
          if (document.getElementById("closedNavBar")) {toggleNavigationBar(j);}
          else { toggleNavigationBar(0); }
        }
     } else if ( getCookie('WiktionaryPreferencesHideNav') == 'true' ) {
        toggleNavigationBar(100);
    } else if ( getCookie('WiktionaryPreferencesShowNav') == 'true' ) {
        toggleNavigationBar(0);
    } else {
        for (var i = 0; i < indexNavigationBar; i++) {
          var j = i+1;
          if (document.getElementById("closedNavBar")) {toggleNavigationBar(j);}
          else { toggleNavigationBar(0); }
        }
     }
     }
}
}
addOnloadHook(closedNavBar);
 
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
// Import von MediaWiki:Onlyifsystem.js
table.prettytable {
    margin: 1em 1em 1em 0;
if (url.indexOf("Spezial:") > 0 || url.indexOf("MediaWiki:") > 0 || url.indexOf("=Spezial") > 0 || url.indexOf("=MediaWiki") > 0) {
    background: #f9f9f9;
  document.write('<script type="text/javascript" src="/w/index.php?title=MediaWiki:Onlyifsystem.js&amp;action=raw&amp;ctype=text/javascript&amp;dontcountme=s"><\/script>');
    border: 1px #aaa solid;
}
    border-collapse: collapse;
}
 
// Import von MediaWiki:Onlyifediting.js (Sonderzeichenmenü)
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
if (url.indexOf("=edit") > 0 || url.indexOf("=submit") > 0) {
    border: 1px #aaa solid;
   document.write('<script type="text/javascript" src="/w/index.php?title=MediaWiki:Onlyifediting.js&amp;action=raw&amp;ctype=text/javascript&amp;dontcountme=s"><\/script>');
    padding: 0.2em;
}
}
 
table.wikitable th,
// Reload-Funktion
table.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}
 
table.prettytable code,
table.wikitable code {
    background-color: transparent;
}
 
/* default skin for navigation boxes */
table.navbox {            /* navbox container style */
  border:1px solid #aaa;
  width:100%;
  margin:auto;
  clear:both;
  font-size:88%;
  text-align:center;
  padding:1px;
}
table.navbox + table.navbox {
  margin-top:-1px;       /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
}
.navbox-title, .navbox-abovebelow, table.navbox th {
  text-align:center;     /* title and above/below styles */
  padding-left:1em;
  padding-right:1em;
}
.navbox-group {          /* group style */
  white-space:nowrap;
  text-align:right;
  font-weight:bold;
  padding-left:1em;
  padding-right:1em;
}
.navbox, .navbox-subgroup {
   background:#fdfdfd;    /* Background color */
}
.navbox-list {
  border-color:#fdfdfd;  /* Must match background color */
}
.navbox-title, table.navbox th {
  background:#ccccff;    /* Level 1 color */
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
  background:#ddddff;    /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
  background:#e6e6ff;     /* Level 3 color */
}
.navbox-even {
  background:#f7f7f7;     /* Even row striping */
}
.navbox-odd {
  background:transparent; /* Odd row striping */
}
   
   
function reload() {
@media print {
  var reload = $("reload");
     .navbox {
  if (reload) {
        display: none;
  reload.innerHTML = '<a href="javascript:location.reload(true)">Wiktionary neu laden!<\/a>';
  }
}
addOnloadHook(reload);
// Drop-down-Menü für MediaWiki:Noexactmatch
function addNogoSubsetMenu() {
  var nogomatch = $("nogomatch");
  if (nogomatch) {
  var menu = "<select style=\"float: left; display: inline; margin: 0.4em 0.5em 0 0;\" onChange=\"chooseCharSubset(selectedIndex)\">";
  menu += "<option>Bulgarisch</option>";
  menu += "<option>Englisch</option>";
  menu += "<option>Französisch</option>";
  menu += "<option>Italienisch</option>";
  menu += "<option>Russisch</option>";
  menu += "<option>Schwedisch</option>";
  menu += "<option>Serbisch</option>";
  menu += "<option>Spanisch</option>";
  menu += "</select>";
  nogomatch.innerHTML = menu + nogomatch.innerHTML;
  chooseCharSubset(0); // Standard-CharSubset
  }
}
addOnloadHook(addNogoSubsetMenu);
// Char-Subset
function chooseCharSubset(s) {
  var l = $('nogomatch').getElementsByTagName('table');
  for (var i = 0; i < l.length ; i++) {
     if (l[i].className == "foreignLanguage") {
      l[i].style.display = l[i].id == s ? 'block' : 'none';
     }
     }
  }
}
}
 
/* Infobox template style */
// Drop-down-Menü für MediaWiki:Newarticletext
.infobox {
    border: 1px solid #aaa;
function addNewarticleSubsetMenu() {
    background-color: #f9f9f9;
  var newarticletext = $("newarticletext");
     color: black;
  if (newarticletext) {
    margin: 0.5em 0 0.5em 1em;
  var menu = "<select style=\"display:inline\" onChange=\"chooseCharSubset2(selectedIndex)\">";
    padding: 0.2em;
  menu += "<option>Deutsch</option>";
    float: right;
  menu += "<option>Bulgarisch</option>";
     clear: right;
  menu += "<option>Englisch</option>";
}
  menu += "<option>Französisch</option>";
.infobox td,
  menu += "<option>Italienisch</option>";
.infobox th {
  menu += "<option>Russisch</option>";
     vertical-align: top;
  menu += "<option>Schwedisch</option>";
}
  menu += "<option>Serbisch</option>";
.infobox caption {
  menu += "<option>Spanisch</option>";
    font-size: larger;
  menu += "</select>";
    margin-left: inherit;
  newarticletext.innerHTML = menu + newarticletext.innerHTML;
}
  chooseCharSubset2(0); // Standard-CharSubset
.infobox.bordered {
  }
    border-collapse: collapse;
}
}
addOnloadHook(addNewarticleSubsetMenu);
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
// Char-Subset
}
.infobox.bordered .borderless td,
function chooseCharSubset2(s) {
.infobox.bordered .borderless th {
  var l = document.getElementById('newarticletext').getElementsByTagName('p');
    border: 0;
  var l = $('newarticletext').getElementsByTagName('p');
}
  for (var i = 0; i < l.length ; i++) {
 
     l[i].style.display = i == s ? 'inline' : 'none';
.infobox.sisterproject {
  }
    width: 20em;
}
    font-size: 90%;
}
 
// Überschrift der Hauptseite verstecken
@media print {
     .infobox.sisterproject {
if (wgPageName == "Wiktionary:Hauptseite" && url.indexOf("diff=") < 0 && url.indexOf("oldid=") < 0) {
        display: none;
  if (wgAction == "view" || wgAction == "purge") {
  document.write('<style type="text/css">/*<![CDATA[*/ h1.firstHeading, #siteSub, #contentSub, #catlinks, #lastmod {display: none !important;} /*]]>*/</style>');
  }
}
// Sonderzeichen für das Suchfeld
//  Folgendes Script basiert auf einem Element aus User:Connel MacKenzie/custom.js im englischen
//  Wiktionary (http://en.wiktionary.org) und steht unter unter der GNU Lizenz für freie Dokumentation.
// Der Autor des Codes ist [[:en:User:Connel MacKenzie]].
function setCookie(cookieName, cookieValue) {
var today = new Date();
var expire = new Date();
var nDays = 30;
expire.setTime( today.getTime() + (3600000 * 24 * nDays) );
document.cookie = cookieName + "=" + escape(cookieValue)
                + ";path=/w"
                + ";expires="+expire.toGMTString();
document.cookie = cookieName + "=" + escape(cookieValue)
                + ";path=/wiki"
                + ";expires="+expire.toGMTString();
}
function getCookie(cookieName) {
  var start = document.cookie.indexOf( cookieName + "=" );
  if ( start == -1 ) return "";
  var len = start + cookieName.length + 1;
  if ( ( !start ) &&
     ( cookieName != document.cookie.substring( 0, cookieName.length ) ) )
      {
        return "";
      }
  var end = document.cookie.indexOf( ";", len );
  if ( end == -1 ) end = document.cookie.length;
  return unescape( document.cookie.substring( len, end ) );
}
function deleteCookie(cookieName) {
  if ( getCookie(cookieName) ) {
     document.cookie = name + "=" +
    ";expires=Thu, 01-Jan-1970 00:00:01 GMT";
  }
}
document.write('<script '
          + 'type="text/javascript" src="http://de.wiktionary.org'
          + '/w/index.php?title=Benutzer:Spacebirdy'
          + '/custom.js&action=raw&ctype=text/javascript"><\/'
          + 'script>');
// Anpassung der [bearbeiten]-Links
//  Folgendes Script basiert auf einem Element aus dem MediaWiki:Monobook.js in der französischen
//  Wikipedia und steht unter unter der GNU Lizenz für freie Dokumentation. Der Autor des Codes ist
//  Marc Mongenet, Copyright 2006.
setModifySectionStyle = function()
{
try {
        if (!(typeof oldEditsectionLinks == 'undefined' || oldEditsectionLinks == false)) return;
        var spans = $t("span");
        for (var s = 0; s < spans.length; ++s) {
                var span = spans[s];
                if (span.className == "editsection") {
                        span.style.fontSize = "x-small";
                        span.style.fontWeight = "normal";
                        span.style.cssFloat = span.style.styleFloat = "none";
                        span.parentNode.appendChild(document.createTextNode(" "));
                        span.parentNode.appendChild(span);
                }
        }
} catch (e) { /* something went wrong */ }
}
addOnloadHook(setModifySectionStyle);
// Stabile Versionen
document.write('<style type="text/css">#dVban, #sVban {border-width: 0 0 1px; color: #000000; margin-left: -1em;} #p-cactions li#ca-nstab-main a.dVyellow {background-color: #FFFAEE;} #p-cactions li#ca-nstab-main a.sVgreen {background-color: #F3FFF3;} li#dVyellow.selected {background-color: #FFFCD9; border: 1px dashed #AAA;} #dVyellow {background-color: #FFFCD9;} li#sVgreen.selected {background-color: #E3FFE3; border: 1px dashed #AAA;} #sVgreen {background-color: #E3FFE3;} #firstRev {background-color: #F5F5F5;}<\/style>');
if (url.indexOf("stabil&oldid=") > 0) {
  document.write('<style type="text/css">#mw-revision-info, #mw-revision-nav {display: none; speak: none;}<\/style>');
}
// Stabil-/Entwicklungsversionen
var sID;
function stabVer() {
  if ($("copyright")) {sID = $("copyright").getElementsByTagName("a")[0].id;}
  if (sID) {
  var cnm = $("ca-nstab-main").getElementsByTagName("a")[0];
  var pCact = $("p-cactions").getElementsByTagName("ul")[0];
  if (wgCurRevisionId == sID && url.indexOf("oldid=") < 0 || url.indexOf("oldid="+sID) > 0 && url.indexOf("diff=") < 0) {
     cnm.className = "sVgreen";
    if (url.indexOf("action=edit&stabil") < 0) {
    cnm.href = "javascript:showBanner(1)";
    } else {
    cnm.href += "?stabil&oldid="+sID;
     }
     }
     cnm.innerHTML = "Stabilversion";
}
     $t("h1")[0].innerHTML += '<a class="anti-hoax" id="vLink" style="background-color: #F0FFF0; cursor: help; font-size: 10px; line-height: 10px; margin-left: 0.7em;" href="javascript:showBanner(1)" title="Zeigt eine erweiterte Beschreibung">[Beständige Version]<\/a>';
 
     sVer = document.createElement("div");
.infobox.standard-talk {
     if (is_khtml) {
     border: 1px solid #c0c090;
    sVer.setAttribute("style", "margin: -0.7em 115px 0.7em 165px;");
     background-color: #f8eaba;
     }
}
     if (wgCurRevisionId == sID) {
 
    $("ca-edit").id = "ca-viewsource";
/* styles for bordered infobox with merged rows */
    pCact.getElementsByTagName("a")[2].innerHTML = "Eintrag weiterentwickeln";
.infobox.bordered .mergedtoprow td,
    var dev = "";
.infobox.bordered .mergedtoprow th {
     } else {
    border: 0;
    var dVtab = document.createElement("li");
    border-top: 1px solid #aaa;
    dVtab.innerHTML = '<a href="/wiki/'+wgPageName+'?aktuell" title="Betrachte die brandaktuelle Version!">Entwicklungsversion<\/a>';
    border-right: 1px solid #aaa;
    pCact.insertBefore(dVtab, $("ca-nstab-main"));
}
    pCact.removeChild(pCact.getElementsByTagName("li")[3]);
 
    var dev = ' <small>(<a class="anti-hoax" href="/wiki/'+wgPageName+'?action=edit&stabil&oldid='+sID+'" title="Verwende den Quelltext der stabilen Version!">Quelltext<\/a>)<\/small>. Es gibt jedoch eine aktuellere <a class="anti-hoax" href="/wiki/'+wgPageName+'?aktuell" title="Betrachte die brandaktuelle Version!">Entwicklungsversion<\/a> <small>(<a class="anti-hoax" href="/wiki/'+wgPageName+'?diff=0&oldid='+sID+'" title="Vergleiche die beständige mit der aktuellen Version!">Unterschied<\/a>)<\/small>';
.infobox.bordered .mergedrow td,
    }
.infobox.bordered .mergedrow th {
    sVer.innerHTML = '<table id="sVban" style="border-style: solid; border-color: #32CD32; border-collapse: collapse; background-color: #F0FFF0; line-height: 1.8em;"><tr><td style="padding: 2px 9px 1px;">Diese Ausgabe des Wörterbucheintrages ist eine beständige <b>„<a class="anti-hoax" href="/wiki/Wiktionary:Stabilversionen" title="Was ist eine Stabilversion?">Stabilversion<\/a>“<\/b>'+dev+'.<\/td><\/tr><\/table>';
    border: 0;
     if ($("dVban")) {
    border-right: 1px solid #aaa;
    $("lastmod").insertBefore(sVer, $("dVban"));
}
    $("lastmod").removeChild($("dVban"));
 
     } else {
/* Styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */
    $("f-list").insertBefore(sVer, $("copyright"));
.infobox.geography {
     }
     text-align: left;
  } else if (wgCurRevisionId != sID && url.indexOf("oldid=") < 0) {
     border-collapse: collapse;
     if ($("dVban")) {
     line-height: 1.2em;
    cnm.className = "dVyellow";
     font-size: 90%;
    cnm.href = "javascript:showBanner(1)";
}
    cnm.innerHTML = "Entwicklungsversion";
 
    var sVtab = document.createElement("li");
.infobox.geography  td,
    sVtab.innerHTML = '<a href="/wiki/'+wgPageName+'?stabil&oldid='+sID+'" title="Betrachte die stabile Version!">Stabilversion<\/a>';
.infobox.geography  th {
    pCact.insertBefore(sVtab, $("ca-talk"));
    border-top: solid 1px #aaa;
    $t("h1")[0].innerHTML += '<a class="anti-hoax" id="vLink" style="background-color: #FFFBDE; cursor: help; font-size: 10px; line-height: 10px; margin-left: 0.7em;" href="javascript:showBanner(1)" title="Zeigt eine erweiterte Beschreibung">[Änderbare Version]<\/a>';
     padding: 0.4em 0.6em 0.4em 0.6em;
    if (is_khtml) {
}
      $("dVban").setAttribute("style", "border-style: solid; border-color: #FFAA80; border-collapse: collapse; background-color: #FFFADE; line-height: 1.8em; margin: -0.7em 115px 0.7em 165px;");
.infobox.geography .mergedtoprow td,
    }
.infobox.geography .mergedtoprow th {
     }
    border-top: solid 1px #aaa;
  }
    padding: 0.4em 0.6em 0.2em 0.6em;
  }
}
}
 
addOnloadHook(stabVer);
.infobox.geography .mergedrow td,
function showBanner(x) {
.infobox.geography .mergedrow th {
  var a = $("ca-nstab-main").getElementsByTagName("a")[0];
    border: 0;
  if (x != 1) {
    padding: 0 0.6em 0.2em 0.6em;
  if ($("dVban")) {$("contentSub").removeChild($("dVban"));}
}
  if ($("sVban")) {$("contentSub").removeChild($("sVban"));}
 
  $("vLink").className = "hiddenStructure";
.infobox.geography .mergedbottomrow td,
  a.href = url;
.infobox.geography .mergedbottomrow th {
  } else {
    border-top: 0;
  if ($("dVban")) {
    border-bottom: solid 1px #aaa;
     if (is_khtml) {
    padding: 0 0.6em 0.4em 0.6em;
    $("dVban").setAttribute("style", "border-style: solid; border-color: #FFAA80; border-collapse: collapse; background-color: #FFFADE; line-height: 1.8em;");
}
    }
 
    $("contentSub").appendChild($("dVban"));
.infobox.geography .maptable td,
  }
.infobox.geography .maptable th {
  if ($("sVban")) {$("contentSub").appendChild($("sVban"));}
    border: 0;
  $("vLink").setAttribute("style", "color: #778899; font-size: 10px; line-height: 10px; margin-left: 0.7em;");
    padding: 0;
  $("vLink").href = "javascript:showBanner(0)";
}
  a.href = "javascript:showBanner(0)";
 
  }
/* Style for "notices" */
}
.notice {
    margin: 1em;
// Markierungen unter "Versionen/Autoren"
    padding: 0.2em;
if (url.indexOf("=history") > 0) {
}
  function sVmark() {
 
  var sID = $("histlegend").className;
#disambig {
  if (sID) {
    border-top: 1px solid #ccc;
    var ip = $t("input");
    border-bottom: 1px solid #ccc;
    for (var i = 0; i < ip.length; i++) {
}
    if (ip[i].name == "oldid") {
 
      if (ip[i].value == wgCurRevisionId) {
.spoiler {
      ip[i].parentNode.id = "dVyellow";
     border-top: 2px solid #ddd;
      }
    border-bottom: 2px solid #ddd;
      if (ip[i].parentNode.innerHTML.indexOf(") (Vorherige) ") > 0) {
}
      ip[i].parentNode.id = "firstRev";
 
      }
/* Standard talk template style */
      if (ip[i].value == sID) {
 
      ip[i].parentNode.id = "sVgreen";
.Talk-Notice  {
      }
    border: 1px solid #C0C090;
    }
     background-color: #F8EABA;
    }
    margin-bottom: 3px;
    if ($("pagehistory").innerHTML.indexOf("<li>(Aktuell) (Vorherige)") > 0) {
     width: 85%;
    $("pagehistory").getElementsByTagName("li")[0].id = "sVgreen";
    border-spacing: 3px;
     }
     margin-left: auto;
  }
    margin-right: auto;
  }
}
  addOnloadHook(sVmark);
 
}
.Talk-Notice:after {
  content: "The CSS for this template should be changed. See [[Wikipedia:Template Standardisation]].";
// Versionen als "stabil" markieren (SysOps)
}
if (wgNamespaceNumber == 0) {
 
  function makeStable() {
/* Make template background appear correctly on all browsers */
  if (wgUserGroups != null) {
.Talk-Notice td {
     if (wgUserGroups[0] == "sysop" || wgUserGroups[1] == "sysop") {
    background: inherit;
    if (wgNamespaceNumber == 0 && url.indexOf("oldid=") > 0 && url.indexOf("diff=") < 0 && !(sID && url.indexOf("oldid="+sID) > 0)) {
}
      var oldid = url.replace(/.*?oldid=([0-9]+).*/, "$1");
 
      var span = document.createElement("span");
/* Persondata and other (future) metadata */
      span.setAttribute("style", "float: right; color: #000000; font-size: larger;");
table.InChI, /* temporary */
      span.innerHTML = ' [<a style="color: #008000;" href="javascript:ask(\''+oldid+'\')">Zur stabilen Version machen<\/a>]';
table.persondata {
      $("mw-revision-info").appendChild(span);
    border: 1px solid #aaa;
    }
    display: none;
    }
    speak: none;
  }
}
   }
.InChI-label, /* temporary */
   addOnloadHook(makeStable);
.persondata-label {
}
    color: #aaa;
xTimes = 0;
}
function ask(x) {
 
  var img = new Image();
/* Makes redirects appear in italics in categories and on [[Special:Allpages]] */
  img.src = bouncyWiki;
.redirect-in-category, .allpagesredirect {
  if (img.complete == true) {
    font-style: italic;
  var ask = confirm("Diese Version wirklich zur Stabilversion machen?");
}
   if (ask == true) {
 
     location.href = "/wiki/MediaWiki:Stabilversion/"+wgPageName+"?action=edit&useID="+x;
/* Class for links with loudspeaker icon next to them */
  }
/* (Used in [[Template:Audio]] and the like to make the speaker clickable) */
  } else {
 
  xTimes = xTimes +1;
.audiolink a {
   if (xTimes < 9) {
    background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png") center left no-repeat !important;
    window.setTimeout('ask('+x+')', 250);
    padding-left: 16px !important;
   }
    padding-right: 0 !important;
  }
}
}
 
/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
// Versionsmarkierung (autoEdit)
 
if (url.indexOf("&useID=") > 0) {
div.listenlist {
  document.write('<style type="text/css">body {background: #f9f9f9 url('+bouncyWiki+') center 200px no-repeat;} #globalWrapper {display: none; speak: none;}<\/style>');
     background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
  function autoEdit() {
    padding-left: 40px;
  var useID = url.replace(/.*?useID=([0-9]+).*/, "$1");
}
  var editForm = document.editform.wpTextbox1;
 
  editForm.value = useID;
div.videolist, div.multivideolist {
  document.editform.wpSummary.value = '[['+wgPageName+'|'+useID+']]';
    background: url("http://upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
  var minorEdit = document.editform.wpMinoredit;
    padding-left: 50px;
  var watchThis = document.editform.wpWatchthis;
}
  if (minorEdit.checked != true) {minorEdit.checked = true;}
 
  if (watchThis.checked == true) {watchThis.checked = false;}
/* Style rules for media list templates */
  document.editform.submit();
div.medialist {
  }
    min-height: 50px;
  addOnloadHook(autoEdit);
    margin: 1em;
}
    background-position: top left;
if (url.indexOf("MediaWiki:Stabilversion/") > 0 && url.indexOf("?") < 0) {
    background-repeat: no-repeat;
  document.write('<style type="text/css">body {background: #f9f9f9 url('+bouncyWiki+') center 200px no-repeat;} #globalWrapper {display: none; speak: none;}<\/style>');
}
  function autoRedirect() {
 
  var pageName = url.replace(/.*?Stabilversion\/(.*)/, "$1");
div.medialist ul {
  location.href = '/wiki/'+pageName+'?stabil&oldid='+$("bodyContent").getElementsByTagName("p")[0].innerHTML;
     list-style-type: none;  
  }
    list-style-image: none;
  addOnloadHook(autoRedirect);
    margin: 0;
}
}
 
// Versionsmarken aus RC ausblenden
div.medialist ul li {
function hideRevTagsLink() {
    padding-bottom: 0.5em;
  var tRTL = $("hideRevTags");
}
  if (tRTL) {
 
  tRTL.innerHTML = 'Versionsmarken&nbsp;<a href="javascript:hideRevTags(1)" id="hideRTLink">ausblenden<\/a>';
div.medialist ul li li {
  if (document.cookie.indexOf("hideRevTags=1") > -1) {hideRevTags(1);}
    font-size: 91%;
  }
    padding-bottom: 0;
}
}
addOnloadHook(hideRevTagsLink);
 
var doneRep;
/* Change the external link icon to an Adobe icon for all PDF files */
function hideRevTags(x) {
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
  var li = $t("li");
#bodyContent a[href$=".pdf"].external,
  for (var i = 0; i < li.length; i++) {
#bodyContent a[href*=".pdf?"].external,
  var a2 = li[i].getElementsByTagName("a")[1];
#bodyContent a[href*=".pdf#"].external,
  if (a2) {
#bodyContent a[href$=".PDF"].external,
     var title = a2.title;
#bodyContent a[href*=".PDF?"].external,
     var tBase = title.replace(/(.*?)\/.+/, "$1");
#bodyContent a[href*=".PDF#"].external,
    if (tBase == "MediaWiki:Stabilversion") {
#mw_content a[href$=".pdf"].external,
    if (x != 1) {
#mw_content a[href*=".pdf?"].external,
      li[i].className = "visibleStructure";
#mw_content a[href*=".pdf#"].external,
    } else {
#mw_content a[href$=".PDF"].external,
      li[i].className = "hiddenStructure";
#mw_content a[href*=".PDF?"].external,
    }
#mw_content a[href*=".PDF#"].external {
    }
    background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat;
  }
    padding-right: 16px;
  }
}
  if ($("RCM0")) {
 
  if (is_gecko) {var tag = "SPAN";} else {var tag = "DIV";}
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
  if (doneRep != 1) {
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
     var oldHTML = $("bodyContent").innerHTML.replace(/<(img src|span id)/gi, "&lt;$1");
span.PDFlink a {
     var mHTML = oldHTML.replace(/&lt;(img)(.*?)<(a)(.*?)(title="MediaWiki:Stabilversion)(.*?)<(br)(.*?)>/gi, '<'+tag+' class="sVrevTag"><$1$2<$3$4$5$6<$7$8></'+tag+'>');
    background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;
     var nHTML = mHTML.replace(/&lt;(span id="RCM)(.*?)<(a href="\/)(.*?)(title="MediaWiki:Stabilversion)(.*?)<(br)(.*?)>/gi, '<'+tag+' class="sVrevTag"><$1$2<$3$4$5$6<$7$8></'+tag+'>');
     padding-right: 17px !important;
     var newHTML = nHTML.replace(/&lt;(img src|span id)/gi, "<$1");
}
     $("bodyContent").innerHTML = newHTML;
 
     doneRep = 1;
span.geolink a {
  }
    background: url(http://upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center right no-repeat !important;
  var gTag = $t(tag);
     padding-right: 11px !important;
  for (var j = 0; j < gTag.length; j++) {
}
     if (gTag[j].className.indexOf("sVrevTag") > -1) {
 
    if (x != 1) {
/* Content in columns with CSS instead of tables [[Template:Columns]] */
      gTag[j].className = "sVrevTag";
div.columns-2 div.column {
    } else {
    float: left;
      gTag[j].className = "hiddenStructure sVrevTag";
    width: 50%;
    }
    min-width: 300px;
     }
}
  }
 
  }
div.columns-3 div.column {
  if (x != 1) {
    float: left;
  document.cookie = "hideRevTags=0; path=/";
    width: 33.3%;
  $("hideRTLink").href = "javascript:hideRevTags(1)";
    min-width: 200px;
  $("hideRTLink").firstChild.nodeValue = "ausblenden";
}
  } else {
 
  document.cookie = "hideRevTags=1; path=/";
div.columns-4 div.column {
  $("hideRTLink").href = "javascript:hideRevTags(0)";
    float: left;
  $("hideRTLink").firstChild.nodeValue = "einblenden";
    width: 25%;
  }
    min-width: 150px;
}
}
 
//********Fügt einen Link "Alle Sprachen" auf der Hauptseite unter die Sprachverweise hinzu, aus http://en.wikipedia.org/wiki/MediaWiki:Common.js ********************
div.columns-5 div.column {
function mainPageAppendCompleteListLink() {
    float: left;
    try {
    width: 20%;
        var node = document.getElementById( "p-lang" )
    min-width: 120px;
                          .getElementsByTagName('div')[0]
}
                          .getElementsByTagName('ul')[0];
 
/*Add formatting to make sure that "external references" from [[Template:Ref]] do
        var aNode = document.createElement( 'a' );
  not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
        var liNode = document.createElement( 'li' );
  that the HTML code contained a SPAN following the anchor A; this SPAN had the class
  "urlexpansion", which was not displayed on screen, but was shown when the medium was
        aNode.appendChild( document.createTextNode( 'Alle Sprachen' ) );
  "print". The rules below ensure (a) that there is no extra padding to the right of
        aNode.setAttribute( 'href' , 'http://de.wiktionary.org/wiki/Wiktionary:Liste_der_Wiktionarys_in_anderen_Sprachen' );
  the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for
        liNode.appendChild( aNode );
   the link, and (c) that this SPAN of class "urlexpansion" is never shown.
        liNode.className = 'interwiki-completelist';
   ~~~~
        liNode.style.fontWeight = 'bold';
*/
        node.appendChild( liNode );
 
    } catch(e) {
.plainlinksneverexpand {
      // lets just ignore what's happened
    background: none ! important;
      return;
    padding: 0 ! important;
}
 
.plainlinksneverexpand .urlexpansion {
    display: none ! important;
}
 
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
   the arrow...
*/
.plainlinksneverexpand a {
     background: none !important;
    padding: 0 !important;
}
 
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
   following the anchor A, the anchor itself now has class "external autonumber" and the
  expansion is inserted when printing (see the common printing style sheet at
   http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo-
  element of CSS. We have to switch this off for links due to Template:Ref!
*/
.plainlinksneverexpand a.external.text:after {
    display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
    display: none !important;
}
 
/* Messagebox templates */
.messagebox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
.messagebox.merge {
    border: 1px solid #c0b8cc;
    background-color: #f0e5ff;
    text-align: center;
}
.messagebox.cleanup {
    border: 1px solid #9f9fff;
    background-color: #efefff;
    text-align: center;
}
.messagebox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.messagebox.nested-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    width: 100%;
    margin: 2px 0 0 0;
    padding: 2px;
}
.messagebox.small {
    width: 238px;
    font-size: 85%;
    float: right;
    clear: both;
    margin: 0 0 1em 1em;
    line-height: 1.25em;
}
.messagebox.small-talk {
    width: 238px;
    font-size: 85%;
    float: right;
    clear: both;
    margin: 0 0 1em 1em;
    line-height: 1.25em;  
    background: #F8EABA;
}
 
/* Article message box template styles */
table.ambox {
    margin: 0 10%;                       /* Will not overlap with other elements */
    border-collapse: collapse;  
    background: #fbfbfb;  
     border: 1px solid #aaa;  
     border-left: 10px solid #1e90ff;    /* Default "notice" blue */
}
table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
    padding: 0.25em 0.5em;           /* 0.5em left/right */
    width: 100%;                     /* Make all templates the same width regardless of text size */
}
table.ambox td.ambox-image {         /* The left image cell */
    padding: 2px 0 2px 0.5em;       /* 0.5em left, 0px right */
    text-align: center;  
}
table.ambox td.ambox-imageright {    /* The right image cell */
     padding: 2px 0.5em 2px 0;      /* 0px left, 0.5em right */
    text-align: center;
}
table.ambox-notice {
    border-left: 10px solid #1e90ff;    /* Blue */
}
table.ambox-speedy {
    border-left: 10px solid #b22222;    /* Red */
     background: #fee;                    /* Pink */
}
table.ambox-delete,
table.ambox-serious {
    border-left: 10px solid #b22222;    /* Red */
}
table.ambox-content {
     border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
     border-left: 10px solid #f4c430;    /* Yellow */
}
table.ambox-move,
table.ambox-merge {
     border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    border-left: 10px solid #bba;       /* Gray */
}
table.ambox.ambox-mini {                /* Small floating box variant */
     float: right;
    clear: right;
    margin: 0 0 0 1em;
    width: 25%;
}
@media print {                           /* Do not print article message boxes */
    .ambox {
        display: none;
     }
     }
}
}
   
 
if ( wgTitle == 'Hauptseite' && wgNamespaceNumber == 4 ) {
/* Put a checker background at the image description page only visible if the image has transparent background */
      addOnloadHook( mainPageAppendCompleteListLink );
#file img {
    background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}
 
/* Support for Template:IPA, Template:Unicode and Template:Polytonic. The inherit declaration resets the font for all browsers except MSIE6. The empty comment must remain. Please copy any changes to [[Template:IPA fonts]] and [[Template:Unicode fonts]]. */
.IPA {
    font-family: "Charis SIL", "Doulos SIL", Gentium, GentiumAlt, "DejaVu Sans", Code2000, "TITUS Cyberbit Basic", "Arial Unicode MS", "Lucida Sans Unicode", "Chrysanthi Unicode";
    font-family /**/:inherit;
}
.Unicode {
    font-family: Code2000, Code2001, "Free Serif", "TITUS Cyberbit Basic", "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit", "Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt, "Lucida Grande", "Free Sans", "Arial Unicode MS", "Microsoft Sans Serif", "Lucida Sans Unicode";
    font-family /**/:inherit;
}
.latinx {
    font-family: Code2000, Code2001, "TITUS Cyberbit Basic", "Microsoft Sans Serif";
    font-family /**/:inherit;
}
.polytonic {
    font-family: "Athena Unicode", Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;
    font-family /**/:inherit;
}
.mufi {
    font-family: Alphabetum, Cardo, LeedsUni, Junicode, "TITUS Cyberbit Basic", ALPHA-Demo;
}
 
/* Pseudo-classes in support of [[Template:lang]]. */
 
:lang(he) {
    font-family: "SBL Hebrew", "Ezra SIL SR", "Ezra SIL", Cardo, "Chrysanthi Unicode", "TITUS Cyberbit Basic", "Arial Unicode MS", Narkisim, "Times New Roman";
    font-family /**/:inherit;
}
:lang(fa) {
    font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
    font-family /**/:inherit;
}
:lang(ps) {
    font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
    font-family /**/:inherit;
}
:lang(ur) {
    font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
    font-family /**/:inherit;
}
:lang(sux-Xsux) {
    font-family: Akkadian;
    font-family /**/:inherit;
}
:lang(ja) {
      font-family: Code2000, "Arial Unicode MS", "Bitstream Cyberbit", "Bitstream CyberCJK", IPAGothic, IPAPGothic, IPAUIGothic, "Kochi Gothic", IPAMincho, IPAPMincho;
    font-family /**/:inherit;
}
:lang(ko) {
    font-family: "Adobe Myungjo Std M", AppleMyungjo, "Baekmuk Batang", "Baekmuk Gulim", Batang, Dotum, DotumChe, Gulim, GulimChe, HYGothic-Extra, HYMyeongJo-Extra, "New Gulim", UnBatang, UnDotum, UnYetgul, UWKMJF;
    font-family /**/:inherit;
}
:lang(zh-Hans) {
    font-family: "Adobe Song Std L", "AR PL ShanHeiSun Uni", "AR PL ShanHeiSun Uni MBE", "MS Hei", "MS Song", SimHei;
    font-family /**/:inherit;
}
:lang(zh-Hant) {
    font-family: "Adobe Ming Std L", "AR PL New Sung", "AR PL ZenKai Uni", "AR PL ZenKai Uni MBE", MingLiU, PMingLiU;
    font-family /**/:inherit;
}
:lang(grc) {
    font-family: "Athena Unicode", Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;
    font-family /**/:inherit;
}
 
#wpSave {
    font-weight: bold;
}
 
/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
.hiddenStructure {
    display: inline ! important;
    color: #f00;
    background-color: #0f0;
}
 
/* suppress missing interwiki image links where #ifexist cannot be used due to high number of requests */
/* use restricted to rail icon management pages */
/* see .hidden-redlink on http://meta.wikimedia.org/wiki/MediaWiki:Common.css */
.check-icon a.new {
    display: none;
    speak:none;
}
 
/* Removes underlines from links */
.nounderlines a {
    text-decoration: none;
}
 
/* Remove underline from IPA links */
.IPA a:link, .IPA a:visited {
    text-decoration: none;
}
 
/* Removes useless links from printout */
@media print {
    #privacy, #about, #disclaimer {display:none;}
}
 
#EnWpMpBook { background-image: url(http://upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
#EnWpMpSearch { background: url(http://upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top right; }
#EnWpMpSearchInner { float: right; width: 20em; text-align: center; }
#EnWpMpBook2 { background-image: url(http://upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); }
 
/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
div.Boxmerge,
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.Boxmerge div.NavFrame {
    border-style: none;
    border-style: hidden;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position:relative;
}
div.NavFrame p {
    font-size: 100%;
}
div.NavFrame div.NavContent {
    font-size: 100%;
}
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position: absolute;
    top: 0;
    right: 3px;
    font-weight: normal;
    font-size: smaller;
}
 
/* Coloured watchlist numbers */
.mw-plusminus-pos {
    color: #006400; /* darkgreen */
}
 
/* .mw-plusminus-null currently at developer default */
 
.mw-plusminus-neg {
    color: #8B0000; /* darkred */
}
 
.dablink {
    font-style: italic;
    padding-left: 2em;
}
 
.dablink i {
    font-style: normal;
}
 
/* Style for horizontal UL lists */
.horizontal ul {
    padding: 0;
    margin: 0;
}
 
.horizontal li {
    padding: 0 0.6em 0 0.4em;
    display: inline;
    border-right: 1px solid;
}
 
.horizontal li:last-child {
    border-right: none;
    padding-right: 0;
}
 
/* Geographical coordinates
 
To display coordinates using the notation in the source code, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: none }
  .geo-dec { display: inline } .geo-dms { display: inline }
 
To display coordinates using decimal notation, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: inline }
  .geo-dec { display: inline } .geo-dms { display: none }
 
To display coordinates using DMS notation, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: inline }
  .geo-dec { display: none }  .geo-dms { display: inline }
 
To display coordinates in both decimal and DMS notation, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: inline }
  .geo-dec { display: inline }  .geo-dms { display: inline }
  .geo-multi-punct { display: inline }
 
See [[Template:Coor link]] for how these are used.
 
Note that the classes "geo", "longitude", and "latitude" are not just styles but also used by the [[Geo microformat]], so the names should not be changed.
 
*/
 
.geo-default { display: inline; }
.geo-nondefault { display: none; }
.geo-dms { display: inline; }
.geo-dec { display: inline; }
.geo-multi-punct { display: none; }
 
.longitude .latitude {
    white-space: nowrap;
}
 
/* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */
.geo { }
 
/***** end Geo-related */
 
/* When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers */
.nonumtoc .tocnumber { display:none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none;
    margin: .3em 0 0;
    padding: 0;
}
.nonumtoc #toc ul ul,
.nonumtoc .toc ul ul {
    margin: 0 0 0 2em;
}
 
/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
  instance, will limit to showing ==headings== and ===headings=== but no further (as long as
  there are no =headings= on the page, which there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}
 
/* Allow transcluded pages to display in lists rather than a table. Compatible in Firefox; incompatible in IE6. */
.listify td {display:list-item;}
.listify tr {display:block;}
.listify table {display:block;}
 
/* Styling for Template:Quote */
 
blockquote.templatequote { margin-top: 0; }
 
blockquote.templatequote div.templatequotecite {
    line-height: 1em;
    text-align: left;
    padding-left: 2em;
    margin-top: 0;
}
 
blockquote.templatequote div.templatequotecite cite {
    font-size: smaller;
}
 
div.user-block {
    padding: 5px;
    border: 1px solid #A9A9A9;
    background-color: #FFEFD5;
}
 
/* Prevents line breaks in links; see docs at Template:Nowraplinks */
 
.nowraplinks a {
    white-space: nowrap;
}
 
/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa;
    background-color: #ecfcf4;
    padding: 5px;
}
 
.thumbinner {
    min-width: 100px;
}
 
/* Inline div's in ImageMaps (code borrowed from de.wiki) */
.imagemap-inline div {
    display: inline;
}
 
/* Increase the height of the image upload box */
#wpUploadDescription {
    height: 13em;
}
}
 
//********Fügt einen Link "Alle Sprachen" auf der Hauptseite unter die Sprachverweise hinzu ********************
/* Reduce line-height for <sup> and <sub> */
sup, sub {
if ( wgCanonicalSpecialPageName == "Upload" ) {
     line-height: 1em;
function setSpecialUploadTemplate() {
     var editbox = document.getElementById('wpUploadDescription');
    if (!editbox)            return;
    if (editbox.value != '') return;
    editbox.value = "{"+"{Information\n"
                  + "|Beschreibung = \n"
                  + "|Quelle = \n"
                  + "|Urheber = \n"
                  + "|Datum = \n"
                  + "|Genehmigung = \n"
                  + "|Andere Versionen = \n"
                  + "|Anmerkungen = \n"
                  + "}"+"}";
}
addOnloadHook(setSpecialUploadTemplate);  
}
}
 
// Wiktionary zur Browser-Suchleiste hinzufügen (FF / IE7)
/* </nowiki></pre> */
function aspWikt() {
  var asp = $("addWiktSearch");
  if (asp) {
  asp.innerHTML = '<a href="javascript:addWiktSearch()">Wiktionary zur Browser-Suchleiste hinzufügen!<\/a>';
  }
}
addOnloadHook(aspWikt);
function addWiktSearch() {
  if (typeof window.external == "object" && (typeof window.external.AddSearchProvider == "unknown" || typeof window.external.AddSearchProvider == "function") && !window.opera) {
  window.external.AddSearchProvider("http://de.wiktionary.org/w/opensearch_desc.php");
  } else {
  alert("Bei deinem Browser musst du das leider manuell machen!");
  }
}
/* </nowiki> */