Şablon:Start tab/doc
{{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.
Usage
bıvurne{{ start tab | link-1 = | tab-1 = | link-2 = | tab-2 = | link-3 = | tab-3 = | link-4 = | tab-4 = | link-5 = | tab-5 = }}
Each 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 lable with multiple internal and external links if desires; otherwise, the text is tab
is used as a wikilink to the page specified by link
.
Parameters
bıvurne- The maximum number of available tabs is 20.
- To use the next page feature, end the page with the
{{End tab}}
template. - It is possible to define the following optional parameters:
frame=
: set toyes
to add a page frame underneath the tabs.border=
: border style.off tab color=
: color of the currently unselected tabs.on tab color=
: color of the currently selected tab.rounding=
: add rounding effect to edges of tab boxes.tab alignment=
: set alignment of tab's title (left/center/right).image-(N°)=
: name of optional image (set to 20 px) to place next to tab title.
Examples
bıvurneExample for Wikipedia: WikiProject Athletics:
{{ start tab | 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 on page here {{ end tab | 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 }}Şablon:Dummytab<td style="text-align: center; padding:0.3em; border: solid 1px #a3b1bf; font-size: 110%; background-color:
- cee0f2;" width="Xetaya ifadeyi: Karakterê noxtakerdışê "["iyo ke nêşınasiyeno.%">Current page
Text on page here
Example for Wikipedia: WikiProject Athletics:
{{ start tab | 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 on page here {{ end tab | 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 }}Şablon:Dummytab<td style="text-align: center; -moz-border-radius: 5em 5em 0 0; border-radius: 5em 5em 0 0; padding:0.3em; border: 1px solid #808080; font-size: 110%; background-color:
- f0f0ff;" width="Xetaya ifadeyi: Karakterê noxtakerdışê "["iyo ke nêşınasiyeno.%">Current page
Text on page here
See also
bıvurne