模板:Codepen:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
第10行: 第10行:
   |{{#tag:html|
   |{{#tag:html|
     <iframe class="wiki-codepen-iframe" onload="{{#if:{{{style|}}}|
     <iframe class="wiki-codepen-iframe" onload="{{#if:{{{style|}}}|
         this.contentWindow.document.body.innerHTML =`<style type=\"text/css\">{{{style|}}}<style>`;|}}{{#if:{{{html|}}}|
         this.contentWindow.document.body.innerHTML =`<style type='text/css\'>{{{style|}}}<style>`;|}}{{#if:{{{html|}}}|
         this.contentWindow.document.body.innerHTML =`{{{html|}}}`;|}}{{#if:{{{script|}}}|
         this.contentWindow.document.body.innerHTML =`{{{html|}}}`;|}}{{#if:{{{script|}}}|
         this.contentWindow.document.body.innerHTML =`<script type=\"text/javascript\">{{{script|}}}<script>`;|}}"></iframe>
         this.contentWindow.document.body.innerHTML =`<script type='text/javascript'>{{{script|}}}<script>`;|}}"></iframe>
     |class=wiki-codepen-preview}}
     |class=wiki-codepen-preview}}
   }}</div></includeonly>
   }}</div></includeonly>