Template:Lp-layout-default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Testing disabling India (IN)
Tag: Reverted
m Reverted edit by PPenloglou-WMF (talk) to last revision by Pcoombe
Tags: Rollback Reverted
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 -->
<div class="mw-parser-output"><!-- so that TemplateStyles and various other things work -->
{{#switch: {{uc:{{{country|}}}}}
{{#switch: {{uc:{{{country|}}}}}
|AE|AF|AX|BY|CD|CI|CU|IQ|IR|KP|LB|LY|MM|SD|SS|SO|SY|YE|ZW|ID|SA|TR|KR|IN
|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}} }}
|PY|UZ|TM|XK = {{#ifexist:Template:CountryNope/{{int:lang}} | {{CountryNope/{{int:lang}}}} | {{CountryNope}} }}
|FI = {{CountryNope/FI}}
|FI = {{CountryNope/FI}}
|RU = {{CountryNope/RU}}
|RU = {{CountryNope/RU}}
|UA = {{CountryNope/UA}}
|UA = {{CountryNope/UA}}
|XX|EU|AP|A1|A2|O1 = {{GeolocateError}}
|XX|EU|AP|A1|A2|O1 = {{GeolocateError}}
|#default =
|#default =
{{#switch: {{{wmf_medium| {{{utm_medium|}}} }}}
{{#switch: {{{wmf_medium| {{{utm_medium|}}} }}}
|endowment = {{Lp-layout-endowment|country={{uc:{{{country|}}}}}|form-countryspecific={{{form-countryspecific|Form-countryspecific-control}}}|appeal={{{appeal}}}|optin={{{optin|}}}}}
|endowment = {{Lp-layout-endowment|country={{uc:{{{country|}}}}}|form-countryspecific={{{form-countryspecific|Form-countryspecific-control}}}|appeal={{{appeal}}}|optin={{{optin|}}}}}
|#default =
|#default =
<div id="main-wrapper" class="country-{{uc:{{{country|XX}}}}}">
<div id="main-wrapper" class="country-{{uc:{{{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 = {{{appeal|default}}}
| language = {{int:lang}}
| language = {{int:lang}}
| country = {{uc:{{{country|XX}}}}}
| country = {{uc:{{{country|XX}}}}}
| sitename = {{{sitename}}}
| sitename = {{{sitename}}}
}}
</div><!-- /appeal -->
</div><!-- /appeal-wrapper -->
<div id="form-wrapper">
{{Template:Form-template/{{{form-template|Form-template-default}}}
| language = {{{language|en}}}
| country = {{uc:{{{country|XX}}}}}
| appeal = {{{appeal|Default}}}
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
| pym_variant = {{{pym_variant|}}}
| pym_appeal = {{{pym_appeal|JimmyQuote}}}
}}
<div style="display: none;"><!-- Opt-in, Pay the Fee, and Monthly Pitch - 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|}}}{{OptinRequired|{{uc:{{{country}}}}}}}
| {{#ifexist:Template:Optin/{{{optin}}}
| {{Optin/{{{optin}}}}}
| {{Optin/Default}}
}}
}}
}}
</div><!-- /appeal -->
{{#if:{{{monthlypitch|}}}
</div><!-- /appeal-wrapper -->
| {{#ifexist:Template:MonthlyPitch/{{{monthlypitch}}}
<div id="form-wrapper">
| {{MonthlyPitch/{{{monthlypitch}}}}}
{{Template:Form-template/{{{form-template|Form-template-default}}}
| {{MonthlyPitch/Default}}
| language = {{{language|en}}}
| country = {{uc:{{{country|XX}}}}}
| appeal = {{{appeal|Default}}}
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
| pym_variant = {{{pym_variant|}}}
| pym_appeal = {{{pym_appeal|JimmyQuote}}}
}}
}}
}}
<div style="display: none;"><!-- Opt-in, Pay the Fee, and Monthly Pitch - will be moved into correct position by some javascript -->
</div>
{{#ifeq:{{{country}}}|FR||
<div id="infobox-wrapper" role="complementary">
{{#ifexist:Template:PTF/{{{showPTF}}}
{{#invoke:Main|get_infobox
| {{PTF/{{{showPTF}}} | country = {{uc:{{{country|XX}}}}} }}
| {{PTF/Default | country = {{uc:{{{country|XX}}}}} }}
| infobox = {{{infobox|Default}}}
| language = {{int:lang}}
}}
| country = {{uc:{{{country|XX}}}}}
}}
}}
{{#if:{{{optin|}}}{{OptinRequired|{{uc:{{{country}}}}}}}
</div><!-- /infobox-wrapper -->
| {{#ifexist:Template:Optin/{{{optin}}}
</div><!-- /form-wrapper -->
| {{Optin/{{{optin}}}}}
</div><!-- /main-wrapper -->
| {{Optin/Default}}
<div id="donate-footer" class="plainlinks links-in-new-tab" role="contentinfo">
}}
<div id="donate-tax-message">
}}
{{#invoke:Main|get_tax_message
{{#if:{{{monthlypitch|}}}
| tax_message = {{{tax|}}}
| {{#ifexist:Template:MonthlyPitch/{{{monthlypitch}}}
| language = {{int:lang}}
| {{MonthlyPitch/{{{monthlypitch}}}}}
| {{MonthlyPitch/Default}}
| country = {{uc:{{{country|XX}}}}}
}}
}}
</div>
}}
{{Footer/Privacy/Default}}
</div>
{{Footer/Recurring/Default}}
<div id="infobox-wrapper" role="complementary">
<div class="donate" id="donate-links-block">
{{#invoke:Main|get_infobox
| infobox = {{{infobox|Default}}}
{{Footer/Links/Default}}
</div>
| language = {{int:lang}}
</div><!-- /donate-footer -->
| country = {{uc:{{{country|XX}}}}}
{{#ifexist:Template:MonthlyConvert/{{{monthlyconvert}}}
}}
|{{MonthlyConvert/{{{monthlyconvert}}}}}
</div><!-- /infobox-wrapper -->
|{{MonthlyConvert/Default}}
</div><!-- /form-wrapper -->
}}
</div><!-- /main-wrapper -->
}}<!-- endowment page switch -->
<div id="donate-footer" class="plainlinks links-in-new-tab" role="contentinfo">
}}<!-- country switch -->
<div id="donate-tax-message">

