User:Chronowar/sandbox3:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly><div class="Tabs {{{color|black}}}" data-label-side="{{#switch:{{{LabelSide|}}}|left|right|bottom|top={{{LabelSide|}}}|top}}" data-label-color-side-reverse="{{{LabelColorSideReverse|}}}" data-divider-size="{{{DividerSize|}}}" {{#if:{{{style|}}}|style="{{{style|}}}"}} {{#if:{{{DefaultTab|}}}|data-default-tab="{{{DefaultTab|}}}"|}} {{#if:{{{LabelPadding|}}}|data-label-padding="{{{LabelPadding|}}}"|}} {{#if:{{{LabelBorderColor|}}}|data-label-border-color="{{{LabelBorderColor|}}}"|}} {{#if:{{{LabelColor|}}}|data-label-color="{{{LabelColor|}}}"|}} {{#if:{{{TextBorderColor|}}}|data-text-border-color="{{{TextBorderColor|}}}"|}} {{#if:{{{TextPadding|}}}|data-text-padding="{{{TextPadding|}}}"|}} {{#ifeq:{{{AutoWidth|}}}|yes|data-auto-width="yes"}} {{#if:{{{LabelBackgroundColor|}}}|data-label-background-color="{{{LabelBackgroundColor|}}}"|}} {{#if:{{{TextBackgroundColor|}}}|data-text-background-color="{{{TextBackgroundColor|}}}"|}} {{#switch:{{#if:{{{Float|}}}|{{{Float|}}}|{{{float|}}}}}|left|right=data-float="{{#if:{{{Float|}}}|{{{Float|}}}|{{{float|}}}}}"}}>{{#forargs:tab | <includeonly> | ||
<div class="Tabs {{{color|black}}}" | |||
data-label-side="{{#switch:{{{LabelSide|}}}|left|right|bottom|top={{{LabelSide|}}}|top}}" | |||
data-label-color-side-reverse="{{{LabelColorSideReverse|}}}" | |||
data-divider-size="{{{DividerSize|}}}" | |||
{{#if:{{{style|}}}|style="{{{style|}}}"}} | |||
{{#if:{{{DefaultTab|}}}|data-default-tab="{{{DefaultTab|}}}"|}} | |||
{{#if:{{{LabelPadding|}}}|data-label-padding="{{{LabelPadding|}}}"|}} | |||
{{#if:{{{LabelBorderColor|}}}|data-label-border-color="{{{LabelBorderColor|}}}"|}} | |||
{{#if:{{{LabelColor|}}}|data-label-color="{{{LabelColor|}}}"|}} | |||
{{#if:{{{TextBorderColor|}}}|data-text-border-color="{{{TextBorderColor|}}}"|}} | |||
{{#if:{{{TextPadding|}}}|data-text-padding="{{{TextPadding|}}}"|}} | |||
{{#ifeq:{{{AutoWidth|}}}|yes|data-auto-width="yes"}} | |||
{{#if:{{{LabelBackgroundColor|}}}|data-label-background-color="{{{LabelBackgroundColor|}}}"|}} | |||
{{#if:{{{TextBackgroundColor|}}}|data-text-background-color="{{{TextBackgroundColor|}}}"|}} | |||
{{#switch:{{#if:{{{Float|}}}|{{{Float|}}}|{{{float|}}}}}|left|right=data-float="{{#if:{{{Float|}}}|{{{Float|}}}|{{{float|}}}}}"}} | |||
> | |||
{{#forargs:tab | |||
| key | | key | ||
| val | | val | ||
|<div class="Tab"><div class="TabLabelText">{{{bticon{{#var:key}}|}}}{{{bt{{#var:key|}}|}}}</div><div class="TabContentText">{{#var:val}}</div></div> | |<div class="Tab"> | ||
}}</div></includeonly><noinclude> | <div class="TabLabelText"> | ||
{{{bticon{{#var:key}}|}}}{{{bt{{#var:key|}}|}}}</div> | |||
<div class="TabContentText">{{#var:val}} | |||
</div> | |||
</div> | |||
}} | |||
</div></includeonly><noinclude> | |||
{{documentation}} | {{documentation}} | ||
{{:用户:Chronowar/个人子页面目录}} | {{:用户:Chronowar/个人子页面目录}} | ||
</noinclude> | </noinclude> |