MediaWiki:Centralnotice-template-B11 Donate Currency AvsB
<style type="text/css">
/* Common style for 2011 banners */
/* Suppress lock icon for secure links in the banner */ #centralNotice a[href^="https://"], .link-https { background-image: none !important; padding: 0 !important; }
/* Set a grey border, grey background, etc. */ .cn-fundraiser-banner { position: relative; border: 1px solid silver; background-color: #fbfbfb; margin-bottom: 0.5em !important; padding-top: 1em; padding-bottom: 1em; text-align:center; }
/* Put the little X in the top-right (ltr) or top-left (rtl) corner */ #cn-toggle-box { position: absolute; z-index: 51; top: 7px; } body.ltr #cn-toggle-box { right: 7px; } body.rtl #cn-toggle-box { left: 7px; } #cn-toggle-box img { display: block; }
/* Put the big X in the top-right (ltr) or top-left (rtl) corner */ #cn-close-box { position: absolute; z-index: 51; top: 5px; } body.ltr #cn-close-box { right: 5px; } body.rtl #cn-close-box { left: 5px; } #cn-close-box img { display: block; }
/* Bold, blue text */ .cn-blue-text { font-weight: bold; color: #6e98c2; text-align: center; font-size: 1.3em; }
/* Bigger bold, blue text */ .cn-bold-blue-text { font-size: 2.25em; font-weight: bold; color: navy; text-align: center; padding: 0.5em !important; line-height: 1em; direction: ltr; // Temporary fix for FRDrill 6. Will be removed later (breaks RTL when we have translations) }
/* For buttons in the lower right (ltr) or left (rtl) corner */ .cn-bottom-right-float { position: absolute; z-index: 50; bottom: 1em; } body.ltr .cn-bottom-right-float { right: 1em; } body.rtl .cn-bottom-right-float { left: 1em; }
/* For buttons in the upper left (ltr) or right (rtl) corner */
.cn-top-left-float { position: absolute; z-index: 50; top: 1em; } body.ltr .cn-top-left-float { left: 1em; } body.rtl .cn-top-left-float { right: 1em; }
/* To make the entire banner clickable */ a.cn-full-banner-click { display:block; position:relative; height:100%; width:100%; }
</style> <style type="text/css">
- notice-button-2011 {
height: 30px; text-align: center; background-color: transparent; }
body.ltr #notice-button-2011 {
float: right; }
body.rtl #notice-button-2011 {
float: left; }
- notice-button-2011-start {
float: right; background-image: url(//upload.wikimedia.org/wikipedia/foundation/a/a7/CNtranslatebutton2.png); background-position: right bottom; width: 4px; height: 30px; }
#notice-button-2011-end { float: right; background-image: url(//upload.wikimedia.org/wikipedia/foundation/a/a7/CNtranslatebutton2.png); background-position: left top; width: 4px; height: 30px; }
- notice-button-2011-label {
float: right; background-image: url(//upload.wikimedia.org/wikipedia/foundation/a/a7/CNtranslatebutton2.png); background-position: center center; background-repeat: repeat-x; font-family: sans-serif; font-size: 1em; font-weight: bold; color: black; line-height: 30px; height: 30px; padding: 0 4px; white-space: nowrap; text-decoration: none; cursor: pointer; }
- notice-button-2011-label:hover{
text-decoration: none; cursor: pointer;
}
- notice-button-2011-Editor {
position:absolute; height: 30px; text-align: center; background-color: transparent; bottom: 15px;
} body.ltr #notice-button-2011-Editor {
left: 40px;
} body.rtl #notice-button-2011-Editor {
right: 40px;
}
- notice-button-2011-start-Editor {
float: left; background-image: url(//upload.wikimedia.org/wikipedia/foundation/a/a7/CNtranslatebutton2.png); background-position: left top; width: 4px; height: 30px; }
#notice-button-2011-end-Editor { float: left; background-image: url(//upload.wikimedia.org/wikipedia/foundation/a/a7/CNtranslatebutton2.png); background-position: right bottom; width: 4px; height: 30px; }
- notice-button-2011-label-Editor {
float: left; background-image: url(//upload.wikimedia.org/wikipedia/foundation/a/a7/CNtranslatebutton2.png); background-position: center center; background-repeat: repeat-x; font-family: sans-serif; font-size: .5em; font-weight: bold; color: black; line-height: 30px; height: 30px; padding: 0 4px; white-space: nowrap; }
</style> <style type="text/css">
- centralNotice.collapsed #{{{utm-banner}}}{
display: none;
}
- {{{utm-banner}}} {
position: relative; background-image: url({{{image-url}}}); background-repeat: no-repeat; margin-bottom: 0.5em !important; background-color:#FFFFFF; border: solid 1px silver; height:172px; overflow: hidden;
} body.ltr #{{{utm-banner}}} {
background-position: 0px 0px;
} body.rtl #{{{utm-banner}}} {
background-position: 100% 0%;
}
- {{{utm-banner}}} a {
text-decoration: none;
}
- {{{utm-banner}}} a:hover {
text-decoration: none;
}
- cn-bold-blue-text:hover {
text-decoration: underline;
}
/* Bigger bold, blue text */
- {{{utm-banner}}} #cn-bold-blue-text {
font-size: 2em; font-weight: bold; font-family: Helvetica, Arial, sans-serif; color: navy; padding: 2.2em 90px 0.3em 185px; line-height: 1em; text-align:center; text-direction:ltr;
}
- {{{utm-banner}}} #thermo-caption {
font-size: 1.5em; font-weight: bold; font-family: Helvetica, Arial, sans-serif; color: navy; padding: 0; line-height: 1.5em; text-align:center; margin: 0 0 0 130px;
}
- {{{utm-banner}}} #thermometer-wrapper {
position:relative; bottom: 10px; right: 15px; height: 21px; width: 445px; margin: 1em auto;
}
#{{{utm-banner}}} #notice-thermometer { position: relative; height: 21px; width: 545px; margin: 0.75em 0.75em 0.25em 0.75em;
}
- {{{utm-banner}}} #notice-thermometer-start {
float: left; background-image: url(//upload.wikimedia.org/wikipedia/foundation/3/3d/Fundraising-2010-thermometer2.png); background-position: left top; width: 10px; height: 21px;
}
- {{{utm-banner}}} #notice-thermometer-base {
float: left; background-image: url(//upload.wikimedia.org/wikipedia/foundation/3/3d/Fundraising-2010-thermometer2.png); background-position: left 42px; height: 21px; color: #3474b5; font-weight: bold; text-align: right; line-height: 23px; overflow: hidden;
}
- {{{utm-banner}}} #notice-thermometer-end {
float: left; background-image: url(//upload.wikimedia.org/wikipedia/foundation/3/3d/Fundraising-2010-thermometer2.png); background-position: right bottom; width: 10px; height: 21px;
}
- {{{utm-banner}}} #notice-thermometer-mercury {
position: absolute; left: 10px; height: 21px;
}
- {{{utm-banner}}} #notice-thermometer-fill {
float: left; background-image: url(//upload.wikimedia.org/wikipedia/foundation/3/3d/Fundraising-2010-thermometer2.png); background-position: left -21px; height: 21px; color: #E8E8E8; font-weight: bold; text-align: right; line-height: 23px; overflow: hidden;
}
- {{{utm-banner}}} #notice-thermometer-arrow {
float: left; background-image: url(//upload.wikimedia.org/wikipedia/foundation/d/d6/2010-thermometer2-transition.png); height: 21px; width: 24px;
}
</style>
<script type="text/javascript">
var countrySpecific = { 'AN':['AMERICAS','USD','$1,000,000','$5'], 'AU':['AU','AUD','$1,000,000','$10'], 'DO':['AMERICAS','USD','$1,000,000','$5'], 'DM':['AMERICAS','USD','$1,000,000','$5'], 'MK':['MK','USD','$1,000,000','$5'], 'MU':['AFRICA','USD','$1,000,000','$5'], 'SV':['AMERICAS','USD','$1,000,000','$5'], 'AE':['AE','AED','$1,000,000','AED25'], 'AR':['AR','ARS','$1,000,000','$5'], 'PG':['WORLD','AUD','$1,000,000','AU$5'], 'KI':['WORLD','AUD','$1,000,000','AU$5'], 'NR':['WORLD','AUD','$1,000,000','AU$5'], 'VU':['WORLD','AUD','$1,000,000','AU$5'], 'AR':['AR','AUD','$1,000,000','AU$5'], 'BD':['ASIA','BDT','$1,000,000','$5'], 'BG':['EUROPE','BGN','$1,000,000','$5'], 'BH':['MIDEAST','BHD','$1,000,000','$5'], 'BM':['AMERICAS','BMD','$1,000,000','$5'], 'BO':['AMERICAS','BOB','$1,000,000','$5'], 'BR':['BR','BRL','$1,000,000','R$10'], 'BZ':['AMERICAS','BZD','$1,000,000','$5'], 'CA':['CA','CAD','$1,000,000','$10'], 'LI':['EUROPE','CHF','$1,000,000','$5'], 'CH':['CH','CHF','$1,000,000','$5'], 'CL':['CL','CLP','$1,000,000','$5'], 'CN':['CN','CNY','$1,000,000','$5'], 'CO':['AMERICAS','COP','$1,000,000','$5'], 'CR':['AMERICAS','CRC','$1,000,000','$5'], 'CZ':['CZ','CZK','$1,000,000','Kč100'], 'DK':['DK','DKK','$1,000,000','50 kr'], 'DZ':['MIDEAST','DZD','$1,000,000','$5'], 'EG':['MIDEAST','EGP','$1,000,000','$5'], 'MW':['WORLD','GBP','$1,000,000','$5'], 'SD':['WORLD','GBP','$1,000,000','$5'], 'GB':['GB','GBP','£600k','£5'], 'GT':['AMERICAS','GTQ','$1,000,000','$5'], 'HK':['HK','HKD','$1,000,000','$5'], 'HN':['AMERICAS','HNL','$1,000,000','$5'], 'HR':['EUROPE','HRK','$1,000,000','$5'], 'HU':['HU','HUF','$1,000,000','$5'], 'ID':['ID','IDR','$1,000,000','$5'], 'IL':['IL','ILS','$1,000,000','₪25'], 'NP':['WORLD','INR','$1,000,000','$5'], 'IN':['IN','INR','$1,000,000','Rs 100'], 'JM':['AMERICAS','JMD','$1,000,000','$5'], 'JO':['MIDEAST','JOD','$1,000,000','$5'], 'JP':['JP','JPY','$1,000,000','¥1000'], 'KE':['AFRICA','KES','$1,000,000','$5'], 'KR':['KR','KRW','$1,000,000','$5'], 'KW':['MIDEAST','KWD','$1,000,000','$5'], 'KZ':['ASIA','KZT','$1,000,000','$5'], 'LB':['MIDEAST','LBP','$1,000,000','$5'], 'LK':['ASIA','LKR','$1,000,000','$5'], 'LT':['EUROPE','LTL','$1,000,000','$5'], 'LV':['EUROPE','LVL','$1,000,000','$5'], 'MA':['MIDEAST','MAD','$1,000,000','$5'], 'MO':['MO','USD','$1,000,000','$5'], 'MX':['MX','MXN','$1,000,000','MXN100'], 'MY':['ASIA','MYR','$1,000,000','$5'], 'NI':['AMERICAS','NIO','$1,000,000','$5'], 'NO':['NO','NOK','1M kr','50 kr'], 'NZ':['NZ','NZD','$1,000,000','$5'], 'OM':['MIDEAST','OMR','$1,000,000','$5'], 'PA':['AMERICAS','PAB','$1,000,000','$5'], 'PE':['AMERICAS','PEN','$1,000,000','$5'], 'PH':['PH','PHP','$1,000,000','$5'], 'PK':['ASIA','PKR','$1,000,000','$5'], 'PL':['PL','PLN','$1,000,000','20 zł'], 'PY':['AMERICAS','PYG','$1,000,000','$5'], 'QA':['MIDEAST','QAR','$1,000,000','$5'], 'RO':['EUROPE','RON','$1,000,000','$5'], 'TM':['WORLD','RUB','$1,000,000','$5'], 'UZ':['WORLD','RUB','$1,000,000','$5'], 'RU':['RU','RUB','$1,000,000','100 руб.'], 'SA':['MIDEAST','SAR','$1,000,000','50'], 'SE':['SE','SEK','$1,000,000','50 kr'], 'SG':['SG','SGD','$1,000,000','$5'], 'TH':['ASIA','THB','$1,000,000','$5'], 'TN':['MIDEAST','TND','$1,000,000','$5'], 'TR':['EUROPE','TRY','$1,000,000','$5'], 'TT':['AMERICAS','TTD','$1,000,000','$5'], 'TW':['TW','TWD','$1,000,000','$5'], 'UA':['UA','UAH','$1,000,000','$5'], 'UY':['AMERICAS','UYU','$1,000,000','$5'], 'VN':['ASIA','VND','$1,000,000','$5'], 'ZA':['ZA','ZAR','$1,000,000','R 25'], 'PR':['AMERICAS','USD','$1,000,000','$5'], 'AF':['WORLD','USD','$1,000,000','$5'], 'AS':['WORLD','USD','$1,000,000','$5'], 'AO':['WORLD','USD','$1,000,000','$5'], 'AG':['WORLD','USD','$1,000,000','$5'], 'BS':['WORLD','USD','$1,000,000','$5'], 'BB':['WORLD','USD','$1,000,000','$5'], 'BW':['WORLD','USD','$1,000,000','$5'], 'BN':['WORLD','USD','$1,000,000','$5'], 'BI':['WORLD','USD','$1,000,000','$5'], 'KH':['WORLD','USD','$1,000,000','$5'], 'KM':['WORLD','USD','$1,000,000','$5'], 'CG':['WORLD','USD','$1,000,000','$5'], 'CK':['WORLD','USD','$1,000,000','$5'], 'DJ':['WORLD','USD','$1,000,000','$5'], 'TP':['WORLD','USD','$1,000,000','$5'], 'ER':['WORLD','USD','$1,000,000','$5'], 'ET':['WORLD','USD','$1,000,000','$5'], 'FJ':['WORLD','USD','$1,000,000','$5'], 'GM':['WORLD','USD','$1,000,000','$5'], 'GE':['WORLD','USD','$1,000,000','$5'], 'GD':['WORLD','USD','$1,000,000','$5'], 'GU':['WORLD','USD','$1,000,000','$5'], 'IS':['WORLD','USD','$1,000,000','$5'], 'IQ':['WORLD','USD','$1,000,000','$5'], 'KP':['WORLD','USD','$1,000,000','$5'], 'LR':['WORLD','USD','$1,000,000','$5'], 'MV':['WORLD','USD','$1,000,000','$5'], 'MH':['WORLD','USD','$1,000,000','$5'], 'MR':['WORLD','USD','$1,000,000','$5'], 'FM':['WORLD','USD','$1,000,000','$5'], 'MD':['WORLD','USD','$1,000,000','$5'], 'MZ':['WORLD','USD','$1,000,000','$5'], 'NA':['WORLD','USD','$1,000,000','$5'], 'NG':['WORLD','USD','$1,000,000','$5'], 'MP':['WORLD','USD','$1,000,000','$5'], 'PW':['WORLD','USD','$1,000,000','$5'], 'PS':['WORLD','USD','$1,000,000','$5'], 'KN':['WORLD','USD','$1,000,000','$5'], 'LC':['WORLD','USD','$1,000,000','$5'], 'SB':['WORLD','USD','$1,000,000','$5'], 'VC':['WORLD','USD','$1,000,000','$5'], 'TZ':['WORLD','USD','$1,000,000','$5'], 'TO':['WORLD','USD','$1,000,000','$5'], 'VE':['WORLD','USD','$1,000,000','$5'], 'VI':['WORLD','USD','$1,000,000','$5'], 'YE':['WORLD','USD','$1,000,000','$5'], 'ZM':['WORLD','USD','$1,000,000','$5'], 'ZW':['WORLD','USD','$1,000,000','$5'], 'US':['US','USD','$1,000,000','$5'], 'EC':['AMERICAS','USD','$1,000,000','$5'], 'RS':['RS','EUR','750,000€','5€'], 'AL':['EUROPE','EUR','750,000€','5€'], 'AD':['EUROPE','EUR','750,000€','5€'], 'CY':['EUROPE','EUR','750,000€','5€'], 'LU':['EUROPE','EUR','750,000€','5€'], 'MT':['EUROPE','EUR','750,000€','5€'], 'GF':['AMERICAS','EUR','750,000€','5€'], 'AM':['WORLD','EUR','750,000€','5€'], 'AW':['WORLD','EUR','750,000€','5€'], 'AZ':['WORLD','EUR','750,000€','5€'], 'BY':['WORLD','EUR','750,000€','5€'], 'BJ':['WORLD','EUR','750,000€','5€'], 'BA':['WORLD','EUR','750,000€','5€'], 'BF':['WORLD','EUR','750,000€','5€'], 'CM':['WORLD','EUR','750,000€','5€'], 'CV':['WORLD','EUR','750,000€','5€'], 'CF':['WORLD','EUR','750,000€','5€'], 'TD':['WORLD','EUR','750,000€','5€'], 'CI':['WORLD','EUR','750,000€','5€'], 'FO':['WORLD','EUR','750,000€','5€'], 'GA':['WORLD','EUR','750,000€','5€'], 'GL':['WORLD','EUR','750,000€','5€'], 'LY':['WORLD','EUR','750,000€','5€'], 'MG':['WORLD','EUR','750,000€','5€'], 'ML':['WORLD','EUR','750,000€','5€'], 'MC':['WORLD','EUR','750,000€','5€'], 'ME':['WORLD','EUR','750,000€','5€'], 'NE':['WORLD','EUR','750,000€','5€'], 'RE':['WORLD','EUR','750,000€','5€'], 'SM':['WORLD','EUR','750,000€','5€'], 'SN':['WORLD','EUR','750,000€','5€'], 'SC':['WORLD','EUR','750,000€','5€'], 'SR':['WORLD','EUR','750,000€','5€'], 'TG':['WORLD','EUR','750,000€','5€'], 'VA':['WORLD','EUR','750,000€','5€'], 'DE':['DE','EUR','750,000€','5€'], 'FR':['FR','EUR','750,000€','5€'], 'NL':['NL','EUR','€750,000','€10'], 'AT':['AT','EUR','750,000€','10€'], 'IT':['IT','EUR','750,000€','5€'], 'ES':['ES','EUR','750,000€','10€'], 'BE':['BE','EUR','750,000€','10€'], 'FI':['FI','EUR','750,000€','10€'], 'IE':['IE','EUR','750,000€','10€'], 'GR':['GR','EUR','750,000€','10€'], 'PT':['PT','EUR','750,000€','10€'], 'SK':['EUROPE','EUR','750,000€','5€'], 'SI':['EUROPE','EUR','750,000€','5€'], 'EE':['EE','EUR','750,000€','5€'] };
function getCountryValue(ii) { return countrySpecific[Geo.country][ii]; }
</script>
<script type="text/javascript">
var bannerRewriteUrl = function() {
$('#variable_lp').attr('href', function() { var baseUrl = 'https://donate.wikimedia.org/wiki/Special:FundraiserLandingPage'; var queryString = $.param( { 'uselang' : wgUserLanguage, 'country' : Geo.country, 'template' : 'Lp-layout-default', // landing page components 'appeal-template' : '{{{lp-appeal-template}}}', 'appeal': bannerChooseRandom( '{{{lp-appeal}}}' ), 'form-template' : '{{{lp-form-template}}}', 'form-countryspecific' : bannerChooseRandom( '{{{lp-form-countryspecific}}}' ), // utm tracking data 'utm_medium' : 'sitenotice', 'utm_source' : '{{{utm-banner}}}', 'utm_campaign' : '{{{utm-campaign}}}' + '_' + getCountryValue(0), } ); var fullUrl = baseUrl + '?' + queryString; return fullUrl } );
};
var bannerChooseRandom = function(choiceString) {
var choices = choiceString.split(','); if ( choices.length ) { return choices[Math.floor( Math.random() * choices.length )].replace(/^\s+|\s+$/, ); }
}
$(document).ready( function () {
bannerRewriteUrl();
});
</script>