User:Pcoombe (WMF)/sandbox: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
No edit summary
No edit summary
Line 3: Line 3:
<html>
<html>
<style>
<style>
#firstHeading, #contentSub, #siteSub {
.fr-ty h3 {
font-size: 2em;
display: none;
}
.ty {
font-size: 1.2em;
}
.ty h3 {
color: #006699;
color: #006699;
}
}
.fr-ty-header {
.ty-header {
font-size: 3em;
font-size: 3em;
font-weight: bold;
font-weight: bold;
}
.ty-footer {
border-top: 1px solid ;
text-align: center;
}
}
</style>
</style>
</html>
</html>


<div class="fr-ty">
<div class="ty plainlinks">


<div class="fr-ty-header">Thank you for your support!</div>
<div class="ty-header">Thank you for your support!</div>


<div class="fr-ty-receipt">
<div class="ty-banktransfer" style="display: none;">
Remember to include the reference number provided when you submit the money transfer request to your bank. Please note that your statement will show 'Global Collect' (our authorized payment processor) as the recipient.
You will receive a receipt via email when we have processed your donation. If you have any questions or would like to check the status of your donation, please email donate@wikimedia.org
</div>

<div class="ty-receipt">
You will receive a receipt via email when we have processed your donation. <span class="ty-bitcoin" style="display: none;">Receipts for Bitcoin donations may take 3–7 business days.</span> If you have any questions or would like to check the status of your donation, please email donate@wikimedia.org.
</div>
</div>


Line 38: Line 51:




<div class="fr-ty-footer">
<div class="ty-footer">
Wikipedia is a project of the Wikimedia Foundation. Questions or comments? Write to: donate@wikimedia.org
Wikipedia is a project of the Wikimedia Foundation. Questions or comments? Write to: donate@wikimedia.org


Line 44: Line 57:
</div>
</div>


</div><!-- fr-ty -->
</div><!-- ty -->


{{Hide banners}}
{{Hide banners}}

<html>
<script>
$(document).ready( function () {
var paymentMethod = mw.util.getParamValue("payment_method");

if(paymentMethod == "bt") {
$(".ty-banktransfer").show();
}
if(paymentMethod == "bitcoin") {
$(".ty-bitcoin").show();
}
});
</script>
</html>

Revision as of 18:17, 28 October 2014


<html> <style>

  1. firstHeading, #contentSub, #siteSub {
   display: none;

} .ty {

   font-size: 1.2em;

} .ty h3 {

   color: #006699;

} .ty-header {

   font-size: 3em;
   font-weight: bold;

} .ty-footer {

   border-top: 1px solid ;
   text-align: center;

} </style> </html>

Template:Hide banners

<html> <script> $(document).ready( function () {

   var paymentMethod = mw.util.getParamValue("payment_method");
   if(paymentMethod == "bt") {
       $(".ty-banktransfer").show();
   }
   if(paymentMethod == "bitcoin") {
       $(".ty-bitcoin").show();
   }

}); </script> </html>