MediaWiki:Common.js: mudanças entre as edições

De Clube Atletico Mineiro - Enciclopedia Galo Digital
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
 
(27 revisões intermediárias por 2 usuários não estão sendo mostradas)
Linha 1: Linha 1:
/* <source lang="css"> */
//<source lang="javascript">
/* Todo código JavaScript presente aqui será carregado por todos os usuários em cada página carregada. */


/* Correct <sub> and <sup> aligns for IE */
/** Importar scripts específicos se for necessário ******************************************/
sup,
sub {  height: 0;
line-height: 1;
vertical-align: baseline;
_vertical-align: bottom;
position: relative;
}
sup {  bottom: 1ex;
}
sub {  top: .5ex;
}


/* Don't display some stuff on the main page */
/* Don't display some stuff on the main page */
body.page-Página_principal #t-cite,
body.page-Página_principal #lastmod,
body.page-Página_principal #siteSub,
body.page-Página_principal #contentSub,
body.page-Página_principal h1.firstHeading {
    display: none !important;}


 
if (wgAction == "edit" || wgAction == "submit") //scripts específicos para editar páginas
 
{
div.editsection {
    importScript("MediaWiki:Common.js/edit.js")
  text-transform: lowercase;
}
 
 
/* Imagem para interlinks de artigos destacados e bons */
li.FA {
  list-style-image: url("http://upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png");
}
}
 
else if ( wgCanonicalSpecialPageName == "Search" ||wgPageName == "Special:Search" || wgPageName == "Special:Busca" || wgPageName == "Especial:Search"  || wgPageName == "Especial:Busca" ) //scripts específicos para Especial:Busca
li.BOM {
{
  list-style-image: url("http://upload.wikimedia.org/wikipedia/commons/a/a1/Monobook-bullet-star-gray.png");
    importScript("MediaWiki:Common.js/search.js")
}
}


/* Resultados de busca */
if (navigator.appName == "Microsoft Internet Explorer") //scripts específicos para Internet Explorer
.mw-search-results {
{
  margin-left: 0;
    importScript("MediaWiki:Common.js/IEFixes.js")
}
.mw-search-results li {
margin: 0;
padding: 0.35em 1em;
border-bottom: 1px solid #d3daed;
background-color: #f6f8fc;
list-style-type: none;
list-style-image: none;
}
.mw-search-results table {
  background-color: transparent;
}
.mw-search-result-data {
  color: #008000;
}
}


/* Cores alternadas para as listas especiais (mudanças recentes, vigidaos, etc.) */
.mw-line-odd { background-color: #ffffff;}
.mw-line-even { background-color: #f5f5f5;}


  /*  
/** Importar módulos JavaScript de páginas da fr.wikipedia.org ******************************
==modelos de predefinições==
  * Obs: Importar os demais scripts utilizados da página francesa e utilizar o
*/
  * importScript() acima, que opossui a mesma função.
 
  ********************************************************************************************/
 
  function loadJs(page)
/* infobox */
  {
.infobox {
  document.write('<script type="text/javascript" src="' +
  border: 1px solid #aaaaaa;
                'http://fr.wikipedia.org/w/index.php?title=' + page +
  background-color: #f9f9f9;
                '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: .2em;
  float: right;
  clear: right;
  }
  .infobox tr {
  vertical-align: top;
}
.infobox caption {
  margin-left: inherit;
}
.infobox.bordered {
  border-collapse: collapse;
}
.infobox.bordered td, .infobox.bordered th {
  border: 1px solid #aaaaaa;
}
.infobox.sisterproject {
  width: 22em;
}
 
/* hiddenStructure from Monobook - allows selective hiding of markup in templates */
.hiddenStructure {
  display: none;
  }
  }




 
/** Link destaque ***************************************************************************
 
  *  Descrição: Adiciona estrela ao lado da ligação dos artigos destacados das outras Wikipédias
 
  ********************************************************************************************/
/* prettytable */
function LinkFA()
  table.wikitable,
  {
table.prettytable {
    if ( document.getElementById( "p-lang" ) ) {
  margin: 1em 1em 1em 0;
        var InterwikiLinks = document.getElementById( "p-lang" ).getElementsByTagName( "li" );
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
        for ( var i = 0; i < InterwikiLinks.length; i++ ) {
  border-collapse: collapse;
            if ( document.getElementById( InterwikiLinks[i].className + "-fa" ) ) {
                InterwikiLinks[i].className += " FA"
                InterwikiLinks[i].title = "Este artigo recebeu estatuto de destaque.";
            }
        }
    }
  }
  }
   
   
  table.wikitable th, table.wikitable td,
  addOnloadHook( LinkFA );
  table.prettytable th, table.prettytable td {
/** Link bom ***************************************************************************
  border: 1px #aaaaaa solid;
  *  Descrição: Adiciona estrela prateada ao lado da ligação dos artigos bons das outras Wikipédias
  padding: 0.2em;
  ********************************************************************************************/
}
function Bominterwiki()
  {
    if ( document.getElementById( "p-lang" ) ) {
        var InterwikiLinks = document.getElementById( "p-lang" ).getElementsByTagName( "li" );
   
   
table.wikitable th,
        for ( var i = 0; i < InterwikiLinks.length; i++ ) {
table.prettytable th {
            if ( document.getElementById( InterwikiLinks[i].className + "-bom" ) ) {
  background: #f2f2f2;
                InterwikiLinks[i].className += " BOM"
  text-align: center;
                InterwikiLinks[i].title = "Este artigo recebeu estatuto de bom.";
            }
        }
    }
  }
  }
   
   
  table.wikitable caption,
  addOnloadHook( Bominterwiki );
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}




/** Correlatos ******************************************************************************
  *  Descrição:Correlatos no menu lateral. Código copiado do de:wikt
  ********************************************************************************************/
// InterProjekt-Links (vgl. [[MediaZilla:708]])
  document.write('<style type="text/css">#interProject, #sisterProjects {display: none; speak: none;} #p-tb .pBody {padding-right: 0;}<\/style>');
function iProject() {
  if (document.getElementById("interProject")) {
  var iProject = document.getElementById("interProject").innerHTML;
  var interProject = document.createElement("div");
  interProject.style.marginTop = "0.7em";
  interProject.innerHTML = '<h5>Correlatos<\/h5><div class="pBody body">'+iProject+'<\/div>';
  document.getElementById("p-tb").appendChild(interProject);
  }
}
addOnloadHook(iProject);




/*predefinições informativas e mensagens MediaWiki*/
/** Altera o título da página **************************************************************
.caixa {
  *    Origem: [[:w:en:MediaWiki:Common.js]]
    width: 80%;
  * Descrição: A função procura por um banner como:
    margin: 0 auto;
  * <nowiki><div id="RealTitleBanner">Div that is hidden</nowiki>
    padding: .1em;
  *  <nowiki><span id="RealTitle">title</span></nowiki>
    font-size:95%;
  * <nowiki></div></nowiki>
}
  * An element with id=DisableRealTitle disables the function.
.caixaMW {
  ********************************************************************************************/
    margin: 1px 0;
    padding: .1em;
    font-size: 93%;
    line-height:120%;
    clear: both;
}
.caixaMW.info,
.caixa.info {
    background-color: white;
    border: 1px solid #ccc;
}
.caixaMW.infodestaque,
.caixa.infodestaque {
    background-color: #f5faff;
    border: 1px solid #cedff2;
}
.caixaMW.aviso,
.caixa.aviso {
    background-color:#fff3f3;
    border: 1px solid #ffc9c9;
}
.caixaMW.avisodestaque,
.caixa.avisodestaque {
    background-color:#fff;
    border: 2px solid #f00;
}
 
/* for MediaWiki:Sharedupload */
#sharedupload-warn {
    width: 100%;
    clear: right;
    border: 1px solid gray;
    background: #f9f9f9;
    margin: 0 0 1em 0;
    padding: 4px;
    font-size: 90%;
    text-align: left;
    float: left;
}
 
