今天是2024年9月17日 第38周 星期二

代人,时大变了。

我们生活在大地上,但我们的梦想超越天空。

“Template:Documentation/docname”的版本间的差异

来自Akarin
跳到导航 跳到搜索
enmgp>猫耳南云霞
(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=...")
(没有差异)

2017年5月20日 (六) 21:22的版本

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-∞

    1. color= only can set 7 colors and one topic
      • green(綠色)
      • red(紅色)
      • blue(藍色)
      • yellow(黃色)
      • purple(紫色)
      • orange(橙色)
      • black(黑色,default)
    2. DefaultTab:指定页面加载时显示第几个tab,默认值为1
    3. LabelPadding:指定label的内边距,默认值为2px
    4. LabelBorderColor:指定选中的label的左右边框颜色,默认值为#aaa
    5. LabelBackgroundColor:指定选中的label的背景色,默认值为white
    6. LabelColor:指定选中的label的上边框颜色,默认值为green
    7. TextBorderColor:指定显示的text的边框颜色,默认值为#aaa
    8. TextBackgroundColor:指定显示的text的背景色,默认值为white
    9. TextPadding:指定显示的text的内边距,默认值为20px 30px
    10. AutoWidth:使tabs不再占满整行,如要启用必须传入【yes】值,默认值为no
  • 顯示內容
    • btx= ,填寫顯示的分頁名稱。(務必填寫)
    • bticonx= ,分頁名稱左邊的標誌,可填寫文字或者圖片,預設為沒有標誌。圖片大小建議16px。若不使用,請不要使用這個參數。
    • tabx= ,分頁的內容。