Template:Lp-layout-Default: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1:
#REDIRECT[[Template:Lp-layout-default]]
{{2012FR/Lp-header/Socialmedia
| image=<nowiki>//upload.wikimedia.org/wikipedia/foundation/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}}}
}}
}}
<html>
<style type="text/css">
#pitch {
height: 236px;
background-image: url(</html>{{#ifeq:{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}|rtl|<html>//upload.wikimedia.org/wikipedia/foundation/9/9a/Jimmy_Appeal_2009-flipped.jpg</html>|<html>//upload.wikimedia.org/wikipedia/foundation/d/dc/Jimmy_Appeal_2009.jpg</html>}}<html>);
background-position: </html>{{#ifeq:{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html> top;
background-repeat: no-repeat;
background-color: #1e1e1e;
border: 1px solid gray;
border-bottom-width: 0;
}
#pitch-head {
width: 50%;
font-size: 1.75em;
line-height: 1.5em;
color: white;
margin-top: 16px;
margin-</html>{{#ifeq:{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 24px;
}
#pitch-body {
width: 50%;
font-size: 1em;
line-height: 1.5em;
color: white;
margin-top: 16px;
margin-</html>{{#ifeq:{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 24px;
}
#LP-table{
width:100%;
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html>;
border: none;
}
#form-wrapper{
vertical-align: top;
}
#appeal-wrapper{
vertical-align: top;
padding-</html>{{#ifeq:{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 2em;
}
body.mediawiki{
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
}
div#mw-panel{
left: auto !important;
right: auto !important;
}
#footer {
background-image: none !important;
}
#mw-head-base {
height: 1em !important;
}
#mw-panel div.portal {
display: none !important;
}
#p-namespaces, #p-views, #p-cactions, #p-search, #p-personal, #catlinks, #firstHeading, #contentSub, #siteSub {
display: none;
}
div#content {
background-color: transparent !important;
background-image: none !important;
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
/*margin-</html>{{#ifeq:{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 10em;*/
}
div#mw-head-base {
background-image: none !important;
}
#footer-places{
display: none !important;
}
</style>
<!--[if lt IE 8]>
<style type="text/css">
div#mw-panel {
left: 0 !important;
right: auto !important;
}
body.rtl div#mw-panel{
left: auto !important;
right: 0 !important;
}
</style>
<![endif]-->
<table id="LP-table" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="appeal-wrapper">
</html>{{Template:2012FR/{{{appeal-template|Appeal-template-default}}}
| language = {{{language|en}}}
| country = {{{country|XX}}}
| appeal = {{{appeal|Default}}}
| sitename = {{{sitename}}}
}}<html>
</td>
<td id="form-wrapper">
</html>{{Template:2012FR/{{{form-template|Form-template-default}}}
| language = {{{language|en}}}
| country = {{{country|XX}}}
| appeal = {{{appeal|Default}}}
| form-countryspecific = {{{form-countryspecific|Form-countryspecific-control}}}
}}<html>
</td>
</tr>
</tbody>
</table>
<script type="text/javascript">
$( document ).ready( function () {
// Disable submitting form with return key
$( 'form' ).bind( 'keypress', function(e) {
var code = ( e.keyCode ? e.keyCode : e.which );
if ( code == 13 ) return false;
} );
} );
</script>
</html>
__NOTOC__