/* skin padrão para caixas de navegação (navbox) */
table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 2px;
    text-align: center;
    width: 100%;
}
 
table.navbox th {
    background-color: #ccf;
    padding-left: 1em;
    padding-right: 1em;
}


table.navbox tr:not(:first-child) th {
rewritePageH1 = function() {
     background-color: #ddf;
     try {
}
        var realTitleBanner = document.getElementById("RealTitleBanner");
 
        if (realTitleBanner) {
@media print {
            if (!document.getElementById("DisableRealTitle")) {
    .navbox {
                var realTitle = document.getElementById("RealTitle");
        display: none;
                var h1 = document.getElementsByTagName("h1")[0];
                if (realTitle && h1) {
                    h1.innerHTML = realTitle.innerHTML;
                    realTitleBanner.style.display = "none";
                }
            }
        }
    }
catch (e) {
    /* Algo deu errado. */
     }
     }
}
/*  Barra de navegação  */
div.Boxmerge,
div.NavFrame {
        margin: 0px;
        padding: 2px;
        border: 1px solid #aaaaaa;
        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: #ffffff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        font-size: 100%;
        background-color: #efefef;
        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: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}
  /*
==Referencias==
*/
/* make the list of references look smaller */
ol.references {
  font-size: 100%;
  }
  }
addOnloadHook(rewritePageH1);


/* Realce a azul das referências ''clicadas'' para ajudar na navegação */


  ol.references > li:target,
  /** Wiki Mini Atlas ************************************************************************
   span.citation:target {
   *  Descrição: Mini atlas para artigos com geocoodernadas.
   background-color: #DEF;
   *      Autor: [[en:User:Dschwen]]
}
   ********************************************************************************************/
 
sup.reference:target {
   background-color: #DEF;
}
 
/* Formatação de citações */
span.citation, cite {
  font-style: normal;
  word-wrap: break-word;
}


/* Para números e IDs de documentos ligados, em que o número
if (wgServer == "https://secure.wikimedia.org") {
não precisa ser mostrado em uma tela ou computador de mão,
  var metaBase = "https://secure.wikimedia.org/wikipedia/meta";
mas deve ser incluído na versão impressa
} else {
*/
  var metaBase = "http://meta.wikimedia.org";
@media screen, handheld {
    span.citation *.printonly {
        display: none;
    }
}
}
importScriptURI(metaBase+"/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400")


.references-small { font-size: 90%; }
/* Bloqueado até versão final do IE 8 */
/*
@media screen {
    .references-small {
        height: auto;
        max-height: 350px;
        overflow: auto;
        padding: 3px;
    }
}
*/




  /*
==redirect em verde==
*/


