LLWiki正在建设中,欢迎加入我们!
“Widget:Sandbox”的版本间差异
跳转到导航
跳转到搜索
小 (// Edit via Wikiplus) |
小 |
||
第1行: | 第1行: | ||
<includeonly><!--{if !isset($wgWidgetSandbox) || !$wgWidgetSandbox}--><!--{assign var="wgWidgetSandbox" value=true scope="global"}--> |
<includeonly><!--{if !isset($wgWidgetSandbox) || !$wgWidgetSandbox}--><!--{assign var="wgWidgetSandbox" value=true scope="global"}--> |
||
<script> |
<script> |
||
//</includeonly><pre lang=js> |
|||
window.RLQ = window.RLQ || []; |
|||
let node = document.createElement('p'); |
|||
window.RLQ.push(() => { |
|||
node.innerHTML = "测试成功!"; |
|||
document.querySelector('.mw-parser-output').appendChild(node); |
|||
}); |
|||
//</pre><includeonly> |
|||
</script> |
</script> |
||
<!--{/if}--></includeonly> |
<!--{/if}--></includeonly> |
2020年8月9日 (日) 11:50的版本
let node = document.createElement('p');
node.innerHTML = "测试成功!";
document.querySelector('.mw-parser-output').appendChild(node);
//