模板:Documentation/docname
< Template:Documentation
enmgp>猫耳南云霞2017年5月20日 (六) 21:22的版本 (Created page with "This passage needs to be translate into English <pre><nowiki> {{tabs |color= |bt1= |bticon1= |tab1= |bt2= |bticon2= |tab2= |bt3= |bticon3= |tab3= |bt4= |bticon4= |tab4= |bt5=...")
This passage needs to be translate into English
{{tabs
|color=
|bt1=
|bticon1=
|tab1=
|bt2=
|bticon2=
|tab2=
|bt3=
|bticon3=
|tab3=
|bt4=
|bticon4=
|tab4=
|bt5=
|bticon5=
|tab5=
|bt6=
|bticon6=
|tab6=
|bt7=
|bticon7=
|tab7=
|bt8=
|bticon8=
|tab8=
|bt9=
|bticon9=
|tab9=
|DefaultTab=
}}
There must be one tabs or it can not work
参数
x=number 1-∞
- color= only can set 7 colors and one topic
- green(绿色)
- red(红色)
- blue(蓝色)
- yellow(黄色)
- purple(紫色)
- orange(橙色)
- black(黑色,default)
- DefaultTab:指定页面加载时显示第几个tab,默认值为
1; - LabelPadding:指定label的内边距,默认值为
2px; - LabelBorderColor:指定选中的label的左右边框颜色,默认值为
#aaa; - LabelBackgroundColor:指定选中的label的背景色,默认值为
white; - LabelColor:指定选中的label的上边框颜色,默认值为
green; - TextBorderColor:指定显示的text的边框颜色,默认值为
#aaa; - TextBackgroundColor:指定显示的text的背景色,默认值为
white; - TextPadding:指定显示的text的内边距,默认值为
20px 30px; - AutoWidth:使tabs不再占满整行,如要启用必须传入【yes】值,默认值为
no。
- color= only can set 7 colors and one topic
- 显示内容
- btx= ,填写显示的分页名称。(务必填写)
- bticonx= ,分页名称左边的标志,可填写文字或者图片,预设为没有标志。图片大小建议16px。若不使用,请不要使用这个参数。
- tabx= ,分页的内容。