Template:Lp-layout-endowment: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Created page with "<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..."
 
moved Form-template
 
(30 intermediate revisions by 2 users not shown)
Line 1: 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=
<!--{{Sharing metadata
| image = <nowiki>//upload.wikimedia.org/wikipedia/donate/e/eb/Wikipedia-logo-Donate2.png</nowiki>
| description = {{Template:2012FR/Switch/Appeal
|appeal = 2011FR/{{{appeal|Appeal-default}}}
|subpage = title
|language = {{int:lang}}
|country = {{uc:{{{country|XX}}}}}
|sitename = {{{sitename}}}
}}
}}-->
<div id="main-wrapper" class="country-{{{country|XX}}}">
<div id="main-wrapper" class="country-{{{country|XX}}}">
<div id="appeal-wrapper">
<div id="appeal-wrapper">
<div id="appeal">
<div id="appeal">
{{#invoke:Main|get_appeal
{{#invoke:Main|get_appeal
| appeal = {{{appeal|default}}}
| appeal = {{#ifeq:{{{appeal}}}|Appeal-default|Endowment|{{{appeal|Endowment}}}}}
| language = {{int:lang}}
| language = {{int:lang}}
| country = {{uc:{{{country|XX}}}}}
| country = {{uc:{{{country|XX}}}}}
| sitename = {{{sitename}}}
}}
}}
</div><!-- /appeal -->
</div><!-- /appeal -->
</div><!-- /appeal-wrapper -->
</div><!-- /appeal-wrapper -->
<div id="form-wrapper">
<div id="form-wrapper">
{{Template:2012FR/{{{form-template|Form-template-default}}}
{{Template:Form-template/{{{form-template|Form-template-default}}}
| language = {{{language|en}}}
| language = {{{language|en}}}
| country = {{uc:{{{country|XX}}}}}
| country = {{uc:{{{country|XX}}}}}
Line 35: Line 17:
}}
}}
<div style="display: none;"><!-- Opt-in and Pay the Fee - will be moved into correct position by some javascript -->
<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}}}
{{#ifexist:Template:PTF/{{{showPTF}}}
| {{PTF/{{{showPTF}}} | country = {{uc:{{{country|XX}}}}} }}
| {{PTF/{{{showPTF}}} | country = {{uc:{{{country|XX}}}}} }}
| {{PTF/Default | 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}}}
| {{#ifexist:Template:Optin/{{{optin}}}
| {{Optin/{{{optin}}}}}
| {{Optin/{{{optin}}}}}
Line 46: Line 30:
}}
}}
</div>
</div>
<div class="endowment-wtg plainlinks links-in-new-tab">[https://wikimediaendowment.org/ways-to-give/ {{int:donate_interface-otherways-short}}]</div>
<div id="infobox-wrapper">
{{#invoke:Main|get_infobox
| infobox = {{{infobox|Default}}}
| language = {{int:lang}}
| country = {{uc:{{{country|XX}}}}}
}}
</div><!-- /infobox-wrapper -->
</div><!-- /form-wrapper -->
</div><!-- /form-wrapper -->
</div><!-- /main-wrapper -->
</div><!-- /main-wrapper -->
<div id="donate-footer" class="plainlinks links-in-new-tab">
<div id="donate-footer" class="plainlinks links-in-new-tab">
<div id="donate-tax-message">
<div id="donate-tax-message">
{{#invoke:Main|get_tax_message
{{#ifexist:Template:Footer/Tax/{{{tax}}}/{{int:lang}}
| {{Footer/Tax/{{{tax}}}/{{int:lang}}}}
| tax_message = {{{tax|}}}
| language = {{int:lang}}
| {{Footer/Tax/LinkOnly}}
| country = {{uc:{{{country|XX}}}}}
}}
}}
</div>
</div>
<div class="donate-smallprint">
<div class="donate-smallprint">
{{Footer/Privacy/Default}}
{{Footer/Privacy/Default}}
{{Footer/Recurring/Default}}
<!--{{Footer/Recurring/Default}}-->
{{#ifexist:Template:EndowmentFooter/{{int:lang}}
| {{EndowmentFooter/{{int:lang}}}}
| {{EndowmentFooter/en}}
}}
</div>
</div>
<div class="donate" id="donate-links-block">
<div class="donate" id="donate-links-block">
<div class="form-info-links">
{{Footer/Links/Default}}
* [https://donate.wikimedia.org/wiki/Special:LandingCheck?landing_page=Problems_donating&basic=true&language={{int:lang}} {{int:Donate_interface-problemsdonating}}]
* [https://donate.wikimedia.org/wiki/FAQ#What_is_the_Wikimedia_Endowment? {{int:donate_interface-faqs}}]
</div>
</div>
</div>
</div>
</div>
}}


<!-- shared resources -->
<!-- shared resources -->
{{IncludeCSS | Template:Styles/{{{style|Default}}}.css }}
{{IncludeCSS | Template:Styles/{{{style|Default}}}.css }}
{{#if:{{{style2|}}}| {{IncludeCSS | Template:Styles/{{{style2}}}.css }} }} <!-- additional styles? -->
{{IncludeCSS | Template:Styles/endowment.css }} <!-- endowment logo -->
{{#if:{{{addStyle|}}}| {{IncludeCSS | Template:Styles/{{{addStyle}}}.css }} }} <!-- additional styles? -->
__NOTOC__
__NOTOC__
</div><!-- /.mw-parser-output -->

Latest revision as of 20:00, 6 September 2023

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.

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.

— Jimmy Wales, Founder of Wikipedia