Template:Lp-layout-default: Difference between revisions
No edit summary |
add role="complementary" for infobox and role="contentinfo" for footer (too complicated at the moment to use <aside>/<footer>) |
||
(24 intermediate revisions by the same user 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
|PY|UZ|TM|XK = {{#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|}}} }}}
|endowment = {{Lp-layout-endowment|country={{uc:{{{country|}}}}}|form-countryspecific={{{form-countryspecific|Form-countryspecific-control}}}|appeal={{{appeal}}}|optin={{{optin|}}}}}
|#default =
<div id="main-wrapper" class="country-{{uc:{{{country|XX}}}}}">
<div id="appeal-wrapper">
<div id="appeal">
Line 21 ⟶ 24:
</div><!-- /appeal-wrapper -->
<div id="form-wrapper">
{{Template:
| language = {{{language|en}}}
| country = {{uc:{{{country|XX}}}}}
Line 29 ⟶ 32:
| pym_appeal = {{{pym_appeal|JimmyQuote}}}
}}
<div style="display: none;"><!-- Opt-in
{{#ifeq:{{{country}}}|FR||
{{#ifexist:Template:PTF/{{{showPTF}}}
| {{PTF/{{{showPTF}}} | country = {{uc:{{{country|XX}}}}} }}
| {{PTF/Default | country = {{uc:{{{country|XX}}}}} }}
}}
}}
{{#if:{{{optin|}}}{{OptinRequired|{{uc:{{{country}}}}}}}
| {{#ifexist:Template:Optin/{{{optin}}}
| {{Optin/{{{optin}}}}}
| {{Optin/Default}}
}}
}}
{{#if:{{{monthlypitch|}}}
| {{MonthlyPitch/{{{monthlypitch}}}}}
| {{MonthlyPitch/Default}}
}}
}}
</div>
<div id="infobox-wrapper" role="complementary">
{{#invoke:Main|get_infobox
| infobox = {{{infobox|Default}}}
Line 50 ⟶ 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
▲{{#ifexist:Template:Footer/Tax/{{{tax}}}/{{int:lang}}
|
| language = {{int:lang}}
| country = {{uc:{{{country|XX}}}}}
}}
</div>
Line 65 ⟶ 77:
</div>
</div>
{{#ifexist:Template:MonthlyConvert/{{{monthlyconvert}}}
|{{MonthlyConvert/{{{monthlyconvert}}}}}
|{{MonthlyConvert/Default}}
}}
}}<!-- endowment page switch -->
}}<!-- country switch -->
|
Latest revision as of 13:05, 29 April 2024
Wikipedia is still not on the market
Thank you for considering a donation to the Wikimedia Foundation, the nonprofit that hosts Wikipedia and other crucial free knowledge projects.
We invite you to reflect on the number of times you visited Wikipedia in the past year. If the knowledge you gained here was valuable, please join the 2% of readers who donate to the nonprofit that supports Wikipedia.
It is hard to know what to trust online these days. Wikipedia is different: not perfect, but also not here to make a profit or to push a particular perspective. It is written by everyone, together, because they want to help create a free repository of high-quality information.
If Wikipedia has given you useful knowledge this year, please give back. There are no small contributions: every edit counts, every donation counts.
Thank you.
Where your donation goes
Technology: Servers, bandwidth, maintenance, development. Wikipedia is one of the top 10 websites in the world, and it runs on a fraction of what other top websites spend.
People and Projects: The other top websites have thousands of employees. Wikimedia Foundation has about 700 staff and contractors to support a wide variety of projects, making your donation a great investment in a highly-efficient not-for-profit organization.
Almost done: Please, make it $Y monthly.