Template:Members link: Difference between revisions

From WikiMSK

No edit summary
No edit summary
Line 1: Line 1:
<div style="border: 1px solid #eaecf0; background-color: #f8f9fa; padding: 0.25rem 0.5rem; display:flex; flex-direction:row; align-items:center; gap: 1rem;">
<div style="border: 1px solid #eaecf0; background-color: #f8f9fa; padding: 0.25rem 0.5rem; display:flex; flex-direction:row; align-items:center; gap: 1rem;">
<div>[[Image:NZCMM logo.png|45x45px|frameless|link=]]</div>
<div>[[Image:NZCMM logo.png|45x45px|frameless|link=]]</div>
<div class="members-subpage-link">[[:{{FULLPAGENAME}}/Members|{{PAGENAME}} - Members Subpage]]</div></div><noinclude>[[Category:Templates]][[Category:Members Subpages]]</noinclude>
<div class="members-subpage-link">[[:{{FULLPAGENAME}}/Members|{{PAGENAME}} - Members Subpage]]</div></div><noinclude>[[Category:Templates]][[Category:Members Subpages]]</noinclude>{{#set:Has members subpage=true}}
<html><script>var pageName = document.getElementById("firstHeading").innerHTML;
<html><script>var pageName = document.getElementById("firstHeading").innerHTML;
document.querySelector("#mw-main-container .row aside .d-flex .dropdown:last-child").insertAdjacentHTML("beforeend","<span id='membersLink' style='margin-left:1.5rem;'><a href='https://wikimsk.org/wiki/" + pageName+ "/Members'>Members</a></span>");</script></html>
document.querySelector("#mw-main-container .row aside .d-flex .dropdown:last-child").insertAdjacentHTML("beforeend","<span id='membersLink' style='margin-left:1.5rem;'><a href='https://wikimsk.org/wiki/" + pageName+ "/Members'>Members</a></span>");</script></html>

Revision as of 20:29, 31 March 2022