User:盐棋/Sandbox:修订间差异
小 (nothing) |
小 (noth) |
||
第3行: | 第3行: | ||
data-label-side="{{#switch:{{{LabelSide|}}}|left|right|bottom|top={{{LabelSide|}}}|top}}" | data-label-side="{{#switch:{{{LabelSide|}}}|left|right|bottom|top={{{LabelSide|}}}|top}}" | ||
data-label-color-side-reverse="{{{LabelColorSideReverse|}}}" data-divider-size="{{{DividerSize|}}}" | data-label-color-side-reverse="{{{LabelColorSideReverse|}}}" data-divider-size="{{{DividerSize|}}}" | ||
{{#if:{{{style|}}}|style="{{{style|}}}" }} | {{#if:{{{style|}}}|style="{{{style|}}}" }} {{#if:{{{DefaultTab|}}}|data-default-tab="{{{DefaultTab|}}}" |}} | ||
{{#if:{{{LabelBackgroundColor|}}}|data-label-background-color="{{{LabelBackgroundColor|}}}" |}} | {{#if:{{{LabelPadding|}}}|data-label-padding="{{{LabelPadding|}}}" |}} | ||
{{#forargs:tab|key|val | {{#if:{{{LabelBorderColor|}}}|data-label-border-color="{{{LabelBorderColor|}}}" |}} | ||
<div class="Tab"> | {{#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 | |||
| val | |||
|<div class="Tab"> | |||
<div class="TabLabelText">{{{bticon{{#var:key}}|}}}{{{bt{{#var:key|}}|}}}</div> | <div class="TabLabelText">{{{bticon{{#var:key}}|}}}{{{bt{{#var:key|}}|}}}</div> | ||
<div class="TabContentText">{{#var:val}}</div> | <div class="TabContentText">{{#var:val}}</div> | ||
</div> | </div> | ||
}} | }}</div> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}}</noinclude> | ||
</noinclude> |