User:Pcoombe (WMF)/sandbox: Difference between revisions
Content deleted Content added
No edit summary |
Replaced content with "{{Social bookmarks2 |url = https://wikimediafoundation.org/wiki/WPZeroPetition |show-digg = true |show-tumblr = true |show-delicious = true |show-stumbleupon = true |show-..." |
||
Line 1: | Line 1: | ||
{{Social bookmarks2 |
|||
__NOTOC__ |
|||
|url = https://wikimediafoundation.org/wiki/WPZeroPetition |
|||
<html> |
|||
|show-digg = true |
|||
<style> |
|||
|show-tumblr = true |
|||
/* Hide some MobileFrontend clutter */ |
|||
|show-delicious = true |
|||
.mobile .header, |
|||
|show-stumbleupon = true |
|||
.mobile #page-actions, |
|||
|show-vk = true |
|||
.mobile h1, |
|||
.mobile #mw-mf-last-modified { |
|||
display: none; |
|||
} |
|||
/* Hide some components on mobile */ |
|||
.mobile .ty-video, |
|||
.mobile .ty-story-submission { |
|||
display: none; |
|||
} |
|||
p { |
|||
line-height: 1.2em; |
|||
} |
|||
.ty-top-banner { |
|||
background:#fbfbfb; |
|||
border:1px solid #bbbbbb; |
|||
margin-bottom: 10px; |
|||
font-size: 145%; |
|||
text-align: center; |
|||
padding: 0.5em 1em; |
|||
} |
|||
.ty-survey-link { |
|||
margin:2em auto; |
|||
font-size:120%; |
|||
font-weight:bold; |
|||
text-align:center; |
|||
} |
|||
.ty-story-submission { |
|||
width:50%; |
|||
margin-right:auto; |
|||
margin-left:auto; |
|||
vertical-align:top; |
|||
background:#fbfbfb; |
|||
text-align: left; |
|||
border: 1px solid #bbbbbb; |
|||
font-size: 85%; |
|||
display: table; |
|||
} |
|||
</style> |
|||
</html> |
|||
<!-- Main banner - with sub messages for different payment methods --> |
|||
<div class="ty-top-banner"> |
|||
<p id="std-message"> |
|||
{{{comments-text|Thank you for your support. '''[[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. Tell the world that you support Wikimedia: tweet it with hashtag #keepitfree!}}} |
|||
</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> |
|||
</div> |
|||
<!-- Video --> |
|||
<div class="ty-video"> |
|||
[[File:The Impact Of Wikipedia.webm|thumbtime=3:52|thumb|center|600px|Meet a few of the volunteer editors who write and maintain Wikipedia]] |
|||
</div> |
|||
<!-- Social bookmarks --> |
|||
{{FRLocalizePass|Social bookmarks|{{{language}}}}} |
|||
<!-- Either survey link, if provided, or story submission box --> |
|||
{{#if:{{{survey-link|}}} |
|||
| <div class="ty-survey-link 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><div class="ty-story-submission"> |
|||
<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> |
|||
<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 story:}}}<html></td> |
|||
<td><textarea style="width: 400px;" name="story" id="story" cols="25" rows="6"></textarea></td> |
|||
</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="follow-up" id="follow-up" value="story-permission"/> <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> |
|||
</div> |
|||
</html> |
|||
}} |
}} |
||
{{Hide banners}} |
|||
<html> |
|||
<script> |
|||
$(document).ready( function () { |
|||
var paymentMethod = mw.util.getParamValue("payment_method"); |
|||
if(paymentMethod == "bt") { |
|||
$("#bt-message").show(); |
|||
} |
|||
if(paymentMethod == "dd") { |
|||
$("#dd-message").show(); |
|||
} |
|||
}); |
|||
</script> |
|||
</html> |