Template:2011FR/Form-section-links: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 65:
<a class="collapsible-container-trigger" target="_blank" href="https://wikimediafoundation.org/wiki/Special:LandingCheck?landing_page=Monthly_donations&country=</html>{{{country}}}<html>&language=</html>{{int:lang}}<html>"></html>{{int:donate_interface-monthly-donation}}<html></a>
</div>
 
<!-- This piece of script is add to preserve the layout of the page when the user is sent to monthly donation page -->
<script type="text/javascript">
 
var monthlyLanguage = getQuerystring( 'uselang' );
var monthlyCountry = getQuerystring( 'country' );
var monthlyTemplate = getQuerystring( 'template' );
var monthlyAppealTemplate = getQuerystring( 'appeal-template' );
var monthlyAppeal = getQuerystring( 'appeal' );
var monthlyFormTemplate = getQuerystring( 'form-template' );
var monthlyUtmSource = getQuerystring( 'utm_source' );
var monthlyUtmMedium = getQuerystring( 'utm_medium' );
var monthlyUtmCampaign = getQuerystring( 'utm_campaign' );
 
var monthlyURL = "https://donate.wikimedia.org/wiki/Special:FundraiserLandingPage?";
monthlyURL += "uselang=" + monthlyLanguage + "&country=" + monthlyCountry;
monthlyURL += "&template=" + monthlyTemplate + "&appeal-template=" + monthlyAppealTemplate + "&appeal=" + monthlyAppeal + "&form-template=" + monthlyFormTemplate;
monthlyURL += "&form-countryspecific=Form-countryspecific-monthly";
monthlyURL += "&utm_medium=" + monthlyUtmMedium + "&utm_source=" + monthlyUtmSource + "&utm_campaign=" + monthlyUtmCampaign;
 
</script>
 
<div class="collapsible-container" id="monthly-container">
<a class="collapsible-container-trigger" target="_blank" href="<script type="text/javascript">document.write(monthlyURL);</script>"></html>{{int:donate_interface-monthly-donation}}<html></a>
</div>
<!-- ----------------- end script--------------- -->
 
<div class="collapsible-container" id="otherways-container">