Template:Lp-layout-default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Undo revision 35611 by Pcoombe (talk)
Tags: Removed redirect Undo
switch to maintenance mode
Tag: New redirect
Line 1: Line 1:
#REDIRECT [[Template:Lp-layout-maintenance]]
<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|BY|CD|CI|CU|IQ|IR|KP|LB|LY|MM|SD|SO|SY|YE|ZW|ID|SA|TR|RU|KR|PY = {{#ifexist:Template:CountryNope/{{int:lang}} | {{CountryNope/{{int:lang}}}} | {{CountryNope}} }}
|FI = {{CountryNope/FI}}
|XX|EU|AP|A1|A2|O1 = {{GeolocateError}}
|#default =
{{#switch: {{{utm_medium|}}}
|endowment = {{Lp-layout-endowment|country={{{country}}}}}
|#default =
<div id="main-wrapper" class="country-{{{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 -->
</div><!-- /appeal-wrapper -->
<div id="form-wrapper">
{{Template:2012FR/{{{form-template|Form-template-default}}}
| language = {{{language|en}}}
| country = {{uc:{{{country|XX}}}}}
| appeal = {{{appeal|Default}}}
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
| pym_variant = {{{pym_variant|}}}
| pym_appeal = {{{pym_appeal|JimmyQuote}}}
}}
<div style="display: none;"><!-- Opt-in and Pay the Fee - will be moved into correct position by some javascript -->
{{#ifexist:Template:PTF/{{{showPTF}}}
| {{PTF/{{{showPTF}}} | country = {{uc:{{{country|XX}}}}} }}
| {{PTF/Default | country = {{uc:{{{country|XX}}}}} }}
}}
{{#if:{{{optin|}}}{{#switch: {{uc:{{{country|}}}}}|GB|IE|IT|SE|NL=yes|}} <!-- Auto show opt-in for some countries -->
| {{#ifexist:Template:Optin/{{{optin}}}
| {{Optin/{{{optin}}}}}
| {{Optin/Default}}
}}
}}
</div>
<div id="infobox-wrapper">
{{#invoke:Main|get_infobox
| 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">
<div id="donate-tax-message">
{{#ifexist:Template:Footer/Tax/{{{tax}}}/{{int:lang}}
| {{Footer/Tax/{{{tax}}}/{{int:lang}}}}
| {{Footer/Tax/LinkOnly}}
}}
</div>
<div class="donate-smallprint">
{{Footer/Privacy/Default}}
{{Footer/Recurring/Default}}
</div>
<div class="donate" id="donate-links-block">
{{Footer/Links/Default}}
</div>
</div>
}}<!-- 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__
</div><!-- /.mw-parser-output -->

Revision as of 14:51, 25 May 2020