Template:Lp-layout-default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Pgehres (WMF) (talk | contribs)
No edit summary
comment end of footer
(124 intermediate revisions by 3 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 -->
{{2012FR/Lp-header/Socialmedia
<div class="mw-parser-output"><!-- so that TemplateStyles and various other things work -->
| image=<nowiki>//upload.wikimedia.org/wikipedia/donate/e/eb/Wikipedia-logo-Donate2.png</nowiki>
{{#switch: {{uc:{{{country|}}}}}
| description={{Template:2012FR/Switch/Appeal
|AE|AF|AX|BY|CD|CI|CU|IQ|IR|KP|LB|LY|MM|SD|SS|SO|SY|YE|ZW|ID|SA|TR|KR
|appeal = 2011FR/{{{appeal|Appeal-default}}}
|PY|UZ|TM|XK = {{#ifexist:Template:CountryNope/{{int:lang}} | {{CountryNope/{{int:lang}}}} | {{CountryNope}} }}
|subpage = title
|FI = {{CountryNope/FI}}
|language = {{int:lang}}
|RU = {{CountryNope/RU}}
|country = {{{country|XX}}}
|UA = {{CountryNope/UA}}
|sitename = {{{sitename}}}
|XX|EU|AP|A1|A2|O1 = {{GeolocateError}}
}}
|#default =
{{#switch: {{{wmf_medium| {{{utm_medium|}}} }}}
|endowment = {{Lp-layout-endowment|country={{uc:{{{country|}}}}}|form-countryspecific={{{form-countryspecific|Form-countryspecific-control}}}|appeal={{{appeal}}}|optin={{{optin|}}}}}
|#default =
<div id="main-wrapper" class="country-{{uc:{{{country|XX}}}}}">
<div id="appeal-wrapper">
<div id="appeal">
{{#invoke:Main|get_appeal
| appeal = {{{appeal|default}}}
| language = {{int:lang}}
| country = {{uc:{{{country|XX}}}}}
| sitename = {{{sitename}}}
}}
}}
</div><!-- /appeal -->
{{MediaWiki:Resources/landingpage.css}}
</div><!-- /appeal-wrapper -->
{{MediaWiki:Resources/landingpage.js}}
<div id="form-wrapper">
<html>
{{Template:Form-template/{{{form-template|Form-template-default}}}
<table id="LP-table" cellspacing="0" cellpadding="0">
| language = {{{language|en}}}
<tbody>
| country = {{uc:{{{country|XX}}}}}
<tr>
<td id="appeal-wrapper">
| appeal = {{{appeal|Default}}}
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
</html>{{Template:2012FR/{{{appeal-template|Appeal-template-default}}}
| language = {{{language|en}}}
| pym_variant = {{{pym_variant|}}}
| country = {{{country|XX}}}
| pym_appeal = {{{pym_appeal|JimmyQuote}}}
}}
| appeal = {{{appeal|Default}}}
<div style="display: none;"><!-- Opt-in, Pay the Fee, and Monthly Pitch - will be moved into correct position by some javascript -->
| sitename = {{{sitename}}}
{{#ifeq:{{{country}}}|FR||
}}<html>
{{#ifexist:Template:PTF/{{{showPTF}}}
</td>
| {{PTF/{{{showPTF}}} | country = {{uc:{{{country|XX}}}}} }}
<td id="form-wrapper">
| {{PTF/Default | country = {{uc:{{{country|XX}}}}} }}
</html>{{Template:2012FR/{{{form-template|Form-template-default}}}
}}
| language = {{{language|en}}}
}}
| country = {{{country|XX}}}
{{#if:{{{optin|}}}{{OptinRequired|{{uc:{{{country}}}}}}}
| appeal = {{{appeal|Default}}}
| {{#ifexist:Template:Optin/{{{optin}}}
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
| {{Optin/{{{optin}}}}}
| infobox = {{2012FR/Form-section/Infobox
| {{Optin/Default}}
| infobox = 2012FR/Form-section/Infobox/Default
}}
| appeal = {{{appeal}}}
}}
| width = 25em
{{#if:{{{monthlypitch|}}}
| language = {{int:lang}}
| {{#ifexist:Template:MonthlyPitch/{{{monthlypitch}}}
| country = {{{country}}}
| {{MonthlyPitch/{{{monthlypitch}}}}}
}}
| {{MonthlyPitch/Default}}
}}<html>
</td>
}}
}}
</tr>
</tbody>
</div>
<div id="infobox-wrapper" role="complementary">
</table>
{{#invoke:Main|get_infobox
</html>
| infobox = {{{infobox|Default}}}
| language = {{int:lang}}
| country = {{uc:{{{country|XX}}}}}
}}
</div><!-- /infobox-wrapper -->
</div><!-- /form-wrapper -->
</div><!-- /main-wrapper -->
<div id="donate-footer" class="plainlinks links-in-new-tab" role="contentinfo">
<div id="donate-tax-message">
{{#invoke:Main|get_tax_message
| tax_message = {{{tax|}}}
| language = {{int:lang}}
| country = {{uc:{{{country|XX}}}}}
}}
</div>
{{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__
__NOTOC__
</div><!-- /.mw-parser-output -->

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.