Template:Lp-layout-default: Difference between revisions

Content deleted Content added
add tax message
Undo revision 40657 by PPenloglou-WMF (talk)
Tag: Undo
 
(85 intermediate revisions by 3 users not shown)
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 -->
<div class="mw-parser-output"><!-- so that TemplateStyles and various other things work -->
{{#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|RU|KR
|PY|UZ|TM|XK|IN = {{#ifexist:Template:CountryNope/{{int:lang}} | {{CountryNope/{{int:lang}}}} | {{CountryNope}} }}
|FI = {{CountryNope/FI}}
|RU = {{CountryNope/RU}}
|UA = {{CountryNope/UA}}
|XX|EU|AP|A1|A2|O1 = {{GeolocateError}}
|#default =
{{#switch: {{{wmf_medium| {{{utm_medium|}}} }}}
{{2012FR/Lp-header/Socialmedia
|endowment = {{Lp-layout-endowment|country={{uc:{{{country|}}}}}|form-countryspecific={{{form-countryspecific|Form-countryspecific-control}}}|appeal={{{appeal}}}|optin={{{optin|}}}}}
| image = <nowiki>//upload.wikimedia.org/wikipedia/donate/e/eb/Wikipedia-logo-Donate2.png</nowiki>
|#default =
| description = {{Template:2012FR/Switch/Appeal
<tablediv id="LPmain-tablewrapper" class="country-{{uc:{{{country|XX}}}}}">
|appeal = 2011FR/{{{appeal|Appeal-default}}}
<tddiv id="appeal-wrapper">
|subpage = title
<div id="appeal">
|language = {{int:lang}}
{{#invoke:Main|get_appeal
|country = {{uc:{{{country|XX}}}}}
| appeal |sitename = {{{sitenameappeal|default}}}
| language = {{int:lang}}
}}
<table id="LP-table" class="country-{{{country|XX}}}">
<tr>
<td id="appeal-wrapper">
{{Template:2012FR/{{{appeal-template|Appeal-template-default}}}
| language = {{{language|en}}}
| country = {{uc:{{{country|XX}}}}}
| appeal = {{{appeal|Default}}}
| sitename = {{{sitename}}}
}}
</div><!-- /appeal -->
</td>
<td/div><!-- id="form/appeal-wrapper" -->
<div id="donorform-policy-blockwrapper">
{{Template:2012FR/{{{form-template|Form-template-default}}}
{{Template:2012FRForm-template/{{{appealform-template|AppealForm-template-default}}}
| language = {{{language|en}}}
| country = {{uc:{{{country|XX}}}}}
| appeal = {{{appeal|Default}}}
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
| pym_variant = {{{pym_variant|}}}
| infobox = {{2012FR/Form-section/Infobox
| pym_appeal | infobox = {{{infoboxpym_appeal|DefaultJimmyQuote}}}
| width = 25em
| language = {{int:lang}}
| country = {{uc:{{{country}}}}}
}}
}}
<div style="display: none;"><!-- Opt-in, Pay the Fee, and Monthly Pitch - will be moved into correct position by some javascript -->
</td>
{{#ifeq:{{{country}}}|FR||
</tr>
{{#ifexist:Template:PTF/{{{showPTF}}}
</table>
| {{PTF/{{{showPTF}}} | country = {{uc:{{{country|XX}}}}} }}
<div id="donate-footer" class="plainlinks">
| {{PTF/Default | |country = {{uc:{{{country|XX}}}}} }}
<div id="donor-policy-block">
{{2012FR/Form-section/Privacy/Default
| language = {{int:lang}}
| country = {{uc:{{{country}}}}}
}}
}}
</div>
{{#if:{{{optin|}}}{{OptinRequired|{{uc:{{{country}}}}}}}
<div id="donate-tax-message">
| {{#ifexist: Footer/TaxTemplate:Optin/{{tax{optin}}/{{int:lang}}
| {{Footer/TaxOptin/{{tax{optin}}/{{language}}}}
| {{Footer/TaxOptin/LinkOnlyDefault}}
}}
}}
{{#if:{{{monthlypitch|}}}
| {{#ifexist:Template:MonthlyPitch/{{{monthlypitch}}}
| {{MonthlyPitch/{{{monthlypitch}}}}}
| {{MonthlyPitch/Default}}
}}
}}
</div>
<div classid="donateinfobox-wrapper" idrole="donate-links-blockcomplementary">
{{#invoke:Main|get_infobox
{{2012FR/Form-section/Links/Default
| appeal infobox = {{{appealinfobox|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 = {{{language|en}int:lang}}
| country = {{uc:{{{country|XX}}}}}
}}
</div>
{{2012FR/Form-sectionFooter/Privacy/Default}}
{{Footer/Recurring/Default}}
<div class="donate" id="donate-links-block">
{{2012FR/Form-sectionFooter/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|2016 oojs uiDefault}}}.css }}
{{#if:{{{style2|}}}| {{IncludeCSS | Template:Styles/{{{style2}}}.css }} }} <!-- additional styles? -->
{{#if:{{{addStyle|}}}| {{IncludeCSS | Template:Styles/{{{addStyle}}}.css }} }} <!-- additional styles? -->
__NOTOC__
</div><!-- /.mw-parser-output -->