模板:Codepen:修订间差异
来自康健生活
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<tabs>{{#tab: | <noinclude>{{Documentation}}</noinclude><includeonly><div class="wiki-codepen">{{leftrightflex| | ||
<tabs> | |||
{{#if:{{{html|}}}| | |||
{{#tag:tab|{{#tag:syntaxhighlight|{{{html|}}}|lang=html}}|name='html'}}|}} | |||
{{#if:{{{style|}}}| | |||
{{#tag:tab|{{#tag:syntaxhighlight|{{{style|}}}|lang=css}}|name='style'}}|}} | |||
{{#if:{{{script|}}}| | |||
{{#tag:tab|{{#tag:syntaxhighlight|{{{script|}}}|lang=javascript}}|name='script'}}|}} | |||
</tabs> | |||
|{{#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> | |||