模板:Codepen:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
标签:手工回退
Kangkk​(留言 | 贡献)
无编辑摘要
第1行: 第1行:
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude><includeonly><div class="wiki-codepen">{{leftrightflex|
<includeonly><div class="wiki-codepen">{{leftrightflex|{{{tabs|}}}|{{#tag:div|{{{iframe|}}}|class=wiki-codepen-iframe}}}}</div></includeonly>
  {{#tag:tabs|
{{#tag:tab|{{#tag:syntaxhighlight|{{{html|}}}|lang=html}}|name=html}}
{{#tag:tab|{{#tag:syntaxhighlight|{{{style|}}}|lang=css}}|name=style}}
{{#tag:tab|{{#tag:syntaxhighlight|{{{script|}}}|lang=javascript}}|name=script}}
  }}
  |{{#tag:html|
    {{#tag:iframe|
      {{#if:{{{html|}}}|
        {{{html|}}}|}}
      {{#if:{{{style|}}}|
        {{#tag:style|{{{style|}}}|type=text\/css}}|}}
      {{#if:{{{script|}}}|
        {{#tag:script|{{{script|}}}|type=text\/javascript}}|}}
      |class=wiki-codepen-iframe}}
    |class=wiki-codepen-preview}}
  }}</div></includeonly>