|
|
第1行: |
第1行: |
| <includeonly> | | <includeonly> |
| <div class="Tabs {{{color|black}}}"
| | {{tabs |
| 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
| |
| | val
| |
| |<div class="Tab">
| |
| <div class="TabLabelText">
| |
| {{{bticon{{#var:key}}|}}}{{{bt{{#var:key|}}|}}}
| |
| </div>
| |
| <div class="TabContentText">
| |
| {{#var:val}}
| |
| </div>
| |
| </div>
| |
| }} | | }} |
| </div>
| |
| </includeonly><noinclude> | | </includeonly><noinclude> |
| <nowiki>
| |
| <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
| |
| | val
| |
| |<div class="Tab">
| |
| <div class="TabLabelText">
| |
| {{{bticon{{#var:key}}|}}}{{{bt{{#var:key|}}|}}}
| |
| </div>
| |
| <div class="TabContentText">
| |
| {{#var:val}}
| |
| </div>
| |
| </div>
| |
| }}
| |
| </div>
| |
| </nowiki>
| |
| {{:用户:Chronowar/个人子页面目录}} | | {{:用户:Chronowar/个人子页面目录}} |
| </noinclude> | | </noinclude> |