Template:Lp-layout-default: Difference between revisions
doing a quick test Tag: Reverted |
comment end of footer |
||
(29 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<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|BY|CD|CI|CU|IQ|IR|KP|LB|LY|MM|SD|SS|SO|SY|YE|ZW|ID|SA|TR |
|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: {{{utm_medium|}}} |
{{#switch: {{{wmf_medium| {{{utm_medium|}}} }}} |
||
|endowment = {{Lp-layout-endowment|country={{{country}}}|form-countryspecific={{{form-countryspecific|Form-countryspecific-control}}}|appeal={{{appeal}}}}} |
|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-{{{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"> |
||
Line 21: | Line 24: | ||
</div><!-- /appeal-wrapper --> |
</div><!-- /appeal-wrapper --> |
||
<div id="form-wrapper"> |
<div id="form-wrapper"> |
||
{{Template: |
{{Template:Form-template/{{{form-template|Form-template-default}}} |
||
| language = {{{language|en}}} |
| language = {{{language|en}}} |
||
| country = {{uc:{{{country|XX}}}}} |
| country = {{uc:{{{country|XX}}}}} |
||
Line 29: | Line 32: | ||
| pym_appeal = {{{pym_appeal|JimmyQuote}}} |
| pym_appeal = {{{pym_appeal|JimmyQuote}}} |
||
}} |
}} |
||
<div style="display: none;"><!-- Opt-in |
<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}}} |
{{#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|}}}{{OptinRequired|{{{country}}}}} |
{{#if:{{{optin|}}}{{OptinRequired|{{uc:{{{country}}}}}}} |
||
| {{#ifexist:Template:Optin/{{{optin}}} |
| {{#ifexist:Template:Optin/{{{optin}}} |
||
| {{Optin/{{{optin}}}}} |
| {{Optin/{{{optin}}}}} |
||
| {{Optin/Default}} |
| {{Optin/Default}} |
||
}} |
|||
}} |
|||
{{#if:{{{monthlypitch|}}} |
|||
⚫ | |||
| {{MonthlyPitch/{{{monthlypitch}}}}} |
|||
| {{MonthlyPitch/Default}} |
|||
}} |
}} |
||
}} |
}} |
||
</div> |
</div> |
||
<div id="infobox-wrapper"> |
<div id="infobox-wrapper" role="complementary"> |
||
{{#invoke:Main|get_infobox |
{{#invoke:Main|get_infobox |
||
| infobox = {{{infobox|Default}}} |
| infobox = {{{infobox|Default}}} |
||
Line 50: | Line 61: | ||
</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" role="contentinfo"> |
||
<div id="donate-tax-message"> |
<div id="donate-tax-message"> |
||
{{#invoke:Main|get_tax_message |
|||
⚫ | |||
| |
| tax_message = {{{tax|}}} |
||
| language = {{int:lang}} |
|||
| {{Footer/Tax/LinkOnly}} |
|||
| country = {{uc:{{{country|XX}}}}} |
|||
}} |
}} |
||
</div> |
</div> |
||
<div class="donate-smallprint"> |
|||
{{Footer/Privacy/Default}} |
{{Footer/Privacy/Default}} |
||
{{Footer/Recurring/Default}} |
{{Footer/Recurring/Default}} |
||
</div> |
|||
<div class="donate" id="donate-links-block"> |
<div class="donate" id="donate-links-block"> |
||
{{Footer/Links/Default}} |
{{Footer/Links/Default}} |
||
</div> |
</div> |
||
</div> |
</div><!-- /donate-footer --> |
||
{{#ifexist:Template:MonthlyConvert/{{{monthlyconvert}}} |
|||
|{{MonthlyConvert/{{{monthlyconvert}}}}} |
|||
|{{MonthlyConvert/Default}} |
|||
}} |
|||
}}<!-- endowment page switch --> |
}}<!-- endowment page switch --> |
||
}}<!-- country switch --> |
}}<!-- country switch --> |
||
Line 74: | Line 88: | ||
__NOTOC__ |
__NOTOC__ |
||
</div><!-- /.mw-parser-output --> |
</div><!-- /.mw-parser-output --> |
||
{{{appeal}}} |
Latest revision as of 18:45, 30 September 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.
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.
Almost done: Please, make it $Y monthly.