/* Faz com que os redirects apareçam em itálico e verde em [[Special:Allpages]] e [[Special:Watchlist]] */
  .allpagesredirect a,
  .unusedtemplatesredirect a,
  .watchlistredir a  {
    font-style: italic;
    color:green;
}




  /*
==CommonsTicker styles==
*/
  /************************/
  /* CommonsTicker styles */
  /************************/
  /*
===links===
*/
  .tickerDiffLink { } /* diff links in ticker */
  .tickerMiscLink { } /* misc links in ticker */
  /*
===remove list bullets===
*/
  .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; }


  /*
===per-type styles===
*/
  .tickerEntry_deleted    {font-weight: bold;}  /* entry for image deletion */
  .tickerEntry_restored    {font-size: small;}  /* entry for restored image */
  .tickerEntry_replaced    { }  /* entry for image replacement */
  .tickerEntry_tagged      { }  /* entry for adding/removing problem tags */
  .tickerEntry_redir      { }  /* entry for critical redirection (fot tag redirects) */
  .tickerEntry_recat      { }  /* entry for critical re-categorization (for tag categories) */
  .tickerEntry_notify      { }  /* entry for global notifications */
  .tickerEntry_changed    { }  /* entry for generic change */


  /*
===per-action styles===
*/
  .tickerAction_deleted:before    { content:" GONE "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; } 
  .tickerAction_restored:before    { content:" BACK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } 
  .tickerAction_deletedRev:before  { content:" -OLD "; color: #DDAAAA; font-family:monospace; font-weight:bold; font-size:100%; } 
  .tickerAction_replaced:before    { content:" REPL "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; } 
  .tickerAction_replacedOwn:before { content:" UPDT "; color: #EEAAFF; font-family:monospace; font-weight:bold; font-size:100%; } 
  .tickerAction_addedBad:before    { content:" +VfD "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; } 
  .tickerAction_removedBad:before  { content:" -VfD "; 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%; }
  /*
===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)====
*/
  /*.tickerStatus_done .tickerAction_deleted:before  { content:" "; text-decoration: none;}*/
  .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;}
  /*
====dados pessoais====
*/
  table.metadata {
    border: 1px solid #aaa;
    display: none;
    speak: none;
}
  .metadata-label {
    color: #aaa;
}
  /*
====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 */


/*
=== ticker usage list===
*/


  .tickerUsage  { font-size:80%; } 


  /* entry applies to a template used by multiple images */
  .tickerTemplateEntry    { font-weight: bold; }


  /* entry applies to sub-entries, i.e. images that use a specific template */
  .tickerSubEntry        { }                     


  /* minor entry styles */
  .tickerMinorEntry  { color:#666; }    /* minor entry */
  .tickerMinorEntry a,
  .tickerMinorEntry a:link,
  .tickerMinorEntry a:visited { color:#669; }
  #bodyContent .tickerMinorEntry a.extiw,
  #bodyContent .tickerMinorEntry a.extiw:link,
  #bodyContent .tickerMinorEntry a.extiw:visited { color:#669; }






/*****
** styles for Template:Creator (utilisé par commons. Répare la perte du style)
*****/
table.creator { text-align:left; border-collapse:collapse; background-color:#F0F0FF; }
table.creator th { background: #E0E0EE;  vertical-align: top; }
table.creator td { background: #F0F0FF; vertical-align: top; }
table.creator td.creator-name { font-weight: bold; }


/* Íconpara predefinições medialist [[Template:Ouça]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
/** Collapsible tables *********************************************************
  *
  *  Description: Allows tables to be collapsed, showing only the header. See
  *              [[Wikipedia:NavFrame]].
  *  Maintainers: [[User:R. Koot]]
  */




  div.listenlist {
var autoCollapse = 2;
    background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
  var collapseCaption = "Esconder";
    padding-left: 40px;
  var expandCaption = "Expandir";
  }
 
  div.videolist, div.multivideolist {
    background: url("http://upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
    padding-left: 50px;
  }
 
  /* Style rules for media list templates */
 
  div.medialist {
    min-height: 50px;
    margin: 1em;
    background-position: top left;
    background-repeat: no-repeat;
  }
 
  div.medialist ul {
    list-style-type: none;
    list-style-image: none;
    margin: 0;
  }
 
  div.medialist ul li {
    padding-bottom: 0.5em;
  }
 
  div.medialist ul li li {
    font-size: 91%;
    padding-bottom: 0;
  }
 
/* Change the external link icon to an Adobe icon for all PDF files
  in browsers that support these CSS selectors, like Mozilla and Opera */
  #content a[href$=".pdf"].external,
  #content a[href*=".pdf?"].external,
  #content a[href*=".pdf#"].external,
  #content a[href$=".PDF"].external,
  #content a[href*=".PDF?"].external,
  #content a[href*=".PDF#"].external,
  #mw_content a[href$=".pdf"].external,
  #mw_content  a[href*=".pdf?"].external,
  #mw_content  a[href*=".pdf#"].external,
  #mw_content  a[href$=".PDF"].external,
  #mw_content a[href*=".PDF?"].external,
  #mw_content  a[href*=".PDF#"].external {
    background:
        url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif")
        center right no-repeat;
    padding-right: 16px;
}
 
/* Change the external link icon to an Adobe icon anywhere the PDFlink class
  is used (notably Template:PDFlink). This works in IE, unlike the above. */
  #content span.PDFlink a,
  #mw_content span.PDFlink a {
    background:
        url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif")
        center right no-repeat;
    padding-right: 17px;
  }
 
/* Remove link styling. Already defined in monobook
  and modern, but not defined in the other skins. Bug 18708 */
  #content .plainlinks a,
  #mw_content .plainlinks a {
    background: none !important;
    padding: 0 !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 4px 2px 4px;
}
.messagebox.small {
  width: 238px;
  font-size: 85%;
  float: right;
  clear: both;
  margin: 0 0 1em 1em;
  line-height: 1.25em;
}
 
/*
</pre>
*/
 
 
 
/** Caixa com abas - [[Predefinição:Metacaixa]] (definição das cores) ***********************
  *    Origem: [[:w:fr:MediaWiki:Common.css]] (traduzido de [[:w:ca:MediaWiki:Common.css]])
  * Descrição: Ver [[Predefinição:Metacaixa]]
  *    Autor: [[:w:ca:User:Peleguer]], [[:w:ca:User:Joanjoc]], [[:w:fr:User:Antaya]](adaptação) e [[:w:pt:Rei-artur]] (adaptação)
  ********************************************************************************************/
   
   
/*
function collapseTable( tableIndex )
Configuração padrão das cores
{
Cores utilizadas; 1; 8080ff 2; 9f9fff 3; c4c4ff 4; ddddff 5; eaeaff */
    var Button = document.getElementById( "collapseButton" + tableIndex );
    var Table = document.getElementById( "collapsibleTable" + tableIndex );
   
   
.mbBouton {
    if ( !Table || !Button ) {
  background-color: #ddddff; /* 4 */
        return false;
  border: 0.15em solid #000000;
    }
  border-color: #eaeaff #c4c4ff #9f9fff #eaeaff;  /* 5 3 2 5 */
  -moz-border-radius: .5em .5em 0em 0em;
  cursor:pointer;
  display: inline;
  margin-right: 0.1em;
  padding: 0.2em 0.3em 0.2em 0.3em;
  position: relative;}
   
   
.mbBouton a,
    var Rows = Table.rows;
.mbBouton strong {
  background: none !important;
  color:#8080ff !important;  /* 1 */
  font-size: 90%;
  font-weight: bold;
  padding: 0 !important;
  text-decoration: none !important;}
   
   
.mbBouton a:hover,
    if ( Button.firstChild.data == collapseCaption ) {
.mbBouton strong:hover {
        for ( var i = 1; i < Rows.length; i++ ) {
  color: black !important;
            Rows[i].style.display = "none";
  text-decoration: underline !important;}
        }
        Button.firstChild.data = expandCaption;
    } else {
        for ( var i = 1; i < Rows.length; i++ ) {
            Rows[i].style.display = Rows[0].style.display;
        }
        Button.firstChild.data = collapseCaption;
    }
}
   
   
.mbBoutonSel {
function createCollapseButtons()
  background-color: #9f9fff; /* 2 */
{
  border: 0.15em solid #000000;
    var tableIndex = 0;
  border-color: #c4c4ff #8080ff #9f9fff #c4c4ff; /* 3 1 2 3 */
    var NavigationBoxes = new Object();
  -moz-border-radius: .5em .5em 0em 0em;
    var Tables = document.getElementsByTagName( "table" );
  cursor: default;
  display: inline;
  margin-right: 0.1em;
  padding: 0.2em 0.3em 0.2em 0.3em;
  position: relative;
  color:white;}
   
   
.mbBoutonSel a {
    for ( var i = 0; i < Tables.length; i++ ) {
  background: none !important;
        if ( hasClass( Tables[i], "collapsible" ) ) {
  color:white !important;
  cursor: default;
  font-size: 90%;
  font-weight: bold;
  padding: 0 !important;
  text-decoration: none !important;}
   
   
.mbContenu {
            /* only add button and increment count if there is a header row to work with */
  background-color: #f8f8ff;
            var HeaderRow = Tables[i].getElementsByTagName( "tr" )[0];
  border: 0.2em solid #9f9fff; /* 2 */
            if (!HeaderRow) continue;
  border-color: #9f9fff #8080ff #8080ff #9f9fff ; /* 2 1 1 2 */
            var Header = HeaderRow.getElementsByTagName( "th" )[0];
  -moz-border-radius: 0em .5em .5em 0em;
            if (!Header) continue;
  padding: 1em;
  position: static; }
   
   
.mbOnglet {
            NavigationBoxes[ tableIndex ] = Tables[i];
  background-color: #f8f8ff;
            Tables[i].setAttribute( "id", "collapsibleTable" + tableIndex );
  border-color: #8080ff #c4c4ff #c4c4ff #8080ff; /* 1 3 3 1 */  width: 100%;
}
   
   
/* Configuration du Lilas 1;7050a0 2;9070c0 3;b090e0 4;d0b0ff 5;f0d0ff */
            var Button    = document.createElement( "span" );
            var ButtonLink = document.createElement( "a" );
            var ButtonText = document.createTextNode( collapseCaption );
   
   
.mbLilas .mbBouton {
            Button.style.styleFloat = "right";
background-color: #d0b0ff; /* 4 */
            Button.style.cssFloat = "right";
border-color: #f0d0ff #b090e0 #9070c0 #f0d0ff; /* 5 3 2 5 */}
            Button.style.fontWeight = "normal";
            Button.style.textAlign = "right";
            Button.style.width = "6em";
   
   
.mbLilas .mbBouton a,
            ButtonLink.style.color = Header.style.color;
.mbLilas .mbBouton strong {
            ButtonLink.setAttribute( "id", "collapseButton" + tableIndex );
  color:#8080ff !important; /* 1 */
            ButtonLink.setAttribute( "href", "javascript:collapseTable(" + tableIndex + ");" );
  font-size:90%}
            ButtonLink.appendChild( ButtonText );
   
   
.mbLilas .mbBouton a:hover,
            Button.appendChild( document.createTextNode( "[" ) );
.mbLilas .mbBouton strong:hover {
            Button.appendChild( ButtonLink );
  color: black !important;
            Button.appendChild( document.createTextNode( "]" ) );
  text-decoration: underline;}
   
   
.mbLilas .mbBoutonSel {
            Header.insertBefore( Button, Header.childNodes[0] );
  background-color: #9070c0; /* 2 */
            tableIndex++;
  border-color: #b090e0 #7050a0 #9070c0 #b090e0;  /* 3 1 2 3 */}
        }
    }
   
   
.mbLilas .mbContenu {
    for ( var i = 0;  i < tableIndex; i++ ) {
  background-color: #f5fffa;
        if ( hasClass( NavigationBoxes[i], "collapsed" ) || ( tableIndex >= autoCollapse && hasClass( NavigationBoxes[i], "autocollapse" ) ) ) {
  border-color: #9070c0 #7050a0 #7050a0 #9070c0 ; /* 2 1 1 2 */}
            collapseTable( i );
        }
    }
}
   
   
.mbLilas .mbOnglet {
addOnloadHook( createCollapseButtons );
  background-color: #f5fffa;
  border-color: #7050a0 #b090e0 #b090e0 #7050a0; /* 1 3 3 1 */}
   
   
/** Dynamic Navigation Bars (experimental) *************************************
  *
  *  Description: See [[Wikipedia:NavFrame]].
  *  Maintainers: UNMAINTAINED
  */
   
   
/* Configuration du Vert 1;60b030 2;75c045 3;90d060 4;a5e085 5;c0f090 */
  // set up the words in your language
  var NavigationBarHide = '[' + collapseCaption + ']';
  var NavigationBarShow = '[' + expandCaption + ']';
   
   
.mbVert .mbBouton {
  // shows and hides content and picture (if available) of navigation bars
background-color: #a5e085; /* 4 */
  // Parameters:
border-color: #c0f090 #90d060 #75c045 #c0f090; /* 5 3 2 5 */}
  //     indexNavigationBar: the index of navigation bar to be toggled
  function toggleNavigationBar(indexNavigationBar)
  {
    var NavToggle = document.getElementById("NavToggle" + indexNavigationBar);
    var NavFrame = document.getElementById("NavFrame" + indexNavigationBar);
   
   
.mbVert .mbBouton a,
    if (!NavFrame || !NavToggle) {
.mbVert .mbBouton strong {
        return false;
  color:#60b030 !important; /* 1 */
    }
  font-size:90%}
   
   
.mbVert .mbBouton a:hover,
    // if shown now
.mbVert .mbBouton strong:hover {
    if (NavToggle.firstChild.data == NavigationBarHide) {
  color: black !important;
        for (
  text-decoration: underline;}
                var NavChild = NavFrame.firstChild;
                NavChild != null;
                NavChild = NavChild.nextSibling
            ) {
            if ( hasClass( NavChild, 'NavPic' ) ) {
                NavChild.style.display = 'none';
            }
            if ( hasClass( NavChild, 'NavContent') ) {
                NavChild.style.display = 'none';
            }
        }
    NavToggle.firstChild.data = NavigationBarShow;
   
   
.mbVert .mbBoutonSel {
    // if hidden now
  background-color: #75c045; /* 2 */
    } else if (NavToggle.firstChild.data == NavigationBarShow) {
   border-color: #90d060 #60b030 #75c045 #90d060;  /* 3 1 2 3 */}
        for (
                var NavChild = NavFrame.firstChild;
                NavChild != null;
                NavChild = NavChild.nextSibling
            ) {
            if (hasClass(NavChild, 'NavPic')) {
                NavChild.style.display = 'block';
            }
            if (hasClass(NavChild, 'NavContent')) {
                NavChild.style.display = 'block';
            }
        }
    NavToggle.firstChild.data = NavigationBarHide;
    }
   }
   
   
.mbVert .mbContenu {
  // adds show/hide-button to navigation bars
  background-color: #f5fffa;
  function createNavigationBarToggleButton()
  border-color: #75c045 #60b030 #60b030 #75c045 ; /* 2 1 1 2 */}
  {
    var indexNavigationBar = 0;
    // iterate over all < div >-elements
    var divs = document.getElementsByTagName("div");
    for(
            var i=0;
            NavFrame = divs[i];  
            i++
        ) {
        // if found a navigation bar
        if (hasClass(NavFrame, "NavFrame")) {
   
   
.mbVert .mbOnglet {
            indexNavigationBar++;
  background-color: #f5fffa;
            var NavToggle = document.createElement("a");
  border-color: #60b030 #90d060 #90d060 #60b030; /* 1 3 3 1 */}
            NavToggle.className = 'NavToggle';
            NavToggle.setAttribute('id', 'NavToggle' + indexNavigationBar);
            NavToggle.setAttribute('href', 'javascript:toggleNavigationBar(' + indexNavigationBar + ');');
   
   
            var NavToggleText = document.createTextNode(NavigationBarHide);
            for (
                  var NavChild = NavFrame.firstChild;
                  NavChild != null;
                  NavChild = NavChild.nextSibling
                ) {
                if ( hasClass( NavChild, 'NavPic' ) || hasClass( NavChild, 'NavContent' ) ) {
                    if (NavChild.style.display == 'none') {
                        NavToggleText = document.createTextNode(NavigationBarShow);
                        break;
                    }
                }
            }
   
   
/* Configuration du Bleu 1;3379de 2;5b8dd6 3;88abde 4;a7c1e6 5;c8d6e9 */
            NavToggle.appendChild(NavToggleText);
            // Find the NavHead and attach the toggle link (Must be this complicated because Moz's firstChild handling is borked)
            for(
              var j=0;  
              j < NavFrame.childNodes.length;  
              j++
            ) {
              if (hasClass(NavFrame.childNodes[j], "NavHead")) {
                NavFrame.childNodes[j].appendChild(NavToggle);
              }
            }
            NavFrame.setAttribute('id', 'NavFrame' + indexNavigationBar);
        }
    }
  }
   
   
.mbBleu .mbBouton {
  addOnloadHook( createNavigationBarToggleButton );
  background-color: #a7c1e6; /* 4 */
 
border-color: #c8d6e9 #88abde #5b8dd6 #c8d6e9;  /* 5 3 2 5 */}
 
  /* Test if an element has a certain class **************************************
  *
  * Description: Uses regular expressions and caching for better performance.
  * Maintainers: [[User:Mike Dillon]], [[User:R. Koot]], [[User:SG]]
  */
   
   
.mbBleu .mbBouton a,
var hasClass = (function () {
.mbBleu .mbBouton strong {
    var reCache = {};
   color:#3379de !important; /* 1 */
    return function (element, className) {
   font-size:90%}
        return (reCache[className] ? reCache[className] : (reCache[className] = new RegExp("(?:\\s|^)" + className + "(?:\\s|$)"))).test(element.className);
    };
})();
 
 
 
 
 
 
/** Caixa com abas - [[Predefinição:Metacaixa]] *********************************************
  *    Origem: [[:w:fr:MediaWiki:Common.js]] (traduzido de [[:w:ca:MediaWiki:Common.js]])
  * Descrição: Ver [[Predefinição:Metacaixa]]
   *    Autor: [[:w:ca:User:Peleguer]], [[:w:ca:User:Joanjoc]], [[:w:fr:User:Antaya]] (adaptação), [[:w:pt:Rei-artur]] (adaptação)
  ********************************************************************************************/
function CadreOngletInit(){
// retour si ailleurs que sur l'espace utilisateur,
// sachant que c'est une horreur au niveau de l'accessibilité
// et qu'il est impossible de "récupérer" ou de recycler ce script
  // (celui-ci fonctionnant par inclusion de sous pages)
  var i=0     
   for (i=0;i<=9;i++){
    var vMb = document.getElementById("mb"+i);
    if (!vMb) break;
   
   
.mbBleu .mbBouton a:hover
    var j=1   
.mbBleu .mbBouton strong:hover {
    var vOgIni = 0 
  color: black !important;
    for (j=1;j<=9;j++){
  text-decoration: underline;}
        var vBt = document.getElementById("mb"+i+"bt"+j);
        if (!vBt) break;
        vBt.onclick = CadreOngletVoirOnglet;        
        if (vBt.className=="mbBoutonSel") vOgIni=j; 
    }
   
   
.mbBleu .mbBoutonSel {
    if (vOgIni == 0) {
   background-color: #5b8dd6; /* 2 */
        vOgIni = 1+Math.floor((j-1)*Math.random()) ;
  border-color: #88abde #3379de #5b8dd6 #88abde; /* 3 1 2 3 */}
        document.getElementById("mb"+i+"og"+vOgIni).style.display = "block";
        document.getElementById("mb"+i+"og"+vOgIni).style.visibility = "visible";
        document.getElementById("mb"+i+"bt"+vOgIni).className="mbBoutonSel";
    }
   }
  }
   
   
.mbBleu .mbContenu {
function CadreOngletVoirOnglet(){
   background-color: #f0f8ff;
   var vMbNom = this.id.substr(0,3);  
   border-color: #5b8dd6 #3379de #3379de #5b8dd6; /* 2 1 1 2 */}
   var vIndex = this.id.substr(5,1);  
   
   
.mbBleu .mbOnglet {
  var i=1
   background-color: #f0f8ff;
  for (i=1;i<=9;i++){       
   border-color: #3379de #88abde #88abde #3379de; /* 1 3 3 1 */}
        var vOgElem = document.getElementById(vMbNom+"og"+i);
        if (!vOgElem) break;
        if (vIndex==i){
                vOgElem.style.display = "block";
                vOgElem.style.visibility = "visible";
                document.getElementById(vMbNom+"bt"+i).className="mbBoutonSel";
        } else {            
                vOgElem.style.display = "none";
                vOgElem.style.visibility = "hidden";
                document.getElementById(vMbNom+"bt"+i).className="mbBouton";
        }
   }
   return false;  
}
   
   
   
  addOnloadHook(CadreOngletInit);
/* Configuration du Orange 1;ff820e 2;ff9d42 3;ffac5d 4;ffbd7f 5;ffd0a4 6;ffeedd */
 
/* CÓDIGO JAVASCRIPT DE "METACAIXA" */
.mbOrange .mbBouton {
 
background-color: #ffbd7f; /* 4 */
border-color: #ffd0a4 #ffac5d #ff9d42 #ffd0a4;  /* 5 3 2 5 */}
.mbOrange .mbBouton a,
.mbOrange .mbBouton strong {
  color:#ff820e !important;  /* 1 */
  font-size:90%}
.mbOrange .mbBouton a:hover
.mbOrange .mbBouton strong:hover {
  color: black !important;
  text-decoration: underline;}
.mbOrange .mbBoutonSel {
  background-color: #ff9d42; /* 2 */
  border-color: #ffac5d #ff820e #ff9d42 #ffac5d;  /* 3 1 2 3 */}
.mbOrange .mbContenu {
  background-color: #ffeedd; /* 6 */
  border-color: #ff9d42 #ff820e #ff820e #ff9d42; /* 2 1 1 2 */}
.mbOrange .mbOnglet {
  background-color: #ffeedd; /* 6 */
  border-color: #ff820e #ffac5d #ffac5d #ff820e; /* 1 3 3 1 */}
/* Configuration du Gris 1;666666 2;868686 3;9f9f9f 4;b9b9b9 5;cfcfcf */
.mbGris .mbBouton {
background-color: #b9b9b9; /* 4 */
border-color: #cfcfcf #9f9f9f #868686 #cfcfcf; /* 5 3 2 5 */}
.mbGris .mbBouton a,
.mbGris .mbBouton strong {
  color:#666666 !important;  /* 1 */
  font-size:90%}
.mbGris .mbBouton a:hover
.mbGris .mbBouton strong:hover {
  color: black !important;
  text-decoration: underline;}
.mbGris .mbBoutonSel {
  background-color: #868686; /* 2 */
  border-color: #9f9f9f #666666 #868686 #9f9f9f;  /* 3 1 2 3 */}
.mbGris .mbContenu {
  background-color: #fffce8;
  border-color: #868686 #666666 #666666 #868686; /* 2 1 1 2 */}
.mbGris .mbOnglet {
  background-color: #fffce8;
  border-color: #666666 #9f9f9f #9f9f9f #666666; /* 1 3 3 1 */}
/* Configuration du Jaune 1;aa8800 2;eabb00 3;ffd52b 4;ffe16a 5;ffeeaa */
.mbJaune .mbBouton {
background-color: #ffe16a; /* 4 */
border-color: #ffeeaa #ffd52b #eabb00 #ffeeaa;  /* 5 3 2 5 */}
.mbJaune .mbBouton a,
.mbJaune .mbBouton strong {
  color:#aa8800!important;  /* 1 */
  font-size:90%}
.mbJaune .mbBouton a:hover
.mbJaune .mbBouton strong:hover {
  color: black !important;
  text-decoration: underline;}
.mbJaune .mbBoutonSel {
  background-color: #eabb00; /* 2 */
  border-color: #ffd52b #aa8800 #eabb00 #ffd52b;  /* 3 1 2 3 */}
.mbJaune .mbContenu {
  background-color: #fffce8;
  border-color: #eabb00 #aa8800 #aa8800 #eabb00; /* 2 1 1 2 */}
.mbJaune .mbOnglet {
  background-color: #fffce8;
  border-color: #aa8800 #ffd52b #ffd52b #aa8800; /* 1 3 3 1 */}
/* Configuration du Rouge 1;993300 2;ca4200 3;ff6215 4;ff9b6a 5;ffc6aa */
.mbRouge .mbBouton {
background-color: #ff9b6a; /* 4 */
border-color: #ffc6aa #ff6215 #ca4200 #ffc6aa;  /* 5 3 2 5 */}
.mbRouge .mbBouton a,
.mbRouge .mbBouton strong {
  color:#993300!important;  /* 1 */
  font-size:90%}
.mbRouge .mbBouton a:hover
.mbRouge .mbBouton strong:hover {
  color: black !important;
  text-decoration: underline;}
.mbRouge .mbBoutonSel {
  background-color: #ca4200; /* 2 */
  border-color: #ff6215 #993300 #ca4200 #ff6215;  /* 3 1 2 3 */}
.mbRouge .mbContenu {
  background-color: #fffce8;
  border-color: #ca4200 #993300 #993300 #ca4200; /* 2 1 1 2 */}
.mbRouge .mbOnglet {
  background-color: #fffce8;
  border-color: #993300 #ff6215 #ff6215 #993300; /* 1 3 3 1 */}
/*FIN DES SCHÉMAS DE COULEUR DE "CADRE À ONGLETS"*/


/************************************************
***    Infobox V2 - em fase de teste        ***
*** Ver [[fr:Projet:Infobox/V2]]            ***
************************************************/
.infobox_v2 {
background: #f9f9f9;
color: #000;
font-size: 90%;
line-height: 1.1em;
float:right;
clear:right;
margin:0 0 .5em 1em;
width: 23em;
border: 1px solid #aaa;
padding: 2px;
}
.infobox_v2 th {
vertical-align:top;
text-align:left;
}
.infobox_v2 .topo{
height:45px;
vertical-align:middle;
text-align:center;
font-size:120%;
font-weight:bolder;
line-height:1.2em;
color:#000;
}


.infobox_v2 .midia {
  /** ***************************************************************************
height:35px;
  * Descrição: Adiciona a predefinição {protegido} e {protegido-ip} automáticos para artigos protegidos
vertical-align:middle;
   * Autor: [[:pt:User:Rei-artur]]
text-align:center;
   ******************************************************************************/
font-weight:bolder;
  importScript('MediaWiki:Topicon.js')
color:#000;
}
   
/* Imagens transparentes dos topos da infobox V2 */
.topo.padrao      {}
.topo.bd          {background: url("http://upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png") no-repeat top right;}
.topo.cerveja    {background: url("http://upload.wikimedia.org/wikipedia/commons/0/04/Picto_infobox_beer.png")          no-repeat top right;}
.topo.cinema      {background: url("http://upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png")        no-repeat top right;}
.topo.comunicacao {background: url("http://upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png")      no-repeat top right;}
.topo.humano      {background: url("http://upload.wikimedia.org/wikipedia/commons/8/82/Picto_infobox_manwoman.png")      no-repeat top right;}
.topo.jogo        {background: url("http://upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png")      no-repeat bottom right;}
.topo.mapa        {background: url("http://upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png")          no-repeat top right;}
.topo.musica      {background: url("http://upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png")        no-repeat bottom right;}
.topo.teatro      {background: url("http://upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png")        no-repeat top right;}
.topo.esporte    {background: url("http://upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.png")      no-repeat top right;}
.topo.sci-fi      {background: url("http://upload.wikimedia.org/wikipedia/commons/e/ed/Picto_infobox_fliyingsaucer.png") no-repeat top right;}
.topo.autor      {background: url("http://upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_auteur.png")        no-repeat top right;}
.topo.animal      {background: url("http://upload.wikimedia.org/wikipedia/commons/5/54/Picto_infobox_animal.png")        no-repeat top right;}
.topo.astronomia  {background: url("http://upload.wikimedia.org/wikipedia/commons/7/71/Picto_infobox_astronomy.png")    no-repeat top right;}
.topo.quimica    {background: url("http://upload.wikimedia.org/wikipedia/commons/5/57/Picto_Info_sciences_exactes.png") no-repeat top right;}
.topo.ponte      {background: url("http://upload.wikimedia.org/wikipedia/commons/8/87/Picto_infobox_bridge.png")        no-repeat top right;}
.topo.conflito    {background: url("http://upload.wikimedia.org/wikipedia/commons/a/a5/Picto_infobox_conflict.png")      no-repeat top right;}
.topo.wiki        {background: url("http://upload.wikimedia.org/wikipedia/commons/2/24/Picto_infobox_default.png")      no-repeat top right;}
.topo.filme      {background: url("http://upload.wikimedia.org/wikipedia/commons/4/4d/Picto_infobox_film.png")          no-repeat center right;}
.topo.futebol    {background: url("http://upload.wikimedia.org/wikipedia/commons/a/a8/Picto_infobox_football.png")      no-repeat top right;}
.topo.fungo      {background: url("http://upload.wikimedia.org/wikipedia/commons/7/79/Picto_infobox_fungus.png")        no-repeat top right;}
.topo.rodovia    {background: url("http://upload.wikimedia.org/wikipedia/commons/5/57/Picto_infobox_motorway.png")      no-repeat top right;}
.topo.fisica      {background: url("http://upload.wikimedia.org/wikipedia/commons/d/d1/Picto_infobox_physics.png")      no-repeat top right;}
.topo.planta      {background: url("http://upload.wikimedia.org/wikipedia/commons/0/0b/Picto_infobox_plant.png")        no-repeat top right;}
.topo.estrela    {background: url("http://upload.wikimedia.org/wikipedia/commons/2/2e/Picto_infobox_star.png")          no-repeat top right;}
.topo.ferramentas {background: url("http://upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png")        no-repeat top right;}
.topo.virus      {background: url("http://upload.wikimedia.org/wikipedia/commons/d/dc/Picto_infobox_virus.png")        no-repeat top right;}
.topo.jornal      {background: url("http://upload.wikimedia.org/wikipedia/commons/d/d6/Picto_infobox_newspaper.png")    no-repeat top right;}
.topo.livro      {background: url("http://upload.wikimedia.org/wikipedia/commons/4/42/Picto_infobox_book.png")          no-repeat center right;}
.topo.novela      {background: url("http://upload.wikimedia.org/wikipedia/commons/4/44/Picto_infobox_TV-icon-novela.png") no-repeat center right;}
.topo.televisao   {background: url("http://upload.wikimedia.org/wikipedia/commons/a/a6/Picto_infobox_TV-T%26PC.png")    no-repeat top right;}
.topo.televisao2 {background: url("http://upload.wikimedia.org/wikipedia/commons/a/a6/Picto_infobox_TV-T%26PC.png")    no-repeat bottom right;}
.topo.computador  {background: url("http://upload.wikimedia.org/wikipedia/commons/d/d1/Picto_infobox_pc.png")            no-repeat top right;}
.topo.gnulinux    {background: url("http://upload.wikimedia.org/wikipedia/commons/a/a4/Picto_infobox_gnulinux.png")      no-repeat top right;}
.topo.internet    {background: url("http://upload.wikimedia.org/wikipedia/commons/a/a1/Picto_infobox_internet.png")      no-repeat top right;}
.topo.empresa    {background: url("http://upload.wikimedia.org/wikipedia/commons/f/ff/Picto_infobox_enterprise.png")    no-repeat top right;}
.topo.brinquedo   {background: url("http://upload.wikimedia.org/wikipedia/commons/7/74/Picto_infobox_toys.png")          no-repeat top right;}
.topo.tabuleiro  {background: url("http://upload.wikimedia.org/wikipedia/commons/2/20/Picto_infobox_board_game.png")    no-repeat top right;}
.topo.uva        {background: url("http://upload.wikimedia.org/wikipedia/commons/6/66/Picto_info_grape.png")            no-repeat top right;}
.topo.espacial    {background: url("http://upload.wikimedia.org/wikipedia/commons/9/94/Picto_infobox_shuttle.png")      no-repeat top right;}
.topo.rka        {background: url("http://upload.wikimedia.org/wikipedia/commons/1/1b/Picto_infobox_RKA.png")          no-repeat top right;}
.topo.ginastica  {background: url("http://upload.wikimedia.org/wikipedia/commons/9/92/Picto_infobox_gymnastic.png")    no-repeat top right;}
.topo.bio        {background: url("http://upload.wikimedia.org/wikipedia/commons/3/3d/Picto_infobox_bio.png")          no-repeat top right;}
.topo.maravilhas {background: url("http://upload.wikimedia.org/wikipedia/commons/d/da/7Wonders.png")                    no-repeat top right;}
.topo.software    {background: url("http://upload.wikimedia.org/wikipedia/commons/f/fe/Picto_infobox_software.png")      no-repeat top right;}
.topo.robo        {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5f/Picto_infobox_robot.png")         no-repeat top right;}


.midia.audio {background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat top left;}
.midia.video {background: url("http://upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/35px-Tango-video-x-generic.png") no-repeat top left;}


/* Fim da fase de teste da Infobox V2 */
/** Banners para dicas e doações vista apenas por anônimos **************************
    *  Descrição: Frases aleatórias que podem ser vistas por anônimos the bug:
    *  Autores: [[:en:User:Gmaxwell]], [[:en:User:MZMcBride]]
  ******************************************************************************/
importScript('MediaWiki:WikiBanners.js')


/* Fundo Logo Wikibol */
.fundologo {
    background: url("http://upload.wikimedia.org/wikipedia/commons/b/b4/Wikipedia-logo-transparent-200px.png");
}


/* Permite limitar a quantidade de niveis num indice;
/*
  <div class="toclimit-3">, por exemplo, limitara somente
* Descrição: Manter no servidor seguro quem se loga pelo servidor seguro quando muda para outro projeto
  a ==nivel 2== e ===nivel 3=== e nada inferior, contanto
*            Sem este código, o usuário logado por https quando segue um interwiki, usa http e será deslogado (os logins são independentes).
  que não exista =nivel 1= na pagina.
  */
  */
.toclimit-2 .toclevel-2,
if(wgServer == 'https://secure.wikimedia.org') {
.toclimit-3 .toclevel-3,
     importScript( 'MediaWiki:Common.js/secure.js');
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7 { display: none; }
/* Remove bordas brancas de thumbnails */
div.thumb {
    border: none;
}
div.tright {
    border: none;
    margin: 0.5em 0 0.8em 1.4em;
}
div.tleft {
     border: none;
    margin: 0.5em 1.4em 0.8em 0;
}
}


/* </source> */
importScript('MediaWiki:Common.js/HotCat.js')
 
//</source>

Edição atual tal como às 11h22min de 28 de fevereiro de 2013

//<source lang="javascript">
/* Todo código JavaScript presente aqui será carregado por todos os usuários em cada página carregada. */

 /** Importar scripts específicos se for necessário ******************************************/


if (wgAction == "edit" || wgAction == "submit") //scripts específicos para editar páginas
{
    importScript("MediaWiki:Common.js/edit.js")
}
else if ( wgCanonicalSpecialPageName == "Search" ||wgPageName == "Special:Search" || wgPageName == "Special:Busca" || wgPageName == "Especial:Search"  || wgPageName == "Especial:Busca" ) //scripts específicos para Especial:Busca
{
    importScript("MediaWiki:Common.js/search.js")
}

if (navigator.appName == "Microsoft Internet Explorer") //scripts específicos para Internet Explorer
{
    importScript("MediaWiki:Common.js/IEFixes.js")
}


 /** Importar módulos JavaScript de páginas da fr.wikipedia.org ******************************
  * Obs: Importar os demais scripts utilizados da página francesa e utilizar o
  * importScript() acima, que opossui a mesma função.
  ********************************************************************************************/
 function loadJs(page)
 {
  document.write('<script type="text/javascript" src="' +
                'http://fr.wikipedia.org/w/index.php?title=' + page +
                '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 }


 /** Link destaque ***************************************************************************
  *  Descrição: Adiciona estrela ao lado da ligação dos artigos destacados das outras Wikipédias
  ********************************************************************************************/
function LinkFA() 
 {
     if ( document.getElementById( "p-lang" ) ) {
         var InterwikiLinks = document.getElementById( "p-lang" ).getElementsByTagName( "li" );
 
         for ( var i = 0; i < InterwikiLinks.length; i++ ) {
             if ( document.getElementById( InterwikiLinks[i].className + "-fa" ) ) {
                 InterwikiLinks[i].className += " FA"
                 InterwikiLinks[i].title = "Este artigo recebeu estatuto de destaque.";
             }
         }
     }
 }
 
 addOnloadHook( LinkFA );
/** Link bom ***************************************************************************
  *  Descrição: Adiciona estrela prateada ao lado da ligação dos artigos bons das outras Wikipédias
  ********************************************************************************************/
function Bominterwiki() 
 {
     if ( document.getElementById( "p-lang" ) ) {
         var InterwikiLinks = document.getElementById( "p-lang" ).getElementsByTagName( "li" );
 
         for ( var i = 0; i < InterwikiLinks.length; i++ ) {
             if ( document.getElementById( InterwikiLinks[i].className + "-bom" ) ) {
                 InterwikiLinks[i].className += " BOM"
                 InterwikiLinks[i].title = "Este artigo recebeu estatuto de bom.";
             }
         }
     }
 }
 
 addOnloadHook( Bominterwiki );


 
 /** Correlatos ******************************************************************************
  *  Descrição:Correlatos no menu lateral. Código copiado do de:wikt
  ********************************************************************************************/
 // InterProjekt-Links (vgl. [[MediaZilla:708]])
  document.write('<style type="text/css">#interProject, #sisterProjects {display: none; speak: none;} #p-tb .pBody {padding-right: 0;}<\/style>');
 function iProject() {
  if (document.getElementById("interProject")) {
   var iProject = document.getElementById("interProject").innerHTML;
   var interProject = document.createElement("div");
   interProject.style.marginTop = "0.7em";
   interProject.innerHTML = '<h5>Correlatos<\/h5><div class="pBody body">'+iProject+'<\/div>';
   document.getElementById("p-tb").appendChild(interProject);
  }
 }
 addOnloadHook(iProject);
 


 /** Altera o título da página **************************************************************
  *    Origem: [[:w:en:MediaWiki:Common.js]]
  * Descrição: A função procura por um banner como:
  * <nowiki><div id="RealTitleBanner">Div that is hidden</nowiki>
  *   <nowiki><span id="RealTitle">title</span></nowiki>
  * <nowiki></div></nowiki>
  * An element with id=DisableRealTitle disables the function.
  ********************************************************************************************/

 rewritePageH1 = function() {
    try {
        var realTitleBanner = document.getElementById("RealTitleBanner");
        if (realTitleBanner) {
            if (!document.getElementById("DisableRealTitle")) {
                var realTitle = document.getElementById("RealTitle");
                var h1 = document.getElementsByTagName("h1")[0];
                if (realTitle && h1) {
                    h1.innerHTML = realTitle.innerHTML;
                    realTitleBanner.style.display = "none";
                }
            }
        }
    } 
 catch (e) {
    /* Algo deu errado. */
    }
 }
 addOnloadHook(rewritePageH1);


 /** Wiki Mini Atlas ************************************************************************
  *  Descrição: Mini atlas para artigos com geocoodernadas.
  *      Autor: [[en:User:Dschwen]]
  ********************************************************************************************/

if (wgServer == "https://secure.wikimedia.org") {
  var metaBase = "https://secure.wikimedia.org/wikipedia/meta";
} else {
  var metaBase = "http://meta.wikimedia.org";
}
importScriptURI(metaBase+"/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400")


















 /** Collapsible tables *********************************************************
  *
  *  Description: Allows tables to be collapsed, showing only the header. See
  *               [[Wikipedia:NavFrame]].
  *  Maintainers: [[User:R. Koot]]
  */


 var autoCollapse = 2;
 var collapseCaption = "Esconder";
 var expandCaption = "Expandir";
 
 function collapseTable( tableIndex )
 {
     var Button = document.getElementById( "collapseButton" + tableIndex );
     var Table = document.getElementById( "collapsibleTable" + tableIndex );
 
     if ( !Table || !Button ) {
         return false;
     }
 
     var Rows = Table.rows;
 
     if ( Button.firstChild.data == collapseCaption ) {
         for ( var i = 1; i < Rows.length; i++ ) {
             Rows[i].style.display = "none";
         }
         Button.firstChild.data = expandCaption;
     } else {
         for ( var i = 1; i < Rows.length; i++ ) {
             Rows[i].style.display = Rows[0].style.display;
         }
         Button.firstChild.data = collapseCaption;
     }
 }
 
 function createCollapseButtons()
 {
     var tableIndex = 0;
     var NavigationBoxes = new Object();
     var Tables = document.getElementsByTagName( "table" );
 
     for ( var i = 0; i < Tables.length; i++ ) {
         if ( hasClass( Tables[i], "collapsible" ) ) {
 
             /* only add button and increment count if there is a header row to work with */
             var HeaderRow = Tables[i].getElementsByTagName( "tr" )[0];
             if (!HeaderRow) continue;
             var Header = HeaderRow.getElementsByTagName( "th" )[0];
             if (!Header) continue;
 
             NavigationBoxes[ tableIndex ] = Tables[i];
             Tables[i].setAttribute( "id", "collapsibleTable" + tableIndex );
 
             var Button     = document.createElement( "span" );
             var ButtonLink = document.createElement( "a" );
             var ButtonText = document.createTextNode( collapseCaption );
 
             Button.style.styleFloat = "right";
             Button.style.cssFloat = "right";
             Button.style.fontWeight = "normal";
             Button.style.textAlign = "right";
             Button.style.width = "6em";
 
             ButtonLink.style.color = Header.style.color;
             ButtonLink.setAttribute( "id", "collapseButton" + tableIndex );
             ButtonLink.setAttribute( "href", "javascript:collapseTable(" + tableIndex + ");" );
             ButtonLink.appendChild( ButtonText );
 
             Button.appendChild( document.createTextNode( "[" ) );
             Button.appendChild( ButtonLink );
             Button.appendChild( document.createTextNode( "]" ) );
 
             Header.insertBefore( Button, Header.childNodes[0] );
             tableIndex++;
         }
     }
 
     for ( var i = 0;  i < tableIndex; i++ ) {
         if ( hasClass( NavigationBoxes[i], "collapsed" ) || ( tableIndex >= autoCollapse && hasClass( NavigationBoxes[i], "autocollapse" ) ) ) {
             collapseTable( i );
         }
     }
 }
 
 addOnloadHook( createCollapseButtons );
 
 /** Dynamic Navigation Bars (experimental) *************************************
  *
  *  Description: See [[Wikipedia:NavFrame]].
  *  Maintainers: UNMAINTAINED
  */
 
  // set up the words in your language
  var NavigationBarHide = '[' + collapseCaption + ']';
  var NavigationBarShow = '[' + expandCaption + ']';
 
  // shows and hides content and picture (if available) of navigation bars
  // Parameters:
  //     indexNavigationBar: the index of navigation bar to be toggled
  function toggleNavigationBar(indexNavigationBar)
  {
     var NavToggle = document.getElementById("NavToggle" + indexNavigationBar);
     var NavFrame = document.getElementById("NavFrame" + indexNavigationBar);
 
     if (!NavFrame || !NavToggle) {
         return false;
     }
 
     // if shown now
     if (NavToggle.firstChild.data == NavigationBarHide) {
         for (
                 var NavChild = NavFrame.firstChild;
                 NavChild != null;
                 NavChild = NavChild.nextSibling
             ) {
             if ( hasClass( NavChild, 'NavPic' ) ) {
                 NavChild.style.display = 'none';
             }
             if ( hasClass( NavChild, 'NavContent') ) {
                 NavChild.style.display = 'none';
             }
         }
     NavToggle.firstChild.data = NavigationBarShow;
 
     // if hidden now
     } else if (NavToggle.firstChild.data == NavigationBarShow) {
         for (
                 var NavChild = NavFrame.firstChild;
                 NavChild != null;
                 NavChild = NavChild.nextSibling
             ) {
             if (hasClass(NavChild, 'NavPic')) {
                 NavChild.style.display = 'block';
             }
             if (hasClass(NavChild, 'NavContent')) {
                 NavChild.style.display = 'block';
             }
         }
     NavToggle.firstChild.data = NavigationBarHide;
     }
  }
 
  // adds show/hide-button to navigation bars
  function createNavigationBarToggleButton()
  {
     var indexNavigationBar = 0;
     // iterate over all < div >-elements 
     var divs = document.getElementsByTagName("div");
     for(
             var i=0; 
             NavFrame = divs[i]; 
             i++
         ) {
         // if found a navigation bar
         if (hasClass(NavFrame, "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);
             for (
                  var NavChild = NavFrame.firstChild;
                  NavChild != null;
                  NavChild = NavChild.nextSibling
                 ) {
                 if ( hasClass( NavChild, 'NavPic' ) || hasClass( NavChild, 'NavContent' ) ) {
                     if (NavChild.style.display == 'none') {
                         NavToggleText = document.createTextNode(NavigationBarShow);
                         break;
                     }
                 }
             }
 
             NavToggle.appendChild(NavToggleText);
             // Find the NavHead and attach the toggle link (Must be this complicated because Moz's firstChild handling is borked)
             for(
               var j=0; 
               j < NavFrame.childNodes.length; 
               j++
             ) {
               if (hasClass(NavFrame.childNodes[j], "NavHead")) {
                 NavFrame.childNodes[j].appendChild(NavToggle);
               }
             }
             NavFrame.setAttribute('id', 'NavFrame' + indexNavigationBar);
         }
     }
  }
 
  addOnloadHook( createNavigationBarToggleButton );


 /* Test if an element has a certain class **************************************
  *
  * Description: Uses regular expressions and caching for better performance.
  * Maintainers: [[User:Mike Dillon]], [[User:R. Koot]], [[User:SG]]
  */
 
 var hasClass = (function () {
     var reCache = {};
     return function (element, className) {
         return (reCache[className] ? reCache[className] : (reCache[className] = new RegExp("(?:\\s|^)" + className + "(?:\\s|$)"))).test(element.className);
     };
 })();






 /** Caixa com abas - [[Predefinição:Metacaixa]] *********************************************
  *    Origem: [[:w:fr:MediaWiki:Common.js]] (traduzido de [[:w:ca:MediaWiki:Common.js]])
  * Descrição: Ver [[Predefinição:Metacaixa]]
  *     Autor: [[:w:ca:User:Peleguer]], [[:w:ca:User:Joanjoc]], [[:w:fr:User:Antaya]] (adaptação), [[:w:pt:Rei-artur]] (adaptação)
  ********************************************************************************************/
function CadreOngletInit(){
 // retour si ailleurs que sur l'espace utilisateur, 
 // sachant que c'est une horreur au niveau de l'accessibilité
 // et qu'il est impossible de "récupérer" ou de recycler ce script
 // (celui-ci fonctionnant par inclusion de sous pages) 
  var i=0       
  for (i=0;i<=9;i++){
     var vMb = document.getElementById("mb"+i);
     if (!vMb) break;
 
     var j=1    
     var vOgIni = 0  
     for (j=1;j<=9;j++){
        var vBt = document.getElementById("mb"+i+"bt"+j);
        if (!vBt) break;
        vBt.onclick = CadreOngletVoirOnglet;          
        if (vBt.className=="mbBoutonSel") vOgIni=j;  
     }
 
     if (vOgIni == 0) { 
         vOgIni = 1+Math.floor((j-1)*Math.random()) ;
         document.getElementById("mb"+i+"og"+vOgIni).style.display = "block";
         document.getElementById("mb"+i+"og"+vOgIni).style.visibility = "visible";
         document.getElementById("mb"+i+"bt"+vOgIni).className="mbBoutonSel";
     } 
  }
 }
 
 function CadreOngletVoirOnglet(){
  var vMbNom = this.id.substr(0,3); 
  var vIndex = this.id.substr(5,1); 
 
  var i=1
  for (i=1;i<=9;i++){        
        var vOgElem = document.getElementById(vMbNom+"og"+i);
        if (!vOgElem) break;
        if (vIndex==i){ 
                vOgElem.style.display = "block";
                vOgElem.style.visibility = "visible";
                document.getElementById(vMbNom+"bt"+i).className="mbBoutonSel";
        } else {             
                vOgElem.style.display = "none";
                vOgElem.style.visibility = "hidden";
                document.getElementById(vMbNom+"bt"+i).className="mbBouton";
        }
  }
  return false; 
 }
 
 addOnloadHook(CadreOngletInit);

/* CÓDIGO JAVASCRIPT DE "METACAIXA" */



 /** ***************************************************************************
  *  Descrição: Adiciona a predefinição {protegido} e {protegido-ip} automáticos para artigos protegidos
  *  Autor: [[:pt:User:Rei-artur]]
  ******************************************************************************/
 importScript('MediaWiki:Topicon.js')


/** Banners para dicas e doações vista apenas por anônimos **************************
    *  Descrição: Frases aleatórias que podem ser vistas por anônimos the bug:
    *  Autores: [[:en:User:Gmaxwell]], [[:en:User:MZMcBride]]
  ******************************************************************************/
 importScript('MediaWiki:WikiBanners.js')


/*
 * Descrição: Manter no servidor seguro quem se loga pelo servidor seguro quando muda para outro projeto
 *            Sem este código, o usuário logado por https quando segue um interwiki, usa http e será deslogado (os logins são independentes).
 */
if(wgServer == 'https://secure.wikimedia.org') {
    importScript( 'MediaWiki:Common.js/secure.js');
}

importScript('MediaWiki:Common.js/HotCat.js')

//</source>