For faster navigation, this Iframe is preloading the Wikiwand page for Template:Tabs.

Template:Tabs

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

參數

[编辑]

x為數字1至10

  • 一般
    • id=x,如該頁面使用本模板多於一次則填寫數字1至10,如使用一次則填0,這表示每頁只可用本模板10次,另外使用兩次或以上本模板而本參數相同,模板將不能正常顯示。无论在页面使用这模板多少次,其中一塊的id值必须为0(((tabs|id=0|......))),否则无法正常運作。
    • color= ,模板色,請根據下表填寫(目前僅有以下六色):
      • Lila(紫,預設)
      • Vermell(紅)
      • Taronja(橙)
      • Groc(黃)
      • Verd(綠)
      • Blau(藍)
    • sel= ,預設標籤
  • 顯示類
    • btx= ,填寫顯示的標籤(必填)。
    • bticonx= ,標籤左邊的標誌,請填寫完整的碼,預設沒有標誌。
    • tabx= ,標籤內容(必填)!
  • 連結類
    • linkx= ,連結,如不連結則請填寫((FULLPAGENAME)),預設為/參數btx

样例

[编辑]
((tabs
|id=0
|color=Taronja
|bt1=中文
|bt2=意大利语
|bt3=英语
|link1=Template:Tabs/testcases#中文
|link2=Template:Tabs/testcases#意大利语
|link3=Template:Tabs/testcases#英语
|bticon1=[[File:Nuvola_apps_kuickshow.png|16px]]
|bticon3=[[File:Nuvola_apps_kuickshow.png|16px]]
|tab1=维基百科,自由的百科全书
|tab2=Da Wikipedia, l'enciclopedia libera.
|tab3=From Wikipedia, the free encyclopedia
|sel=2
))

Da Wikipedia, l'enciclopedia libera.

{{bottomLinkPreText}} {{bottomLinkText}}
Template:Tabs
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?