Template:Lp-layout-default: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 1:
<html>
<script type="text/javascript">
 
function getQuerystring( key ) {
key = key.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' );
var regex = new RegExp( '[\\?&]' + key + '=([a-zA-Z0-9\_\-]*)' );
var qs = regex.exec( window.location.search );
return qs == null ? '' : qs[1];
}
var countryCode = getQuerystring("country");
//alert(countryCode);
var languageCode = getQuerystring("uselang");
//alert(languageCode);
//var appealName = getQuerystring("appeal");
//alert(appealName);
//var appealName = getQuerystring("form");
 
</script>
 
<style type="text/css">
#pitch {
height: 236px;
background-image: url(</html>{{#ifeq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|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:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}en}}}}}|rtl|left|right}}<html> top;
background-repeat: no-repeat;
background-color: #1e1e1e;
Line 34 ⟶ 16:
color: white;
margin-top: 16px;
margin-</html>{{#feqifeq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}en}}}}}|rtl|right|left|right}}<html>: 24px;
}
#pitch-body {
Line 42 ⟶ 24:
color: white;
margin-top: 16px;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}en}}}}}|rtl|left|right|left}}<html>: 24px;
}
#LP-table{
width:100%;
direction: </html>{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}en}}}}}<html>;
border: none;
}
Line 57 ⟶ 39:
}
body.mediawiki{
direction: </html>{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}en}}}}}<html> !important;
}
div#mw-panel{
Line 78 ⟶ 60:
background-color: transparent !important;
background-image: none !important;
direction: </html>{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}en}}}}}<html> !important;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}en}}}}}|rtl|left|right|left}}<html>: 10em;
}
div#mw-head-base {
Line 90 ⟶ 72:
<td id="appeal-wrapper">
</html>{{Template:2011FR/{{{appeal-template|appeal-template-default}}}
| appeal-title = {{Template:LanguageSwitch|2011FR/{{{appeal|Appeal-default}}}/title|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}en}}}}}|{{{country}}}
| appeal-text = {{Template:LanguageSwitch|2011FR/{{{appeal|Appeal-default}}}/text|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}en}}}}}|{{{country}}}
}}<html>
</td>
Line 97 ⟶ 79:
</html>{{Template:2011FR/{{{form-template|form-template-default-2}}}
| country = {{{country|CA}}}
<!-- | lang = {{#ifeq:{{{uselang|en}}}||{{int:lang}}|{{{uselang}}}}} -->
| lang = {{int:lang}}
}}<html>
</td>