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

From Wikimedia Foundation Governance Wiki
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
__NOEDITSECTION__
{{DISPLAYTITLE:{{{header}}}}}
<html>
<html>
<script src="//bits.wikimedia.org/geoiplookup"></script>
<style>
<style>
#wtg-toc {
/* Hide some MobileFrontend clutter */
list-style: none;
.skin-minerva .header,
list-style-image: none;
.skin-minerva #page-actions,
display: inline;
.skin-minerva h1,
margin: 0;
.skin-minerva #mw-mf-last-modified {
display: none;
padding: 0;
text-align: center;
font-size: 1em;
}
}
#wtg-toc li {
#firstHeading, #contentSub, #siteSub {
display: none;
display: inline;
}
}
#wtg-toc li a {
.ty {
font-size: 1.2em;
width: 12%;
float: left;
height: 3em;
color: #000;
line-height: 1;
border-top: 3px solid;
margin: 1em;
padding: 0.5em 0.5em 0 0.5em;
background: #f6f6f6;
}
}
div[dir="rtl"] #wtg-toc li a {

float: right;
.ty-header {
font-size: 3em;
font-weight: bold;
line-height: 1.2;
}
}
#wtg-toc li a:hover {
.skin-minerva .ty-header {
font-size: 1.8em;
text-decoration: none;
background: #dfdfdf;
}
}


div#content h3 {
/* Can't use normal headers as don't want mobile to collapse them */
margin: 1.5em 0 0.5em 0;
.ty-subhead {
font-size: 1.2em;
border-bottom: 3px solid;
margin-top: 1em;
clear: both;
font-weight: bold;
color: #006699;
}
}
.wtg-section-content {

margin-left: 1em;
.ty-footer {
}
margin-top: 1em;
.wtg-muted {
font-size: 0.9em;
border-top: 1px solid #ddd;
margin-top: 1em;
text-align: center;
font-size: small;
color: #4d4d4d;
}
}


