MediaWiki:Vector-2022.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 28: Line 28:
var div = document.getElementById("mw-head");
var div = document.getElementById("mw-head");
div.style.backgroundImage="linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('" + picArr[key] + "')";
div.style.backgroundImage="linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('" + picArr[key] + "')";
div.innerHTML += '<span class="nbweek-banner">Happy Nonbinary Awareness Week! Currently showing the [[' + key + ']] flag.</span>';
div.innerHTML += '<span class="nbweek-banner">Happy Nonbinary Awareness Week! Currently showing the <a href="https://nonbinary.wiki/wiki/' + key + '>' + key + '</a> flag.</span>';