MediaWiki:Centralnotice-template-Strategy2030 Cycle3

<style>

/* Main banner container. Banner: background gradient, border colour and width and adding a margin between banner and article header*/ /* Important -- background gradient -- If you change one you must change all*/ .cnotice {

   position: relative;
   overflow: hidden;
   background: #ffffff;
   border: 3px solid #006699;
   margin-bottom: 1em;
   cursor: pointer;
   color: #222;
   font-weight: 500;
   margin-bottom: 10px;

}

/* Sets the minimum banner height. If img + logo-container margins > height. Banner will be larger*/

  1. cnotice-main {
   display: table;
   width: 100%;
   height: 80px; /* need to set height for height 100% to work on elements within it */

}

.cnotice-message-container, .cnotice-logo-container {

   display: table-cell;
   height: 100%;
   vertical-align: middle;

}

/* --- Main message --- */ .cnotice-message {

   position: relative;
   margin: 0;
   color: #006699;
   line-height: 1.2;
   font-weight: bold;
   padding: 11px 10px 11px 10px;

}

@media (min-width: 1200px) {

   .cnotice-message {
        padding: 11px 40px 11px 10px;
   }

}

body.rtl .cnotice-message {

   padding: 11px 40px 11px 140px;
   background-position: right 10px top 10px;

}

.cnotice-message p {

   margin: 0;
   font-family: Arial, sans-serif;
   font-style: bold;
   font-size: 14px;
   opacity: 1;
   text-align: center;
   padding-top: 10px;
   padding-bottom: 10px;

}

@media (min-width: 1200px) {

   .cnotice-message p { font-size: 16px; }

}


/* --- Logo Image text --- */ .cnotice-logo-container {

   width: 10%;
   padding: .5em 1.25em .5em .9em;

}

body.rtl .cnotice-logo-container {

   padding: .5em 1.25em .5em .9em;

}

.cnotice-logo-container img {

   opacity: 1;
   display: block;
   margin: 0 auto;

}

/* --- Close Options --- */

  1. cnotice-toggle-box-options {
   display: inline-block;
   position: absolute;
   right: .5em;
   top: .5em;
   font-size: .8em;
   text-transform: uppercase;

}

body.rtl #cnotice-toggle-box-options {

   right: auto;
   left: .5em;

}

  1. cnotice-toggle-box {
   display: inline-block;
   cursor: pointer;
   opacity: .5;

}

  1. cnotice-toggle-box:hover { opacity: 1; }
  1. cnotice-toggle-box-x {
   background: url('//upload.wikimedia.org/wikipedia/donate/3/32/Close-thin.png') no-repeat center center;
   width: 9px;
   height: 9px;
   float: right;
   display: block;
   margin: .2em .4em;

}

body.rtl #cnotice-toggle-box-x {

   float: left;

}

/* --- Full Banner Link --- */ .cnotice a.cnotice-full-banner-click {

   display: block;
   height: 100%;
   width: 100%;
   cursor: pointer;
   text-decoration: none;

}

.cnotice a.cnotice-full-banner-click:hover {

   text-decoration: underline;

}

.cnotice-button {

   background-color: #4caf50; /* Green */
   border: none;
   display: none;
   border-radius: 4px;
   color: white;
   padding: 10px 10px;
   text-align: center;
   font-weight: bold;
   text-decoration: none;
   font-size: 12px;
   margin: 4px 2px;
   -webkit-transition-duration: 0.4s; /* Safari */
   transition-duration: 0.4s;
   cursor: pointer;
   z-index: 999;

}

@media (min-width: 1200px) {

   .cnotice-button {
       display: inline-block;
   }

} @media (max-width: 1200px) {

   .cnotice-button {
       width: 25%;
       margin: auto;
       margin-top: 10px;
   }

}

/* --- Buttons --- */ .cnotice a.cnotice-buttonlink {

   cursor: pointer;
   text-decoration: none;
   color: black;

}

.cnotice a.cnotice-buttonlink:hover {

   color: white;

}

.cnotice-button1 {

   background-color: #0082c0;
   color: white;
   position: static;
   top: 45%;
   right: 23px;
   transform: translateY(-25%);
   min-width: 110px;

}

.rtl .cnotice-button1 {

   left: 23px;
   right: auto;

} @media (min-width: 1200px) { .cnotice-button1 { position: absolute; } }

.cnotice-button1:hover {

   background-color: #447FF5;

}

  1. cnotice-translation-link {
 position: absolute;
 right: 95px;
 top: 5px;
 font-size: 0.8em;
 white-space: nowrap;

}

  1. cnotice-translation-link:hover {
 text-decoration: underline;

}

.rtl #cnotice-translation-link {

 text-align: left;
 left: 95px;

} </style>

