Template:Lp-layout-endowment: Difference between revisions
Content deleted Content added
create new template for endowment use |
match changes on Annual Fund |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1:
{{#switch: {{uc:{{{country|}}}}}▼
<div id="main-wrapper" class="country-{{{country|XX}}}">
<div id="appeal-wrapper">
<div id="appeal">
{{#invoke:Main|get_appeal
| appeal = {{#ifeq:{{{appeal}}}|Appeal-default|Endowment|{{{appeal|Endowment}}}}}
| language = {{int:lang}}
| country = {{uc:{{{country|XX}}}}}
}}
</div><!-- /appeal -->
</div><!-- /appeal-wrapper -->
<div id="form-wrapper">
{{Template:
| language = {{{language|en}}}
| country = {{uc:{{{country|XX}}}}}
Line 25 ⟶ 17:
}}
<div style="display: none;"><!-- Opt-in and Pay the Fee - will be moved into correct position by some javascript -->
{{#ifeq:{{{country}}}|FR||
{{#ifexist:Template:PTF/{{{showPTF}}}
| {{PTF/{{{showPTF}}} | country = {{uc:{{{country|XX}}}}} }}
| {{PTF/Default | country = {{uc:{{{country|XX}}}}} }}
}}
}}▼
{{#if:{{{optin|}}}{{OptinRequired|{{{country}}}}}
| {{#ifexist:Template:Optin/{{{optin}}}
| {{Optin/{{{optin}}}}}
Line 36 ⟶ 30:
}}
</div>
<div class="endowment-wtg plainlinks links-in-new-tab">[https://wikimediaendowment.org/ways-to-give/ {{int:donate_interface-otherways-short}}]</div>
{{#invoke:Main|get_infobox▼
| language = {{int:lang}}▼
▲}}
</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}} ▼
|
▲ | language = {{int:lang}}
}}
</div>
<div class="donate-smallprint">▼
{{Footer/Privacy/Default}}
<!--{{Footer/Recurring/Default}}-->
| {{EndowmentFooter/{{int:lang}}}}
| {{EndowmentFooter/en}}
}}▼
<div class="donate" id="donate-links-block">
* [https://donate.wikimedia.org/wiki/Special:LandingCheck?landing_page=Problems_donating&basic=true&language={{int:lang}} {{int:Donate_interface-problemsdonating}}]
* [https://donate.wikimedia.org/wiki/FAQ#What_is_the_Wikimedia_Endowment? {{int:donate_interface-faqs}}]
</div>
</div>
▲}}
<!-- shared resources -->
{{IncludeCSS | Template:Styles/{{{style|Default}}}.css }}
__NOTOC__
|