Template:Lp-layout-default: Difference between revisions

Content deleted Content added
try new responsive page
cleanup excess of <html> tags, move blocked country switch to start (so can avoid loading social media template in those countries)
Line 1:
{{2012FR/Lp-header/Socialmedia
| image=<nowiki>//upload.wikimedia.org/wikipedia/donate/e/eb/Wikipedia-logo-Donate2.png</nowiki>
| description={{Template:2012FR/Switch/Appeal
|appeal = 2011FR/{{{appeal|Appeal-default}}}
|subpage = title
|language = {{int:lang}}
|country = {{{country|XX}}}
|sitename = {{{sitename}}}
}}
}}
{{MediaWiki:Resources/landingpage.css}}
{{MediaWiki:Resources/landingpage.js}}
{{#if: {{{responsive|}}} |
{{MediaWiki:Resources/landingpage-responsive}}
}}
{{#switch: {{{country|}}}
|BY|CD|CI|CU|IQ|IR|KP|LB|LY|MM|SD|SO|SY|YE|ZW|FI
= {{CountryNope}}
|#default=
{{2012FR/Lp-header/Socialmedia
<html>
| image = <nowiki>//upload.wikimedia.org/wikipedia/donate/e/eb/Wikipedia-logo-Donate2.png</nowiki>
| description = {{Template:2012FR/Switch/Appeal
|appeal = 2011FR/{{{appeal|Appeal-default}}}
|subpage = title
|language = {{int:lang}}
|country = {{{country|XX}}}
|sitename = {{{sitename}}}
}}
}}
<table id="LP-table" cellspacing="0" cellpadding="0">
<tbodytr>
<td id="appeal-wrapper">
<tr>
</html>{{Template:2012FR/{{{appeal-template|Appeal-template-default}}}
<td id="appeal-wrapper">
| language = {{{language|en}}}
</html>{{Template:2012FR/{{{appeal-template|Appeal-template-default}}}
| languagecountry = {{{languagecountry|enXX}}}
| countryappeal = {{{countryappeal|XXDefault}}}
| appealsitename = {{{appeal|Defaultsitename}}}
}}
| sitename = {{{sitename}}}
</td>
}}<html>
<td id="form-wrapper">
</td>
</html>{{Template:2012FR/{{{form-template|Form-template-default}}}
<td id="form-wrapper">
| language = {{{language|en}}}
</html>{{Template:2012FR/{{{form-template|Form-template-default}}}
| languagecountry = {{{languagecountry|enXX}}}
| countryappeal = {{{countryappeal|XXDefault}}}
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
| appeal = {{{appeal|Default}}}
| infobox = {{2012FR/Form-section/Infobox
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
| infobox = {{2012FR/Form-section/Infobox
| infobox = {{{infobox|Default}}}
| width = 25em
| language = {{int:lang}}
| country = {{{country}}}
}}
}}
}}<html>
</td>
</tr>
</tbody>
</table>
</html>
}}
 
<!-- shared resources -->
{{MediaWiki:Resources/landingpage.css}}
{{MediaWiki:Resources/landingpage.js}}
{{#if: {{{responsive|}}} | {{MediaWiki:Resources/landingpage-responsive}} }}
__NOTOC__