Template:Lp-layout-default: Difference between revisions
Content deleted Content added
add AX to non-fundraising countries, since it's tied to Finland where we don't fundraise |
Undo revision 40657 by PPenloglou-WMF (talk) Tag: Undo |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 2:
<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|KR
|PY|UZ|TM|XK|IN = {{#ifexist:Template:CountryNope/{{int:lang}} | {{CountryNope/{{int:lang}}}} | {{CountryNope}} }} |FI = {{CountryNope/FI}}
|RU = {{CountryNope/RU}}
Line 8 ⟶ 9:
|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 =
Line 23 ⟶ 24:
</div><!-- /appeal-wrapper -->
<div id="form-wrapper">
{{Template:
| language = {{{language|en}}}
| country = {{uc:{{{country|XX}}}}}
Line 31 ⟶ 32:
| pym_appeal = {{{pym_appeal|JimmyQuote}}}
}}
<div style="display: none;"><!-- Opt-in
{{#ifeq:{{{country}}}|FR||
{{#ifexist:Template:PTF/{{{showPTF}}}
Line 42 ⟶ 43:
| {{Optin/{{{optin}}}}}
| {{Optin/Default}}
}}▼
}}
{{#if:{{{monthlypitch|}}}
| {{#ifexist:Template:MonthlyPitch/{{{monthlypitch}}}
| {{MonthlyPitch/{{{monthlypitch}}}}}
}}
}}
</div>
<div id="infobox-wrapper" role="complementary">
{{#invoke:Main|get_infobox
| infobox = {{{infobox|Default}}}
Line 54 ⟶ 61:
</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
Line 62 ⟶ 69:
}}
</div>
{{Footer/Privacy/Default}}
{{Footer/Recurring/Default}}
<div class="donate" id="donate-links-block">
{{Footer/Links/Default}}
</div>
</div><!-- /donate-footer -->
{{#
|
▲ | {{MonthlyConvert/Default}}
▲ }}
}}
}}<!-- endowment page switch -->
|