Template:Lp-layout-default: Difference between revisions

Content deleted Content added
always load a monthlyconvert template
add role="complementary" for infobox and role="contentinfo" for footer (too complicated at the moment to use <aside>/<footer>)
 
(8 intermediate revisions by the same user not shown)
Line 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 24:
</div><!-- /appeal-wrapper -->
<div id="form-wrapper">
{{Template:2012FRForm-template/{{{form-template|Form-template-default}}}
| language = {{{language|en}}}
| country = {{uc:{{{country|XX}}}}}
Line 32:
| pym_appeal = {{{pym_appeal|JimmyQuote}}}
}}
<div style="display: none;"><!-- Opt-in and, Pay the Fee, and Monthly Pitch - will be moved into correct position by some javascript -->
{{#ifeq:{{{country}}}|FR||
{{#ifexist:Template:PTF/{{{showPTF}}}
Line 43:
| {{Optin/{{{optin}}}}}
| {{Optin/Default}}
}}
}}
{{#if:{{{monthlypitch|}}}
| {{#ifexist:Template:MonthlyPitch/{{{monthlypitch}}}
| {{MonthlyPitch/{{{monthlypitch}}}}}
| {{MonthlyPitch/Default}}
}}
}}
</div>
<div id="infobox-wrapper" role="complementary">
{{#invoke:Main|get_infobox
| infobox = {{{infobox|Default}}}
Line 55 ⟶ 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 72 ⟶ 78:
</div>
{{#ifexist:Template:MonthlyConvert/{{{monthlyconvert}}}
| {{MonthlyConvert/{{{monthlyconvert}}}}}
| {{MonthlyConvert/Default}}
}}
}}<!-- endowment page switch -->