Template:Appeal/FY2324 E3 XH/en: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 42: | Line 42: | ||
<div class="appeal-layout"> |
<div class="appeal-layout"> |
||
<div class="appeal-text"> |
<div class="appeal-text"> |
||
<p class="headline"> |
<p class="headline"><span id="donor-greeting">S</span>upport Wikipedia, your daily source of trusted knowledge.</p> |
||
<p class="paragraph">Your support matters! Sustain this great fountain of knowledge built by people, for people. Keep Wikipedia thriving.</p> |
<p class="paragraph">Your support matters! Sustain this great fountain of knowledge built by people, for people. Keep Wikipedia thriving.</p> |
||
</div> |
</div> |
||
</div> |
</div> |
||
<script> |
<script> |
||
// Get the URL parameters from the current URL |
|||
const urlParams = new URLSearchParams(window.location.search); |
const urlParams = new URLSearchParams(window.location.search); |
||
⚫ | |||
document.getElementById('donor-greeting').innerHTML = `${urlParams.get("fname")}, s`; |
|||
// Check if the "fname" parameter exists |
|||
⚫ | |||
// If it exists, assign its value to a variable |
|||
const fnameValue = urlParams.get("fname"); |
|||
console.log("fname parameter exists, and its value is: " + fnameValue); |
|||
} else { |
|||
console.log("fname parameter does not exist in the URL."); |
|||
} |
} |
||
</script> |
</script> |
Revision as of 13:43, 24 October 2023
Support Wikipedia, your daily source of trusted knowledge.
Your support matters! Sustain this great fountain of knowledge built by people, for people. Keep Wikipedia thriving.