{{Start tab}} can be used to create a tabbed interface for usage on portals and projects, help pages and user pages. It should not be used i…
| This is a documentation subpage for Template:Start tab. It may contain usage information, categories and other content that is not part of the original template page. |
| This is a documentation subpage for Template:Start tab. It may contain usage information, categories and other content that is not part of the original template page. |
{{Start tab}} can be used to create a tabbed interface for usage on portals and projects, help pages and user pages. It should not be used in articles themselves.
{{Start tab
| freeform-n =
| link-n =
| link2-n =
| link3-n =
| link4-n =
| link5-n =
| tab-n =
| frame =
| border =
| off tab color =
| on tab color =
| rounding =
| tab alignment =
| image- =
| tab font-size =
| nowrap =
| tab spacing percent =
| preums =
}}
freeform-nfreeform-n = yes to allow for arbitrary code in that tab's tab-n entry rather than just being plain text and a link. See below. When using the freeform attribute, the link attribute remains empty; for example:| freeform-1 = yes
| tab-1 = [http://www.nytimes.com/ ''The New York Times'']
| link-1 =
link-nlink2-nfreeform-n)link3-nfreeform-n)link4-nfreeform-n)link5-nfreeform-n)tab-nEach tab needs a link attribute with the title of the page it refers to, and a tab attribute with a label for the tab. If the current page title matches a link then that tab will be styled differently. The freeform attribute can be used with any tab (for instance |freeform-2=yes to allow for a freeform label with multiple internal and external links if desired; otherwise, the text in tab is used as a wikilink to the page specified by link.
Additional options:
frameyes to add a page frame underneath the tabs. This can be closed by adding </div></div> to the end of the page, or wherever else you want the frame to close.frame colorborderoff tab coloron tab colorroundingtab alignmentimage-(N°)tab font-sizenowraptab spacing percentpreumsExample for Wikipedia:WikiProject Athletics:
{{Start tab| frame = yes
| tab-1 = Current page
| link-1 = Template:Start tab
| tab-2 = Project
| link-2 = Wikipedia:WikiProject Athletics
| tab-3 = Project talk
| link-3 = Wikipedia talk:WikiProject Athletics
| tab-4 = Olympics Project
| link-4 = Wikipedia:WikiProject Olympics
}}
Text for main part of page goes here.
{{End tab| frame = yes
| tab-1 = Current page
| link-1 = Template:Start tab
| tab-2 = Project
| link-2 = Wikipedia:WikiProject Athletics
| tab-3 = Project talk
| link-3 = Wikipedia talk:WikiProject Athletics
| tab-4 = Olympics Project
| link-4 = Wikipedia:WikiProject Olympics
}}
Text for main part of page goes here.
Example for Wikipedia:WikiProject Athletics:
{{Start tab| frame = yes
| tab-1 = Current page
| link-1 = Template:Start tab
| tab-2 = Project
| link-2 = Wikipedia:WikiProject Athletics
| tab-3 = Project talk
| link-3 = Wikipedia talk:WikiProject Athletics
| tab-4 = Olympics Project
| link-4 = Wikipedia:WikiProject Olympics
| border = 1px solid #808080
| off tab color = #f0f0ff
| on tab color =
| rounding = 5em
| tab alignment = center
}}
Text for main part of page goes here.
{{End tab| frame = yes
| tab-1 = Current page
| link-1 = Template:Start tab
| tab-2 = Project
| link-2 = Wikipedia:WikiProject Athletics
| tab-3 = Project talk
| link-3 = Wikipedia talk:WikiProject Athletics
| tab-4 = Olympics Project
| link-4 = Wikipedia:WikiProject Olympics
| border = 1px solid #808080
| off tab color = #f0f0ff
| on tab color =
| rounding = 5em
| tab alignment = center
}}
Text for main part of page goes here.
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.