<script type="text/javascript"> var cn_rewrite_url = function() {

 url = ;
 switch(mw.config.get('wgDBname')) {
  case 'plwiki':
    url = '//pl.wikipedia.org/wiki/Wikipedia:Strategia_Wikimedia_2017';
    break;
  case 'arwiki':
    url = '//ar.wikipedia.org/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%AE%D8%B7%D8%A9_%D9%88%D9%8A%D9%83%D9%8A%D9%85%D9%8A%D8%AF%D9%8A%D8%A7_%D8%A7%D9%84%D8%A7%D8%B3%D8%AA%D8%B1%D8%A7%D8%AA%D9%8A%D8%AC%D9%8A%D8%A9_2017';
    break;
  case 'bnwiki':
    url = '//bn.wikipedia.org/wiki/%E0%A6%89%E0%A6%87%E0%A6%95%E0%A6%BF%E0%A6%AA%E0%A6%BF%E0%A6%A1%E0%A6%BF%E0%A6%AF%E0%A6%BC%E0%A6%BE:%E0%A6%89%E0%A6%87%E0%A6%95%E0%A6%BF%E0%A6%AE%E0%A6%BF%E0%A6%A1%E0%A6%BF%E0%A6%AF%E0%A6%BC%E0%A6%BE_%E0%A6%86%E0%A6%A8%E0%A7%8D%E0%A6%A6%E0%A7%8B%E0%A6%B2%E0%A6%A8%E0%A7%87%E0%A6%B0_%E0%A6%95%E0%A7%8C%E0%A6%B6%E0%A6%B2_%E0%A6%A8%E0%A6%BF%E0%A6%B0%E0%A7%8D%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A6%A3';
    break;
  case 'zhwiki':
    url = '//zh.wikipedia.org/wiki/Wikipedia:%E7%B6%AD%E5%9F%BA%E5%AA%92%E9%AB%942030';
    break;
  case 'nlwiki':
    url = '//nl.wikipedia.org/wiki/Wikipedia:Strategie_2017/Cyclus_3';
    break;
  case 'frwiki':
    url = '//fr.wikipedia.org/wiki/Wikip%C3%A9dia:Mouvement_Wikimedia/Strat%C3%A9gie_2017';
    break;
  case 'dewiki':
    url = '//de.wikipedia.org/wiki/Wikipedia:Wiki_2030';
    break;
  case 'hewiki':
    url = '//he.wikipedia.org/wiki/ויקיפדיה:התהליך_האסטרטגי_לשנת_2017';
    break;
  case 'hiwiki':
    url = '//hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AE%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE_%E0%A4%86%E0%A4%82%E0%A4%A6%E0%A5%8B%E0%A4%B2%E0%A4%A8_%E0%A4%B0%E0%A4%A3%E0%A4%A8%E0%A5%80%E0%A4%A4%E0%A4%BF_%E0%A4%A8%E0%A4%BF%E0%A4%B0%E0%A5%8D%E0%A4%A7%E0%A4%BE%E0%A4%B0%E0%A4%A3_%E0%A5%A8%E0%A5%A6%E0%A5%A7%E0%A5%AD';
    break;
  case 'itwiki':
    url = '//it.wikipedia.org/wiki/Wikipedia:Strategia';
    break;
  case 'jawiki':
    url = '//ja.wikipedia.org/wiki/Wikipedia:%E3%82%A6%E3%82%A3%E3%82%AD%E3%83%A1%E3%83%87%E3%82%A3%E3%82%A22030';
    break;
  case 'ptwiki':
    url = '//pt.wikipedia.org/wiki/Wikip%C3%A9dia:Esplanada/geral/Discuss%C3%A3o_de_estrat%C3%A9gia_do_Movimento_Wikimedia_(14mar2017)';
    break;
  case 'ruwiki':
  case 'ruwikibooks':
  case 'ruwikinews':
  case 'ruwikiquote':
  case 'ruwikisource':
  case 'ruwikiversity':
  case 'ruwikivoyage':
  case 'ruwiktionary':
    url = '//ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%A1%D1%82%D1%80%D0%B0%D1%82%D0%B5%D0%B3%D0%B8%D1%8F_%D0%B4%D0%B2%D0%B8%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F_%D0%92%D0%B8%D0%BA%D0%B8%D0%BC%D0%B5%D0%B4%D0%B8%D0%B0';
    break;
  case 'eswiki':
    url = '//es.wikipedia.org/wiki/Wikipedia:Estrategia_2017';
    break;
  case 'viwiki':
    url = '//vi.wikipedia.org/wiki/Wikipedia:Th%E1%BA%A3o_lu%E1%BA%ADn_Chi%E1%BA%BFn_l%C6%B0%E1%BB%A3c_Phong_tr%C3%A0o_Wikimedia_2017/Chu kỳ 3';
    break;
  case 'enwiki':
    url = '//en.wikipedia.org/wiki/Wikipedia:Wikimedia_Strategy_2017';
    break;
  case 'mediawikiwiki':
    url = '//www.mediawiki.org/wiki/Project:Wikimedia_Strategy_2017';
    break;
  case 'wikidatawiki':
    url = '//www.wikidata.org/wiki/Wikidata:Strategy_2017';
    break;
  case 'commonswiki':
    url = '//commons.wikimedia.org/wiki/Commons:Wikimedia_Strategy_2017';
    break;
 }
 if(url!=) $("div#Strategy2030_Cycle3 a.cnotice-full-banner-click").attr("href",url);

}; $(document).ready(cn_rewrite_url); </script>

   <a class="cnotice-full-banner-click external text" href="//meta.wikimedia.org/wiki/Special:MyLanguage/Strategy/Wikimedia_movement/2017/Cycle_3">
               <img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikimedia_Community_Logo.svg/50px-Wikimedia_Community_Logo.svg.png" alt="Banner logo">

{{{text1}}}

   </a>    
       
           Close