User:Pcoombe (WMF)/sandbox: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
No edit summary
code cleanup. hoping to get something that works on mobile
Line 1: Line 1:
__NOTOC__
<html>
<html>
<style>
p {
line-height: 1.2em;
}
</style>
</html>


<!-- donor comments box -->
<span class="informationsharing-US" style="display: none;">
<div style="background:#fbfbfb; border:1px solid #bbbbbb; min-height: 100px; margin-bottom: 10px; font-size: 145%; text-align: center; padding: 0.5em 2em;">
By donating, you are agreeing to our <a class="localize" target="_blank" href="https://wikimediafoundation.org/wiki/Special:LandingCheck?basic=true&amp;landing_page=Donor_policy">donor privacy policy</a>. The Wikimedia Foundation is a nonprofit, <a class="localize" target="_blank" href="https://wikimediafoundation.org/wiki/Tax_Deductibility/en">tax-exempt organization</a>.
</span>


<p id="std-message">
<span class="informationsharing-nonUS">
{{{comments-text|'''[[Stories2/en|Read]]''' about why other donors around the world support Wikipedia and its sister projects, or find out if your company has a [[Donate/Match Your Gift/en|corporate matching]] gift program. <br /> Tell the world that you support Wikimedia: tweet it with hashtag #keepitfree!}}}
By donating, you are agreeing to our <a class="localize" target="_blank" href="https://wikimediafoundation.org/wiki/Special:LandingCheck?basic=true&amp;landing_page=Donor_policy">donor privacy policy</a> and to sharing your information with the <a class="localize" target="_blank" href="https://wikimediafoundation.org/wiki/Special:LandingCheck?basic=true&amp;landing_page=Tax_Deductibility">Wikimedia Foundation</a> and its service providers in the U.S. and elsewhere.
</span>
</p>
<p id="bt-message" style="display: none;">
{{FRLocalize|2011FR/Thanks-BT}}
</p>
<p id="dd-message" style="display: none;">
{{FRLocalize|2011FR/Thanks-DD}}
</p>


<html>
<script>
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 paymentMethod = getQuerystring("payment_method");

if(paymentMethod == "bt")
{
//$("#std-message").hide();
$("#bt-message").show();
}
//else if(paymentMethod == "dd")
//{
// //$("#std-message").hide();
// $("#dd-message").show();
//}

</script>
</html>
</html>

</div>

<!-- New content -->
[[File:The Impact Of Wikipedia.webm|thumbtime=3:52|thumb|center|600px|Meet a few of the volunteer editors who write and maintain Wikipedia]]

{{FRLocalizePass|Social bookmarks|{{{language}}}}}

{{#if:{{{survey-link|}}}
| <div style="margin:2em auto;font-size:120%; font-weight:bold; text-align:center;" class="plainlinks">{{{survey-text|We'd love to hear why you chose to donate today. Please answer [{{{survey-link|}}} a few questions] to help us with our fundraiser.}}}</div>
| <html><table valign="top" style="width:50%; margin-right:auto; margin-left:auto; height: 100%; vertical-align:top; background:#fbfbfb; text-align: left; border: 1px solid #bbbbbb; align="center";">
<tr>
<th style="font-weight: normal; font-size: 0.8em; vertical-align: top;">
<h2 style="margin:3px; background:#fbfbfb; font-size:120%; font-weight:bold; border:1px solid #bbbbbb; text-align:left; color:#000; padding:0.2em 0.4em;"></html>{{{story-title|Please tell us your Wikipedia story}}} {{#switch:{{{language}}}|zh-hans|zh-hant|yue|ja|ko=<small>|#default={{{story-optional-italics|''}}}}}({{{story-optional|Optional}}}){{#switch:{{{language}}}|zh-hans|zh-hant|yue|ja|ko=</small>|#default={{{story-optional-italics|''}}}}}<html></h2>
<form style="padding: 6px;" name='stories' method='post' action='</html>{{localurl:Special:Contact}}<html>'>
<input type="hidden" name="returnto" value="Support/en">
<p style="font-style: italic; font-size: 1.1em;"></html>{{{story-links|Read other [[Stories2/en|Wikipedia stories]].}}}<html></p>
<p style="font-weight: bold; font-size: 1.2em;">
</html>{{{story-intro|What does Wikipedia mean to you?}}}<html>
</p>
<p>

<table valign="top" style="background: none; vertical-align: top;">
<tr>
<td></html>{{{story-name|Name:}}} <html></td>
<td><input style="width: 400px;" type="text" name="name" id="name" maxlength="200" size="30" /></td>
</tr>
<tr style="white-space: nowrap">
<td></html>{{{story-age|Age:}}}<html></td>
<td style="white-space: nowrap"><input style="width:50px;" type="text" name="age" id="age" maxlength="3" size="3" />
</html>{{{story-city|City:}}} <html>
<input style="width: 320px;" type="text" name="location" id="location" maxlength="200" size="30" /></td>
</tr>
<tr>
<td></html>{{{story-email|Email:}}}<html></td>
<td><input style="width: 400px;" type="text" name="email" id="email" maxlength="200" size="30" /></td>
</tr>
<tr valign="top">
<td></html>{{{story-your-story|Your&nbsp;story:}}}<html></td>
<td><textarea style="width: 400px;" name="story" id="story" cols="25" rows="6"></textarea></td>
</tr>
</tr>
<tr valign="top">
<td></td>
<td><input type="submit" value="</html>{{{story-submit|Submit}}}<html>" /></td></tr><tr><td></td>
<td style="line-height: 1.5em;"><input type="checkbox" name="followup" id="followup" value="story-permission"/>&nbsp;&nbsp;<label for="follow-up"></html>{{{story-permission|By checking this box, you grant the Wikimedia Foundation permission to follow-up with you directly regarding your story, and to use it to publicize the Wikimedia Foundation and its projects.
}}}<html></label></td>
</tr>
</table>
</form>
</th></tr></table></html>
}}<html>
</td></tr><tr><td style="vertical-align: top;">


</td><td></td><td></td></tr></table></html>
{{Hide banners}}

Revision as of 17:48, 20 November 2013

<html> <style> p {

 line-height: 1.2em;

} </style> </html>

Read about why other donors around the world support Wikipedia and its sister projects, or find out if your company has a corporate matching gift program.
Tell the world that you support Wikimedia: tweet it with hashtag #keepitfree!

<html> <script> 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 paymentMethod = getQuerystring("payment_method");

if(paymentMethod == "bt") {

 //$("#std-message").hide();
 $("#bt-message").show();

} //else if(paymentMethod == "dd") //{ // //$("#std-message").hide(); // $("#dd-message").show(); //}

</script> </html>

Meet a few of the volunteer editors who write and maintain Wikipedia

Template:FRLocalizePass

<html>

</html>Please tell us your Wikipedia story (Optional)<html>

<form style="padding: 6px;" name='stories' method='post' action='</html>/wiki/Special:Contact<html>'> <input type="hidden" name="returnto" value="Support/en">

</html>Read other Wikipedia stories.<html>

</html>What does Wikipedia mean to you?<html>

</html>Name: <html> <input style="width: 400px;" type="text" name="name" id="name" maxlength="200" size="30" />
</html>Age:<html> <input style="width:50px;" type="text" name="age" id="age" maxlength="3" size="3" />
       </html>City: <html>
<input style="width: 320px;" type="text" name="location" id="location" maxlength="200" size="30" />
</html>Email:<html> <input style="width: 400px;" type="text" name="email" id="email" maxlength="200" size="30" />
</html>Your story:<html> <textarea style="width: 400px;" name="story" id="story" cols="25" rows="6"></textarea>
<input type="submit" value="</html>Submit<html>" />
<input type="checkbox" name="followup" id="followup" value="story-permission"/>  <label for="follow-up"></html>By checking this box, you grant the Wikimedia Foundation permission to follow-up with you directly regarding your story, and to use it to publicize the Wikimedia Foundation and its projects. <html></label>

</form>

</html><html>


</html>

Template:Hide banners