Template:Footer/Links/Default: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<html> |
<html> |
||
<style type="text/css"> |
<style type="text/css"> |
||
⚫ | |||
⚫ | |||
font-size: 0.8em; |
font-size: 0.8em; |
||
cursor: pointer; |
cursor: pointer; |
||
} |
|||
.collapsible-container-trigger{ |
|||
color: #0645AD; |
|||
font-size: 1.2em; |
|||
⚫ | |||
padding-right: 0 !important; |
|||
} |
|||
.collapsible-container-trigger:hover{ |
|||
text-decoration: underline; |
|||
color: #0645AD; |
|||
} |
|||
.collapsible-container-contained{ |
|||
display: none; |
display: none; |
||
background-color: #FFFFFF; |
background-color: #FFFFFF; |
||
Line 28: | Line 11: | ||
} |
} |
||
.form-info-links { |
|||
.collapsible-container-marker-collapsed{ |
|||
list-style: none; |
|||
⚫ | |||
display: none; |
|||
color: #0645AD; |
|||
} |
} |
||
.collapsible-container-marker-expanded{ |
|||
display: none; |
|||
color: #0645AD; |
|||
} |
|||
</style> |
</style> |
||
<ul class="form-info-links"> |
|||
⚫ | |||
<li><a id="onetime-link" style="display: none;" href="https://donate.wikimedia.org/wiki/Special:FundraiserLandingPage?form-countryspecific=Form-countryspecific-default&country=</html>{{{country}}}<html>&language=</html>{{int:lang}}<html>"></html>Make a one-time donation<html></a></li><!-- This needs a translation adding --> |
|||
⚫ | |||
⚫ | |||
function triggerHover(elem){ |
|||
$('#' + elem + '-container-contained').toggle(); |
|||
} |
|||
⚫ | |||
function triggerLeave(elem){ |
|||
$('#' + elem + '-container-contained').toggle(); |
|||
} |
|||
function triggerClick(elem){ |
|||
$('#' + elem + '-container-contained').toggle(); |
|||
} |
|||
⚫ | |||
<div class="collapsible-container" id="otherways-container"> |
|||
⚫ | |||
⚫ | |||
<div class="collapsible-container" id="faq-container"> |
|||
⚫ | |||
</div> |
|||
⚫ | |||
<div class="collapsible-container" id="tax-container" onclick="triggerClick('tax');"> |
|||
⚫ | |||
<span class="collapsible-container-marker-collapsed" id="tax-collapsed-marker">▲</span> |
|||
< |
<div class="collapsible-container" id="tax-container" onclick="$('#tax-container').toggle(); return(false);"> |
||
⚫ | |||
<div class="collapsible-container-contained" id="tax-container-contained"> |
|||
</html>{{#ifeq: {{{country}}} | US | {{int:donate_interface-taxded-msg-us}} |{{#ifeq: {{{country}}}| NL | {{int:donate_interface-taxded-msg-nl}} | {{int:donate_interface-taxded-msg-int}} }} }}<html><br/><br/> |
</html>{{#ifeq: {{{country}}} | US | {{int:donate_interface-taxded-msg-us}} |{{#ifeq: {{{country}}}| NL | {{int:donate_interface-taxded-msg-nl}} | {{int:donate_interface-taxded-msg-int}} }} }}<html><br/><br/> |
||
</html>{{#ifeq:{{int:lang}}|en||{{int:donate_interface-legal-original}}}}<html> |
</html>{{#ifeq:{{int:lang}}|en||{{int:donate_interface-legal-original}}}}<html> |
||
</div> |
</div> |
||
</ |
</li> |
||
⚫ | |||
<li><a id="problems-link" target="_blank" href="https://wikimediafoundation.org/wiki/Special:LandingCheck?landing_page=Problems_donating&basic=true&country=</html>{{{country}}}<html>&language=</html>{{int:lang}}<html>"></html>{{int:Donate_interface-problemsdonating}}<html></a></li> |
|||
</ul> |
|||
⚫ | |||
// This piece of script is add to preserve the layout of the page when the user is sent to monthly donation page |
|||
// parseParams is defined in MediaWiki:Common.js |
|||
$(document).ready(function() { |
|||
var baseURL = 'https://donate.wikimedia.org/wiki/Special:FundraiserLandingPage?'; |
|||
var paramsOut = parseParams(window.location.href); // create an object with the current querystring parameters |
|||
if (paramsOut['form-countryspecific'] == 'Form-countryspecific-monthly') { |
|||
// We're on a monthly page, fix up the onetime link and show that instead |
|||
paramsOut['form-countryspecific'] = 'Form-countryspecific-control'; |
|||
document.getElementById('onetime-link').href = baseURL + $.param(paramsOut); |
|||
$('#monthly-link').hide(); |
|||
$('#onetime-link').show(); |
|||
} else { |
|||
// We're not on a monthly page. So show a correct link to one. |
|||
paramsOut['form-countryspecific'] = 'Form-countryspecific-monthly'; |
|||
document.getElementById('monthly-link').href = baseURL + $.param(paramsOut); |
|||
} |
|||
}); |
|||
⚫ | |||
</html> |
</html> |
Revision as of 08:57, 27 January 2012
- Make a monthly donation
- Other ways to give
- Frequently asked questions
-
Tax and other legal information
Wikimedia Foundation is a non-profit charity established in the United States under the US IRS Code Section 501(c)(3), and, for that reason, donations from persons or entities located in the United States may benefit from tax deductible status. Donations from persons or entities located outside the United States may not be eligible for tax deductions in the United States and elsewhere; in such cases, donors should seek local tax advice. Importantly, Wikimedia does not seek donations from persons or entities located in any jurisdiction that prohibits or restricts fundraising activities by international charities such as Wikimedia or applies gift taxes on donations made to such international charities.
- Problems donating?