User:Pcoombe (WMF)/sandbox: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
p { |
p { |
||
line-height: 1.2em; |
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 2em; |
|||
} |
|||
.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; |
|||
} |
} |
||
</style> |
</style> |
||
</html> |
</html> |
||
<!-- Main banner - with sub messages for different payment methods --> |
|||
<!-- donor comments box --> |
|||
<div class="ty-top-banner"> |
|||
<div style="background:#fbfbfb; border:1px solid #bbbbbb; min-height: 100px; margin-bottom: 10px; font-size: 145%; text-align: center; padding: 0.5em 2em;"> |
|||
<p id="std-message"> |
<p id="std-message"> |
||
{{{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. |
{{{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> |
||
<p id="bt-message" style="display: none;"> |
<p id="bt-message" style="display: none;"> |
||
Line 21: | Line 44: | ||
</div> |
</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]] |
[[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}}}}} |
{{FRLocalizePass|Social bookmarks|{{{language}}}}} |
||
<!-- Either survey link, if provided, or story submission box --> |
|||
{{#if:{{{survey-link|}}} |
{{#if:{{{survey-link|}}} |
||
| <div |
| <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"> |
|||
| <html><div style="width:50%; margin-right:auto; margin-left:auto; height: 100%; vertical-align:top; background:#fbfbfb; text-align: left; border: 1px solid #bbbbbb;"> |
|||
<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> |
<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>'> |
<form style="padding: 6px;" name='stories' method='post' action='</html>{{localurl:Special:Contact}}<html>'> |
||
Line 36: | Line 63: | ||
</html>{{{story-intro|What does Wikipedia mean to you?}}}<html> |
</html>{{{story-intro|What does Wikipedia mean to you?}}}<html> |
||
</p> |
</p> |
||
<p> |
|||
<table valign="top" style="background: none; vertical-align: top;"> |
<table valign="top" style="background: none; vertical-align: top;"> |
Revision as of 21:11, 20 November 2013
<html> <style> 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 2em;
} .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;
} </style> </html>
<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="follow-up" id="follow-up" 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> <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>