Template:Lp-layout-endowment: Difference between revisions

Content deleted Content added
change footer link targets
match changes on Annual Fund
 
(22 intermediate revisions by the same user not shown)
Line 1:
<html><meta name="viewport" content="width=device-width, initial-scale=1"></html><!-- hack: meta tag should really be in the <head> but can't do that -->
<div class="mw-parser-output"><!-- so that TemplateStyles and various other things work -->
{{#switch: {{uc:{{{country|}}}}}
|AE|BY|CD|CI|CU|IQ|IR|KP|LB|LY|MM|SD|SO|SY|YE|ZW|ID|SA|TR|RU|KR|PY = {{#ifexist:Template:CountryNope/{{int:lang}} | {{CountryNope/{{int:lang}}}} | {{CountryNope}} }}
|FI = {{CountryNope/FI}}
|XX|EU|AP|A1|A2|O1 = {{GeolocateError}}
|#default=
<div id="main-wrapper" class="country-{{{country|XX}}}">
<div id="appeal-wrapper">
<div id="appeal">
{{#invoke:Main|get_appeal
{{quote
| appeal = {{#ifeq:{{{appeal}}}|Appeal-default|Endowment|{{{appeal|Endowment}}}}}
|Access to knowledge is a fundamental human right. The Wikimedia Endowment is our enduring commitment to a world of freely shared knowledge, now and in perpetuity.<br>
| language = {{int:lang}}
We believe that knowledge is a foundation. It is a foundation for human potential, a foundation for freedom, a foundation for opportunity. Wikipedia is the world’s largest free knowledge ecosystem — a public trust for the common good — built by people, for people.
{{#switch: | country = {{uc:{{{country|XX}}}}}
|Jimmy Wales, Founder of Wikipedia
}}
</div><!-- /appeal -->
</div><!-- /appeal-wrapper -->
<div id="form-wrapper">
{{Template:2012FRForm-template/{{{form-template|Form-template-default}}}
| language = {{{language|en}}}
| country = {{uc:{{{country|XX}}}}}
Line 24 ⟶ 17:
}}
<div style="display: none;"><!-- Opt-in and Pay the Fee - will be moved into correct position by some javascript -->
{{#ifeq:{{{country}}}|FR||
{{#ifexist:Template:PTF/{{{showPTF}}}
| {{PTF/{{{showPTF}}} | country = {{uc:{{{country|XX}}}}} }}
| {{PTF/Default | country = {{uc:{{{country|XX}}}}} }}
}}
}}
{{#if:{{{optin|}}}{{#switch: {{uc:{{{country|}}}}}|GB|IE|IT|SE|NL=yes|}} <!-- Auto show opt-in for some countries -->
{{#if:{{{optin|}}}{{OptinRequired|{{{country}}}}}
| {{#ifexist:Template:Optin/{{{optin}}}
| {{Optin/{{{optin}}}}}
Line 35 ⟶ 30:
}}
</div>
*<div class="endowment-wtg plainlinks links-in-new-tab">[https://wikimediaendowment.org/#givingways-to-give/ {{int:donate_interface-otherways-short}}]</div>
</div><!-- /form-wrapper -->
</div><!-- /main-wrapper -->
<div id="donate-footer" class="plainlinks links-in-new-tab">
<div id="donate-tax-message">
{{#invoke:Main|get_tax_message
{{#ifexist:Template:Footer/Tax/{{{tax}}}/{{int:lang}}
| {{Footer/Tax/tax_message = {{{tax}}}/{{int:lang}|}}}
| language = {{int:lang}}
| {{Footer/Tax/LinkOnly}}
| country = {{uc:{{{country|XX}}}}}
}}
</div>
<div class="donate-smallprint">
{{Footer/Privacy/Default}}
<!--{{Footer/Recurring/Default}}-->
{{#ifexist:Template:Footer/Tax/{{{tax}}}EndowmentFooter/{{int:lang}}
For more information about the Endowment and planned giving, please visit [https://wikimediaendowment.org wikimediaendowment.org] or contact [mailto:endowment@wikimedia.org endowment@wikimedia.org]
| {{EndowmentFooter/{{int:lang}}}}
</div>
| {{EndowmentFooter/en}}
}}
<div class="donate" id="donate-links-block">
<div class="form-info-links">
* [https://donate.wikimedia.org/wiki/Special:LandingCheck?landing_page=Problems_donating&basic=true&language={{int:lang}} {{int:Donate_interface-problemsdonating}}]
* [https://wikimediaendowment.org/#giving {{int:donate_interface-otherways-short}}]
* [https://donate.wikimedia.org/wiki/FAQ#What_is_the_Wikimedia_Endowment? {{int:donate_interface-faqs}}]
</div>
</div>
</div><!-- /donate-footer -->
}}
 
<!-- shared resources -->
{{IncludeCSS | Template:Styles/{{{style|Default}}}.css }}
{{IncludeCSS | Template:Styles/endowment.css }} <!-- endowment logo -->
{{#if:{{{style2|}}}| {{IncludeCSS | Template:Styles/{{{style2}}}.css }} }} <!-- additional styles? -->
{{#if:{{{addStyle|}}}| {{IncludeCSS | Template:Styles/{{{addStyle}}}.css }} }} <!-- additional styles? -->
__NOTOC__
</div><!-- /.mw-parser-output -->