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
comment end of footer
 
(169 intermediate revisions by 6 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>
<div class="mw-parser-output"><!-- so that TemplateStyles and various other things work -->
<style type="text/css">
{{#switch: {{uc:{{{country|}}}}}
/*CSS for changing MW wrapper look*/
|AE|AF|AX|BY|CD|CI|CU|IQ|IR|KP|LB|LY|MM|SD|SS|SO|SY|YE|ZW|ID|SA|TR|KR
#pitch {
|PY|UZ|TM|XK = {{#ifexist:Template:CountryNope/{{int:lang}} | {{CountryNope/{{int:lang}}}} | {{CountryNope}} }}
height: 236px;
|FI = {{CountryNope/FI}}
background-image: url(</html>{{#ifeq:{{Template:Ltr-direction|{{{uselang|en}}}}}|rtl|<html>//upload.wikimedia.org/wikipedia/foundation/9/9a/Jimmy_Appeal_2009-flipped.jpg</html>|<html>//upload.wikimedia.org/wikipedia/foundation/d/dc/Jimmy_Appeal_2009.jpg</html>}}<html>);
|RU = {{CountryNope/RU}}
background-position: </html>{{#ifeq:{{Template:Ltr-direction|{{{uselang|en}}}}}|rtl|left|right}}<html> top;
|UA = {{CountryNope/UA}}
background-repeat: no-repeat;
|XX|EU|AP|A1|A2|O1 = {{GeolocateError}}
background-color: #1e1e1e;
|#default =
border: 1px solid gray;
{{#switch: {{{wmf_medium| {{{utm_medium|}}} }}}
border-bottom-width: 0;
|endowment = {{Lp-layout-endowment|country={{uc:{{{country|}}}}}|form-countryspecific={{{form-countryspecific|Form-countryspecific-control}}}|appeal={{{appeal}}}|optin={{{optin|}}}}}
}
|#default =
#pitch-head {
<div id="main-wrapper" class="country-{{uc:{{{country|XX}}}}}">
width: 50%;
<div id="appeal-wrapper">
font-size: 1.75em;
<div id="appeal">
line-height: 1.5em;
{{#invoke:Main|get_appeal
color: white;
| appeal = {{{appeal|default}}}
margin-top: 16px;
| language = {{int:lang}}
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{{uselang|en}}}}}|rtl|left|right}}<html>: 24px;
| country = {{uc:{{{country|XX}}}}}
}
| sitename = {{{sitename}}}
#pitch-body {
}}
width: 50%;
</div><!-- /appeal -->
font-size: 1em;
</div><!-- /appeal-wrapper -->
line-height: 1.5em;
<div id="form-wrapper">
color: white;
{{Template:Form-template/{{{form-template|Form-template-default}}}
margin-top: 16px;
| language = {{{language|en}}}
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{{uselang|en}}}}}|rtl|left|right}}<html>: 24px;
| country = {{uc:{{{country|XX}}}}}
}
| appeal = {{{appeal|Default}}}
body.mediawiki{
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
direction: </html>{{Template:Ltr-direction|{{{uselang|en}}}}}<html> !important;
| pym_variant = {{{pym_variant|}}}
}
| pym_appeal = {{{pym_appeal|JimmyQuote}}}
div#mw-panel{
}}
left: auto !important;
<div style="display: none;"><!-- Opt-in, Pay the Fee, and Monthly Pitch - will be moved into correct position by some javascript -->
right: auto !important;
{{#ifeq:{{{country}}}|FR||
}
{{#ifexist:Template:PTF/{{{showPTF}}}
#footer {
| {{PTF/{{{showPTF}}} | country = {{uc:{{{country|XX}}}}} }}
background-image: none !important;
| {{PTF/Default | country = {{uc:{{{country|XX}}}}} }}
}
}}
#mw-head-base {
}}
height: 1em !important;
{{#if:{{{optin|}}}{{OptinRequired|{{uc:{{{country}}}}}}}
}
| {{#ifexist:Template:Optin/{{{optin}}}
#mw-panel div.portal {
| {{Optin/{{{optin}}}}}
display: none !important;
| {{Optin/Default}}
}
}}
#p-namespaces, #p-views, #p-cactions, #p-search, #p-personal, #catlinks, #firstHeading, #contentSub, #siteSub {
}}
display: none;
{{#if:{{{monthlypitch|}}}
}
| {{#ifexist:Template:MonthlyPitch/{{{monthlypitch}}}
div#content {
| {{MonthlyPitch/{{{monthlypitch}}}}}
background-color: transparent !important;
| {{MonthlyPitch/Default}}
background-image: none !important;
}}
direction: </html>{{Template:Ltr-direction|{{{uselang|en}}}}}<html> !important;
}}
/*margin-</html>{{#ifeq:{{Template:Ltr-direction|{{{uselang|en}}}}}|rtl|left|right}}<html>: 10em;*/
</div>
}
<div id="infobox-wrapper" role="complementary">
div#mw-head-base {
{{#invoke:Main|get_infobox
background-image: none !important;
| 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 -->
#footer-places{
{{IncludeCSS | Template:Styles/{{{style|Default}}}.css }}
display: none !important;
{{#if:{{{style2|}}}| {{IncludeCSS | Template:Styles/{{{style2}}}.css }} }} <!-- additional styles? -->
}
{{#if:{{{addStyle|}}}| {{IncludeCSS | Template:Styles/{{{addStyle}}}.css }} }} <!-- additional styles? -->
/*End MW CSS changes*/

/*template CSS/*
#LP-table{
width:100%;
direction: </html>{{Template:Ltr-direction|{{{uselang|en}}}}}<html>;
border: none;
}
#form-wrapper{
vertical-align: top;
}
#appeal-wrapper{
vertical-align: top;
padding-</html>{{#ifeq:{{Template:Ltr-direction|{{{uselang|en}}}}}|rtl|left|right}}<html>: 2em;
}
/*End template CSS*/
</style>
<table id="LP-table" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="appeal-wrapper">
</html>{{Template:2011FR/{{{appeal-template|appeal-template-default}}}
| appeal-title = {{Template:LanguageSwitch|2011FR/{{{appeal|Appeal-default}}}/title|{{{uselang|en}}}|{{{country|US}}}}}
| appeal-text = {{Template:LanguageSwitch|2011FR/{{{appeal|Appeal-default}}}/text|{{{uselang|en}}}|{{{country|US}}}}}
<!-- is this needed? -->
| translate-link = {{{appeal|Apeal-default}}}
| uselang = {{{uselang|en}}}
| country = {{{country|US}}}
}}<html>
</td>
<td id="form-wrapper">
</html>{{Template:2011FR/{{{form-template|form-template-default}}}
| country = {{{country|US}}}
| uselang = {{{uselang|en}}}
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
}}<html>
</td>
</tr>
</tbody>
</table>
</html>
__NOTOC__
__NOTOC__
</div><!-- /.mw-parser-output -->

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.