Template:Lp-layout-default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Undo revision 40657 by PPenloglou-WMF (talk)
Tag: Undo
 
(144 intermediate revisions by 5 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/foundation/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|IN = {{#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 -->
<html>
</div><!-- /appeal-wrapper -->
<script type="text/javascript">
<div id="form-wrapper">
$( document ).ready( function () {
{{Template:Form-template/{{{form-template|Form-template-default}}}
// Disable submitting form with return key
| language = {{{language|en}}}
$( 'form' ).bind( 'keypress', function(e) {
| country = {{uc:{{{country|XX}}}}}
var code = ( e.keyCode ? e.keyCode : e.which );
| appeal = {{{appeal|Default}}}
if ( code == 13 ) return false;
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
} );
| pym_variant = {{{pym_variant|}}}
} );
| pym_appeal = {{{pym_appeal|JimmyQuote}}}
</script>
}}
<style type="text/css">
<div style="display: none;"><!-- Opt-in, Pay the Fee, and Monthly Pitch - will be moved into correct position by some javascript -->
#LP-table{
{{#ifeq:{{{country}}}|FR||
width:100%;
{{#ifexist:Template:PTF/{{{showPTF}}}
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html>;
| {{PTF/{{{showPTF}}} | country = {{uc:{{{country|XX}}}}} }}
border: none;
| {{PTF/Default | country = {{uc:{{{country|XX}}}}} }}
}
}}
#form-wrapper{
}}
vertical-align: top;
{{#if:{{{optin|}}}{{OptinRequired|{{uc:{{{country}}}}}}}
}
| {{#ifexist:Template:Optin/{{{optin}}}
#appeal-wrapper{
| {{Optin/{{{optin}}}}}
vertical-align: top;
| {{Optin/Default}}
padding-</html>{{#ifeq:{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 2em;
}
}}
}}
body.mediawiki{
{{#if:{{{monthlypitch|}}}
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
| {{#ifexist:Template:MonthlyPitch/{{{monthlypitch}}}
}
| {{MonthlyPitch/{{{monthlypitch}}}}}
div#mw-panel{
| {{MonthlyPitch/Default}}
left: auto !important;
}}
right: auto !important;
}
}}
</div>
#footer {
<div id="infobox-wrapper" role="complementary">
background-image: none !important;
{{#invoke:Main|get_infobox
}
| infobox = {{{infobox|Default}}}
#mw-head-base {
| language = {{int:lang}}
height: 1em !important;
| country = {{uc:{{{country|XX}}}}}
}
}}
#mw-panel div.portal {
</div><!-- /infobox-wrapper -->
display: none !important;
</div><!-- /form-wrapper -->
}
</div><!-- /main-wrapper -->
#p-namespaces, #p-views, #p-cactions, #p-search, #p-personal, #catlinks, #firstHeading, #contentSub, #siteSub {
<div id="donate-footer" class="plainlinks links-in-new-tab" role="contentinfo">
display: none;
<div id="donate-tax-message">
}
{{#invoke:Main|get_tax_message
div#content {
| tax_message = {{{tax|}}}
background-color: transparent !important;
| language = {{int:lang}}
background-image: none !important;
| country = {{uc:{{{country|XX}}}}}
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
}
}}
</div>
div#mw-head-base {
{{Footer/Privacy/Default}}
background-image: none !important;
{{Footer/Recurring/Default}}
}
<div class="donate" id="donate-links-block">
#footer-places{
{{Footer/Links/Default}}
display: none !important;
</div>
}
</div><!-- /donate-footer -->
</style>
{{#ifexist:Template:MonthlyConvert/{{{monthlyconvert}}}
<!--[if lt IE 8]>
|{{MonthlyConvert/{{{monthlyconvert}}}}}
<style type="text/css">
|{{MonthlyConvert/Default}}
div#mw-panel {
}}
left: 0 !important;
}}<!-- endowment page switch -->
right: auto !important;
}}<!-- country switch -->
}

body.rtl div#mw-panel{
<!-- shared resources -->
left: auto !important;
{{IncludeCSS | Template:Styles/{{{style|Default}}}.css }}
right: 0 !important;
{{#if:{{{style2|}}}| {{IncludeCSS | Template:Styles/{{{style2}}}.css }} }} <!-- additional styles? -->
}
{{#if:{{{addStyle|}}}| {{IncludeCSS | Template:Styles/{{{addStyle}}}.css }} }} <!-- additional styles? -->
</style>
<![endif]-->
<table id="LP-table" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="appeal-wrapper">
</html>{{Template:2012FR/{{{appeal-template|Appeal-template-default}}}
| language = {{{language|en}}}
| country = {{{country|XX}}}
| appeal = {{{appeal|Default}}}
| sitename = {{{sitename}}}
}}<html>
</td>
<td id="form-wrapper">
</html>{{Template:2012FR/{{{form-template|Form-template-default}}}
| language = {{{language|en}}}
| country = {{{country|XX}}}
| appeal = {{{appeal|Default}}}
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
}}<html>
</td>
</tr>
</tbody>
</table>
</html>
__NOTOC__
__NOTOC__
</div><!-- /.mw-parser-output -->

Latest revision as of 13:40, 13 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.