Template:Lp-layout-default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 1: Line 1:
<html>
<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">
<style type="text/css">
#pitch {
#pitch {
height: 236px;
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-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}}}}}}}|rtl|left|right}}<html> top;
background-position: </html>{{#ifeq:{{Template:Ltr-direction|{{{uselang|en}}}}}|rtl|left|right}}<html> top;
background-repeat: no-repeat;
background-repeat: no-repeat;
background-color: #1e1e1e;
background-color: #1e1e1e;
Line 34: Line 16:
color: white;
color: white;
margin-top: 16px;
margin-top: 16px;
margin-</html>{{#feq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|rtl|right|left}}<html>: 24px;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{{uselang|en}}}}}|rtl|left|right}}<html>: 24px;
}
}
#pitch-body {
#pitch-body {
Line 42: Line 24:
color: white;
color: white;
margin-top: 16px;
margin-top: 16px;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|rtl|right|left}}<html>: 24px;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{{uselang|en}}}}}|rtl|left|right}}<html>: 24px;
}
}
#LP-table{
#LP-table{
width:100%;
width:100%;
direction: </html>{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}<html>;
direction: </html>{{Template:Ltr-direction|{{{uselang|en}}}}}<html>;
border: none;
border: none;
}
}
Line 57: Line 39:
}
}
body.mediawiki{
body.mediawiki{
direction: </html>{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}<html> !important;
direction: </html>{{Template:Ltr-direction|{{{uselang|en}}}}}<html> !important;
}
}
div#mw-panel{
div#mw-panel{
Line 78: Line 60:
background-color: transparent !important;
background-color: transparent !important;
background-image: none !important;
background-image: none !important;
direction: </html>{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}<html> !important;
direction: </html>{{Template:Ltr-direction|{{{uselang|en}}}}}<html> !important;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|rtl|right|left}}<html>: 10em;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{{uselang|en}}}}}|rtl|left|right}}<html>: 10em;
}
}
div#mw-head-base {
div#mw-head-base {
Line 90: Line 72:
<td id="appeal-wrapper">
<td id="appeal-wrapper">
</html>{{Template:2011FR/{{{appeal-template|appeal-template-default}}}
</html>{{Template:2011FR/{{{appeal-template|appeal-template-default}}}
| appeal-title = {{Template:LanguageSwitch|2011FR/{{{appeal|Appeal-default}}}/title|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|{{{country}}}
| appeal-title = {{Template:LanguageSwitch|2011FR/{{{appeal|Appeal-default}}}/title|{{{uselang|en}}}}}|{{{country}}}
| appeal-text = {{Template:LanguageSwitch|2011FR/{{{appeal|Appeal-default}}}/text|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|{{{country}}}
| appeal-text = {{Template:LanguageSwitch|2011FR/{{{appeal|Appeal-default}}}/text|{{{uselang|en}}}}}|{{{country}}}
}}<html>
}}<html>
</td>
</td>
Line 97: Line 79:
</html>{{Template:2011FR/{{{form-template|form-template-default-2}}}
</html>{{Template:2011FR/{{{form-template|form-template-default-2}}}
| country = {{{country|CA}}}
| country = {{{country|CA}}}
<!-- | lang = {{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}} -->
| lang = {{{uselang|en}}}
| lang = {{int:lang}}
}}<html>
}}<html>
</td>
</td>

Revision as of 20:22, 2 November 2011

Template:2011FR/appeal-template-default
By donating, you are sharing your information with the Wikimedia Foundation, the nonprofit organization that hosts Wikipedia and other Wikimedia projects, and its service providers in the U.S. and elsewhere pursuant to our donor privacy policy. We do not sell or trade your information to anyone. For more information please read .