Bysen:End tab

Fram Wikipǣdian
Gān tō: þurhfōr, sēcan
Information icon.svg This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

Outline[adihtan]

Purpose 
To create a tabbed interface for usage on portals and projects, help pages and user pages.
Do not use in the encyclopaedic mainspace
Examples 
Wikipedia:WikiProject Athletics
Syntax 
{{Start tab|Tab-1=Title 1|URL-1=Page 1|Tab-2=Title 2|URL-2=page 2|…}}
Text on page.
{{End tab|Tab-1=Title 1|URL-1=Page 1|Tab-2=Title 2|URL-2=Page 2|…}}

Specification and Parameters[adihtan]

  • The maximum number of available tabs is 10.
  • To use the next page feature, end the page with the {{End tab}} template.
  • It is possible to define the following optional parameters :
    • border= : set border style.
    • Off tab color= : color of the currently unselected tabs and box
    • rounding= : add rounding effect to edges of tab boxes.

Example[adihtan]

Basic[adihtan]

Example for Wikipedia: WikiProject Athletics


{{Start tab
|Tab-1=Current page
|URL-1=Template:End tab
|Tab-2=Project
|URL-2=Wikipedia:WikiProject Athletics
|Tab-3=Project talk
|URL-3=Wikipedia talk:WikiProject Athletics
|Tab-4=Olympics Project
|URL-4=Wikipedia: WikiProject Olympics
}}

Text on page here

{{End tab
|Tab-1=Current page
|URL-1=Template:End tab
|Tab-2=Project
|URL-2=Wikipedia:WikiProject Athletics
|Tab-3=Project talk
|URL-3=Wikipedia talk:WikiProject Athletics
|Tab-4=Olympics Project
|URL-4=Wikipedia: WikiProject Olympics
}}

<td style="text-align: center; padding:0.3em; border: solid 2px #A3B1BF; font-size: 110%; background-color:

  1. CEE0F2;" width="Expression error: Unrecognized punctuation character "[".%">Current page

<td style="text-align: center; padding:0.3em; border: solid 2px #A3B1BF; font-size: 110%; background-color: CEE0F2;" width="Expression error: Unrecognized punctuation character "[".%">Project<td style="text-align: center; padding:0.3em; border: solid 2px #A3B1BF; font-size: 110%; background-color: CEE0F2;" width="Expression error: Unrecognized punctuation character "[".%">Project talk<td style="text-align: center; padding:0.3em; border: solid 2px #A3B1BF; font-size: 110%; background-color: CEE0F2;" width="Expression error: Unrecognized punctuation character "[".%">Olympics Project

     
Text on page here
Next page :

Stylised[adihtan]

Example for Wikipedia: WikiProject Athletics


{{Start tab
|Tab-1=Current page
|URL-1=Template:End tab
|Tab-2=Project
|URL-2=Wikipedia:WikiProject Athletics
|Tab-3=Project talk
|URL-3=Wikipedia talk:WikiProject Athletics
|Tab-4=Olympics Project
|URL-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
|URL-1=Template:End tab
|Tab-2=Project
|URL-2=Wikipedia:WikiProject Athletics
|Tab-3=Project talk
|URL-3=Wikipedia talk:WikiProject Athletics
|Tab-4=Olympics Project
|URL-4=Wikipedia: WikiProject Olympics
|border=1px solid #808080
|Off tab color=#f0f0ff
|On tab color=
|rounding=5em
|Tab alignment=center
}}

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

  1. f0f0ff;" width="Expression error: Unrecognized punctuation character "[".%">Current page

<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="Expression error: Unrecognized punctuation character "[".%">Project<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="Expression error: Unrecognized punctuation character "[".%">Project talk<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="Expression error: Unrecognized punctuation character "[".%">Olympics Project

     
Text on page here
Next page :

See also[adihtan]