Template:Lp-layout-default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
change {{CountryWat}} to {{GeolocateError}}
check wmf_medium for endowment switch first
 
(75 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 -->
<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|}}}}}
{{#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 = {{CountryNope}}
|AE|AF|AX|BY|CD|CI|CU|IQ|IR|KP|LB|LY|MM|SD|SS|SO|SY|YE|ZW|ID|SA|TR|KR
|PY|UZ|TM|XK = {{#ifexist:Template:CountryNope/{{int:lang}} | {{CountryNope/{{int:lang}}}} | {{CountryNope}} }}
|FI = {{CountryNope/FI}}
|FI = {{CountryNope/FI}}
|RU = {{CountryNope/RU}}
|UA = {{CountryNope/UA}}
|XX|EU|AP|A1|A2|O1 = {{GeolocateError}}
|XX|EU|AP|A1|A2|O1 = {{GeolocateError}}
|#default=
|#default =
{{#switch: {{{wmf_medium| {{{utm_medium|}}} }}}
{{2012FR/Lp-header/Socialmedia
|endowment = {{Lp-layout-endowment|country={{uc:{{{country|}}}}}|form-countryspecific={{{form-countryspecific|Form-countryspecific-control}}}|appeal={{{appeal}}}|optin={{{optin|}}}}}
| image = <nowiki>//upload.wikimedia.org/wikipedia/donate/e/eb/Wikipedia-logo-Donate2.png</nowiki>
|#default =
| description = {{Template:2012FR/Switch/Appeal
<div id="main-wrapper" class="country-{{uc:{{{country|XX}}}}}">
|appeal = 2011FR/{{{appeal|Appeal-default}}}
<div id="appeal-wrapper">
|subpage = title
<div id="appeal">
|language = {{int:lang}}
{{#invoke:Main|get_appeal
|country = {{uc:{{{country|XX}}}}}
|sitename = {{{sitename}}}
| appeal = {{{appeal|default}}}
}}
| language = {{int:lang}}
}}
<table id="LP-table" class="country-{{{country|XX}}}">
<tr>
<td id="appeal-wrapper">
{{Template:2012FR/{{{appeal-template|Appeal-template-default}}}
| language = {{{language|en}}}
| country = {{uc:{{{country|XX}}}}}
| country = {{uc:{{{country|XX}}}}}
| appeal = {{{appeal|Default}}}
| sitename = {{{sitename}}}
| sitename = {{{sitename}}}
}}
}}
</div><!-- /appeal -->
</td>
<td id="form-wrapper">
</div><!-- /appeal-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}}}}}
| appeal = {{{appeal|Default}}}
| appeal = {{{appeal|Default}}}
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
| pym_variant = {{{pym_variant|}}}
| infobox = {{2012FR/Form-section/Infobox
| infobox = {{{infobox|Default}}}
| pym_appeal = {{{pym_appeal|JimmyQuote}}}
| width = 25em
| language = {{int:lang}}
| country = {{uc:{{{country}}}}}
}}
}}
}}
<div style="display: none;"><!-- Opt-in, Pay the Fee, and Monthly Pitch - will be moved into correct position by some javascript -->
</td>
{{#ifeq:{{{country}}}|FR||
</tr>
{{#ifexist:Template:PTF/{{{showPTF}}}
</table>
| {{PTF/{{{showPTF}}} | country = {{uc:{{{country|XX}}}}} }}
<div id="donor-policy-block">
| {{PTF/Default | country = {{uc:{{{country|XX}}}}} }}
{{2012FR/Form-section/Privacy/Default
}}
| language = {{int:lang}}
}}
| country = {{uc:{{{country}}}}}
{{#if:{{{optin|}}}{{OptinRequired|{{uc:{{{country}}}}}}}
| {{#ifexist:Template:Optin/{{{optin}}}
| {{Optin/{{{optin}}}}}
| {{Optin/Default}}
}}
}}
{{#if:{{{monthlypitch|}}}
| {{#ifexist:Template:MonthlyPitch/{{{monthlypitch}}}
| {{MonthlyPitch/{{{monthlypitch}}}}}
| {{MonthlyPitch/Default}}
}}
}}
}}
</div>
</div>
<div class="donate" id="donate-links-block">
<div id="infobox-wrapper">
{{#invoke:Main|get_infobox
{{2012FR/Form-section/Links/Default
| infobox = {{{infobox|Default}}}
| language = {{int:lang}}
| language = {{int:lang}}
| country = {{uc:{{{country}}}}}
| country = {{uc:{{{country|XX}}}}}
}}
}}
</div><!-- /infobox-wrapper -->
</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
| tax_message = {{{tax|}}}
| language = {{int:lang}}
| country = {{uc:{{{country|XX}}}}}
}}
</div>
<div class="donate-smallprint">
{{Footer/Privacy/Default}}
{{Footer/Recurring/Default}}
</div>
<div class="donate" id="donate-links-block">
{{Footer/Links/Default}}
</div>
</div>
</div>
{{#ifexist:Template:MonthlyConvert/{{{monthlyconvert}}}
|{{MonthlyConvert/{{{monthlyconvert}}}}}
|{{MonthlyConvert/Default}}
}}
}}
}}<!-- endowment page switch -->
}}<!-- country switch -->


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

Latest revision as of 16:25, 16 April 2024

Wikipedia is still not on the market

Thank you for considering a donation to the Wikimedia Foundation, the nonprofit that hosts Wikipedia and other crucial free knowledge projects.

We invite you to reflect on the number of times you visited Wikipedia in the past year. If the knowledge you gained here was valuable, please join the 2% of readers who donate to the nonprofit that supports Wikipedia.

It is hard to know what to trust online these days. Wikipedia is different: not perfect, but also not here to make a profit or to push a particular perspective. It is written by everyone, together, because they want to help create a free repository of high-quality information.

If Wikipedia has given you useful knowledge this year, please give back. There are no small contributions: every edit counts, every donation counts.

Thank you.


Where your donation goes

Technology: Servers, bandwidth, maintenance, development. Wikipedia is one of the top 10 websites in the world, and it runs on a fraction of what other top websites spend.

People and Projects: The other top websites have thousands of employees. Wikimedia Foundation has about 700 staff and contractors to support a wide variety of projects, making your donation a great investment in a highly-efficient not-for-profit organization.