.country-specific-GB {
a.wtg-bitcoin-btn {
display: none;
display: inline-block;
padding: 4px 4px 4px 16px;
color: #464646;
border: 1px solid #aaa;
box-shadow: 1px 1px #bfbfbf;
border-radius: 8px 32px 32px 8px;
font-weight: bold;
font-size: 1.2em;
cursor: pointer;
background: #f2f2f2; /* Old browsers */
background: -moz-linear-gradient(top, #f2f2f2 0%, #bfbfbf 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#bfbfbf)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #f2f2f2 0%,#bfbfbf 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #f2f2f2 0%,#bfbfbf 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #f2f2f2 0%,#bfbfbf 100%); /* IE10+ */
background: linear-gradient(to bottom, #f2f2f2 0%,#bfbfbf 100%); /* W3C */
text-shadow: -1px 1px #f2f2f2;
}
a.wtg-bitcoin-btn:hover {
text-decoration: none;
color: #222;
}
a.wtg-bitcoin-btn img {
vertical-align: bottom;
margin-left: 4px;
}
}
</style>
</style>
<ul id="wtg-toc">
<li><a href="#creditdebit" style="border-color: #666666;">
</html>{{{creditdebit-title}}}<html>
</a></li>
<li><a href="#paypal" style="border-color: #990000;">
</html>{{{paypal-title}}}<html>
</a></li>
<li><a href="#monthly" style="border-color: #994D00;">
</html>{{{monthly-title}}}<html>
</a></li>
<li><a href="#check" style="border-color: #99CC00;">
</html>{{{check-title}}}<html>
</a></li>
<li><a href="#stock" style="border-color: #339966;">
</html>{{{stock-title}}}<html>
</a></li>
<li><a href="#banktransfer" style="border-color: #009999;">
</html>{{{banktransfer-title}}}<html>
</a></li>
<li><a href="#legacy" style="border-color: #006699;">
</html>{{{legacy-title}}}<html>
</a></li>
<li><a href="#matching" style="border-color: #000099;">
</html>{{{matching-title}}}<html>
</a></li>
<li><a href="#payroll" style="border-color: #4D0099;">
</html>{{{payroll-title}}}<html>
</a></li>
<li><a href="#daf" style="border-color: #94004E;">
</html>{{{daf-title|Donor Advised Funds}}}<html>
</a></li>
<li><a href="#amazon" style="border-color: #666666;">
</html>{{{amazon-title|Amazon Payments}}}<html>
</a></li>
<li><a href="#bitcoin" style="border-color: #ff9600;">
</html>{{{bitcoin-title|Bitcoin}}}<html>
</a></li>
</ul>
</html>
</html>


{{-}}
<div class="ty plainlinks" {{#if:{{{rtl|}}}|dir="rtl"}}>


<div class="ty-header">{{{header}}}</div>
<h3 style="border-color: #666;" id="creditdebit">{{{creditdebit-title}}}</h3>
<div class="wtg-section-content">
{{{creditdebit-text}}}


{{:Ways to Give/Countryselect|lang={{pagelang}} }}
<div class="ty-banktransfer" style="display: none;">{{{bank-transfer}}}</div>
</div>


{{{receipt}}} <span class="ty-bitcoin" style="display: none;">{{{receipt-bitcoin}}}</span>
<h3 style="border-color: #900;" id="paypal">{{{paypal-title}}}</h3>
<div class="wtg-section-content">
{{{paypal-text}}}


<div dir="ltr">{{:Ways to Give/PayPalSelect}}</div>
{{{questions}}}
</div>


<div class="ty-subhead">{{{share-header}}}</div>
<h3 style="border-color: #994d00;" id="monthly">{{{monthly-title}}}</h3>
<div class="wtg-section-content">
{{Social bookmarks2
{{{monthly-text}}}
| style = margin: 0; text-align: {{#if:{{{rtl|}}}|right|left}};
</div>
| title = {{{share-label}}}
| short-message = {{{share-msg1}}}
| long-message = {{{share-msg2}}}
| more-link-text = {{{share-more}}}
}}


<h3 style="border-color: #99CC00;" id="check">{{{check-title}}}</h3>
{{#if:{{{match-text|}}}|
<div class="ty-subhead">{{{match-header}}}</div>
<div class="wtg-section-content">
{{{match-text}}}
{{{check-text}}}
{{{check-address-usca|}}}
}}
{{Lockbox address|hidenote=true}}
{{#if:{{{check-address-intl|}}}|
{{{check-address-intl}}}
{{Foundation address}}
|}}
</div>


<h3 style="border-color: #396;" id="stock">{{{stock-title}}}</h3>
{{#if:{{{survey-text|}}}|
<div class="ty-subhead">{{{survey-header}}}</div>
<div class="wtg-section-content">
{{{survey-text}}}
{{{stock-text}}}
{{Stock address}}
}}


{{{stock-text-assistance}}}
<div class="country-specific-GB">
{{Stock contacts}}
<div class="ty-subhead">God save the Queen!</div>
Blah blah blah blah
</div>
</div>


<h3 style="border-color: #099;" id="banktransfer">{{{banktransfer-title}}}</h3>
<div class="ty-footer">
<div class="wtg-section-content">
{{{footer-text1}}}
{{{banktransfer-text}}}
</div>


<h3 style="border-color: #069;" id="legacy">{{{legacy-title}}}</h3>
{{{footer-text2}}}
<div class="wtg-section-content">
{{{legacy-text}}}
</div>
</div>


<h3 style="border-color: #009;" id="matching">{{{matching-title}}}</h3>
</div><!-- ty -->
<div class="wtg-section-content">
{{{matching-text}}}


<h4>{{{volunteermatch-title}}}</h4>
{{Hide banners}}
{{{volunteermatch-text}}}
</div>


<h3 style="border-color: #4D0099;" id="payroll">{{{payroll-title}}}</h3>
<html>
<div class="wtg-section-content">
<script>
{{{payroll-text}}}
$(document).ready( function () {
{{Lockbox address|hidenote=true}}
var paymentMethod = mw.util.getParamValue("payment_method");
</div>


<h3 style="border-color: #94004E;" id="daf">{{{daf-title|Donor Advised Funds}}}</h3>
if(paymentMethod === 'bt') {
<div class="wtg-section-content">
$('.ty-banktransfer').show();
{{{daf-text1|Donor Advised Funds (DAFs) allow you to combine the most favorable tax benefits with the flexibility to support your preferred causes. If you’d like to recommend a grant to the Wikimedia Foundation directly from your DAF, please see the links below:}}}
}
* [https://login.fidelity.com/ftgw/Fidelity/CgfCust/Login/Init?AuthRedUrl=https://charitablegift.fidelity.com/cgfweb/CGFLogon.cgfdo Fidelity Charitable]
if(paymentMethod === 'bitcoin') {
* [https://client.schwab.com/Login/SignOn/CustomerCenterLogin.aspx?&KC=Y&cgift=y Schwab Charitable]
$('.ty-bitcoin').show();
* [https://www.vanguardcharitable.org/vceptpl/auth/login.do?cb=%2Fvceptpl%2Fportal%2FaccountSummary.do Vanguard]
}
* [https://www.edonorcentral.com/login_1462.asp? American Endowment]
* [http://www.jewishfed.org/ Jewish Community Federation & Endowment Fund]
* [http://www.siliconvalleycf.org/ Silicon Valley Community Foundation]
* [http://www.nycommunitytrust.org/ New York Community Trust]
* [http://programforgiving.org/charitable/pages/home.jsp T. Rowe Price Program for Charitable Giving]
* [https://www.franklintempleton.com/retail/pages/generic_content/prog_serv/charitable/about_donor_advised_overview_pub.jsf#.VIIcM2TF--o Franklin Templeton Charitable Giving Fund]
{{{daf-text2|Please contact us at <tt>[mailto:benefactors@wikimedia.org benefactors{{@}}wikimedia.org]</tt> if you have questions or if your DAF of choice is not listed.}}}
</div>


<h3 style="border-color: #666666;" id="amazon">{{{amazon-title|Amazon Payments}}}</h3>
// Allow overriding the country for testing
<div class="wtg-section-content">
var Geo = Geo || {};
{{{amazon-text|You can [https://donate.wikimedia.org/?country=US&utm_medium=WaysToGive make a donation in U.S. Dollars through Amazon Payments], please select an amount and choose "Donate via Amazon". If you are donating via Amazon in a currency other than U.S. Dollars, please be aware that your funding source may be rejected or that you may experience extra charges associated with converting a charge into another currency. We encourage you to contact your bank for more information.}}}
if(mw.util.getParamValue('country')) {
</div>
Geo.country = mw.util.getParamValue('country');
}


<h3 style="border-color: #ff9600; border-bottom:" id="bitcoin">{{{bitcoin-title|Bitcoin}}}</h3>
if(Geo.country === 'GB') {
<div class="wtg-section-content">
$('.country-specific-GB').show();
<html>
}
<a class="wtg-bitcoin-btn" href="</html>{{{bitcoin-url|<nowiki>https://coinbase.com/checkouts/44aa9355518928151be736fbd043236c</nowiki>}}}<html>">

</html>{{{bitcoin-donate|Donate Bitcoins}}}<html>
});
<img src="https://upload.wikimedia.org/wikipedia/foundation/d/da/Bitcoin_symbol_for_button.png" width="26" height="26" alt="">
</script>
</a>
</html>
</html>
<div>{{{bitcoin-recurring|Alternatively, [https://coinbase.com/checkouts/81b41f8984dd5544ad4246a1dd0be0a9 make a recurring Bitcoin donation].}}}</div>

<div class="wtg-muted">
{{{bitcoin-disclaimer|Please note that the Wikimedia Foundation can only refund Bitcoin donations in Bitcoin. Because we do not store Bitcoins, refunds will be calculated based on the U.S. Dollar amount we received via instant exchange at the time of the donation, using our payment processor's Bitcoin sell rate when the refund is issued. The Wikimedia Foundation is not responsible for any change in value based on fluctuating exchange rates.}}}
</div>
<div class="wtg-muted">
{{{bitcoin-questions|For questions, please contact <tt>[mailto:donate@wikimedia.org donate{{@}}wikimedia.org]</tt>.}}}
</div>

</div>

Revision as of 01:39, 6 December 2014

<html> <style>

  1. wtg-toc {
 list-style: none;
 list-style-image: none;
 display: inline;
 margin: 0;
 padding: 0;
 text-align: center;
 font-size: 1em;

}

  1. wtg-toc li {
 display: inline;

}

  1. wtg-toc li a {
 width: 12%;
 float: left;
 height: 3em;
 color: #000;
 line-height: 1;
 border-top: 3px solid;
 margin: 1em;
 padding: 0.5em 0.5em 0 0.5em;
 background: #f6f6f6;

} div[dir="rtl"] #wtg-toc li a {

 float: right;

}

  1. wtg-toc li a:hover {
 text-decoration: none;
 background: #dfdfdf;

}

div#content h3 {

 margin: 1.5em 0 0.5em 0;
 border-bottom: 3px solid;
 clear: both;

} .wtg-section-content {

 margin-left: 1em;

} .wtg-muted {

 margin-top: 1em;
 font-size: small;
 color: #4d4d4d;

}

a.wtg-bitcoin-btn {

 display: inline-block;
 padding: 4px 4px 4px 16px;
 color: #464646;
 border: 1px solid #aaa;
 box-shadow: 1px 1px #bfbfbf;
 border-radius: 8px 32px 32px 8px;
 font-weight: bold;
 font-size: 1.2em;
 cursor: pointer;
 background: #f2f2f2; /* Old browsers */
 background: -moz-linear-gradient(top, #f2f2f2 0%, #bfbfbf 100%); /* FF3.6+ */
 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#bfbfbf)); /* Chrome,Safari4+ */
 background: -webkit-linear-gradient(top, #f2f2f2 0%,#bfbfbf 100%); /* Chrome10+,Safari5.1+ */
 background: -o-linear-gradient(top, #f2f2f2 0%,#bfbfbf 100%); /* Opera 11.10+ */
 background: -ms-linear-gradient(top, #f2f2f2 0%,#bfbfbf 100%); /* IE10+ */
 background: linear-gradient(to bottom, #f2f2f2 0%,#bfbfbf 100%); /* W3C */
 text-shadow: -1px 1px #f2f2f2;

} a.wtg-bitcoin-btn:hover {

 text-decoration: none;
 color: #222;

} a.wtg-bitcoin-btn img {

 vertical-align: bottom;
 margin-left: 4px;

} </style>

  • <a href="#creditdebit" style="border-color: #666666;"> </html>{{{creditdebit-title}}}<html> </a>
  • <a href="#paypal" style="border-color: #990000;"> </html>{{{paypal-title}}}<html> </a>
  • <a href="#monthly" style="border-color: #994D00;"> </html>{{{monthly-title}}}<html> </a>
  • <a href="#check" style="border-color: #99CC00;"> </html>{{{check-title}}}<html> </a>
  • <a href="#stock" style="border-color: #339966;"> </html>{{{stock-title}}}<html> </a>
  • <a href="#banktransfer" style="border-color: #009999;"> </html>{{{banktransfer-title}}}<html> </a>
  • <a href="#legacy" style="border-color: #006699;"> </html>{{{legacy-title}}}<html> </a>
  • <a href="#matching" style="border-color: #000099;"> </html>{{{matching-title}}}<html> </a>
  • <a href="#payroll" style="border-color: #4D0099;"> </html>{{{payroll-title}}}<html> </a>
  • <a href="#daf" style="border-color: #94004E;"> </html>Donor Advised Funds<html> </a>
  • <a href="#amazon" style="border-color: #666666;"> </html>Amazon Payments<html> </a>
  • <a href="#bitcoin" style="border-color: #ff9600;"> </html>Bitcoin<html> </a>

</html>


{{{creditdebit-title}}}

{{{creditdebit-text}}}

Ways to Give/Countryselect

{{{paypal-title}}}

{{{paypal-text}}}

{{{monthly-title}}}

{{{monthly-text}}}

{{{check-title}}}

{{{check-text}}}

Template:Lockbox address

{{{stock-title}}}

{{{stock-text}}} Template:Stock address

{{{stock-text-assistance}}} Template:Stock contacts

{{{banktransfer-title}}}

{{{banktransfer-text}}}

{{{legacy-title}}}

{{{legacy-text}}}

{{{matching-title}}}

{{{matching-text}}}

{{{volunteermatch-title}}}

{{{volunteermatch-text}}}

{{{payroll-title}}}

{{{payroll-text}}} Template:Lockbox address

Donor Advised Funds

Donor Advised Funds (DAFs) allow you to combine the most favorable tax benefits with the flexibility to support your preferred causes. If you’d like to recommend a grant to the Wikimedia Foundation directly from your DAF, please see the links below:

Please contact us at benefactors@wikimedia.org if you have questions or if your DAF of choice is not listed.

Amazon Payments

You can make a donation in U.S. Dollars through Amazon Payments, please select an amount and choose "Donate via Amazon". If you are donating via Amazon in a currency other than U.S. Dollars, please be aware that your funding source may be rejected or that you may experience extra charges associated with converting a charge into another currency. We encourage you to contact your bank for more information.

Bitcoin

<html> <a class="wtg-bitcoin-btn" href="</html>https://coinbase.com/checkouts/44aa9355518928151be736fbd043236c<html>">

   </html>Donate Bitcoins<html>
   <img src="https://upload.wikimedia.org/wikipedia/foundation/d/da/Bitcoin_symbol_for_button.png" width="26" height="26" alt="">

</a> </html>

Please note that the Wikimedia Foundation can only refund Bitcoin donations in Bitcoin. Because we do not store Bitcoins, refunds will be calculated based on the U.S. Dollar amount we received via instant exchange at the time of the donation, using our payment processor's Bitcoin sell rate when the refund is issued. The Wikimedia Foundation is not responsible for any change in value based on fluctuating exchange rates.

For questions, please contact donate@wikimedia.org.