Widget:Icon: Difference between revisions
No edit summary Tag: Reverted |
Tag: Reverted |
||
Line 3: | Line 3: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<span id="< | <span id="htmlcontent"></span> | ||
<script src="https://unpkg.com/@popperjs/core@2"></script> | <script src="https://unpkg.com/@popperjs/core@2"></script> | ||
<script src="https://unpkg.com/tippy.js@6"></script> | <script src="https://unpkg.com/tippy.js@6"></script> | ||
<script> | <script> | ||
var idwithdots = "<!--{$id|escape:'html'}-->"; | |||
var idstring = idwithdots.split('.').join(""); | |||
document.getElementById('htmlcontent').innerText= `<span id='${idstring}'>`; | |||
tippy('#${idstring}', { | |||
content: '<!--{$ttip|escape:'html'}-->', | content: '<!--{$ttip|escape:'html'}-->', | ||
}); | }); | ||
</script> | </script> | ||
</includeonly> | </includeonly> |
Revision as of 07:30, 30 October 2024