{{#invoke:Main|get_tax_message
<!-- shared resources -->
| tax_message = {{{tax|}}}
{{IncludeCSS | Template:Styles/{{{style|Default}}}.css }}
| language = {{int:lang}}
{{#if:{{{style2|}}}| {{IncludeCSS | Template:Styles/{{{style2}}}.css }} }} <!-- additional styles? -->
| country = {{uc:{{{country|XX}}}}}
{{#if:{{{addStyle|}}}| {{IncludeCSS | Template:Styles/{{{addStyle}}}.css }} }} <!-- additional styles? -->
}}
__NOTOC__
</div>
</div><!-- /.mw-parser-output -->
{{Footer/Privacy/Default}}
{{Footer/Recurring/Default}}
<div class="donate" id="donate-links-block">
{{Footer/Links/Default}}
</div>
</div><!-- /donate-footer -->
{{#ifexist:Template:MonthlyConvert/{{{monthlyconvert}}}
|{{MonthlyConvert/{{{monthlyconvert}}}}}
|{{MonthlyConvert/Default}}
}}
}}<!-- endowment page switch -->
}}<!-- country switch -->
<!-- shared resources -->
{{IncludeCSS | Template:Styles/{{{style|Default}}}.css }}
{{#if:{{{style2|}}}| {{IncludeCSS | Template:Styles/{{{style2}}}.css }} }} <!-- additional styles? -->
{{#if:{{{addStyle|}}}| {{IncludeCSS | Template:Styles/{{{addStyle}}}.css }} }} <!-- additional styles? -->
__NOTOC__
</div><!-- /.mw-parser-output -->

Revision as of 16:46, 12 November 2024

Wikipedia still can't be sold.

Thank you for considering a donation to the Wikimedia Foundation.

We invite you to reflect on the number of times you visited Wikipedia in the last year. If the knowledge you gained here was valuable, please join the 2% of readers who donate. Any amount helps: $5, $20, $50, or whatever feels right to you today.

In the age of AI, access to verifiable facts is crucial. Wikipedia is at the heart of online information, powering everything from your personal searches to emerging AI technologies. Your gift strengthens the knowledge of today and tomorrow.

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.