Template:Start tab/doc: Difference between revisions
mNo edit summary |
(Created page with '{{Documentation subpage}} ==Outline== ; Purpose : To create a tabbed interface for usage on portals and projects, help pages and user pages.<br />'''''Do not use in the encyclop…') |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 5: | Line 5: | ||
; Examples : [[Wikipedia:WikiProject Athletics]] | ; Examples : [[Wikipedia:WikiProject Athletics]] | ||
; Syntax : {{((}}{{PAGENAME}}|Tab-1=Title 1|URL-1=Page 1|Tab-2=Title 2|URL-2=page 2|…}}<br />''Text on page.''<br />{{((}}End tab|Tab-1=Title 1|URL-1=Page 1|Tab-2=Title 2|URL-2=Page 2|…}} | ; Syntax : {{((}}{{PAGENAME}}|Tab-1=Title 1|URL-1=Page 1|Tab-2=Title 2|URL-2=page 2|…}}<br />''Text on page.''<br />{{((}}End tab|Tab-1=Title 1|URL-1=Page 1|Tab-2=Title 2|URL-2=Page 2|…}} | ||
==Specification and Parameters== | ==Specification and Parameters== | ||
| Line 13: | Line 11: | ||
* It is possible to define the following optional parameters : | * It is possible to define the following optional parameters : | ||
** <code>border=</code> : border style. | ** <code>border=</code> : border style. | ||
** <code>Off tab color=</code> : color of the currently unselected tabs. | ** <code>Off tab color=</code> : color of the currently unselected tabs. | ||
** <code>On tab color=</code> : color of the currently selected tab. | ** <code>On tab color=</code> : color of the currently selected tab. | ||
| Line 48: | Line 45: | ||
}} | }} | ||
</nowiki></code></poem> | </nowiki></code></poem> | ||
{{{{FULLPAGENAME}} | |||
|Tab-1=Current page | |||
|URL-1=Template:Start 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:Start 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 | |||
}} | |||
===Stylised=== | ===Stylised=== | ||
| Line 86: | Line 104: | ||
}} | }} | ||
</nowiki></code></poem> | </nowiki></code></poem> | ||
{{{{FULLPAGENAME}} | |||
|Tab-1=Current page | |||
|URL-1=Template:Start 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:Start 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 | |||
}} | |||
==See also== | ==See also== | ||
Revision as of 14:56, 4 April 2011
|
|
This is a documentation subpage for Template:Start tab (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Outline[edit source]
- 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/doc|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[edit source]
- 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=: 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[edit source]
Basic[edit source]
Example for Wikipedia: WikiProject Athletics
{{Start tab
|Tab-1=Current page
|URL-1=Template:Start 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:Start 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
}}
|
|
This is a documentation subpage for Template:Start tab (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Outline[edit source]
- 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/doc|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|…}}
|
|
Page names with spaces need to be coded with spaces and not underscores |
Specification and Parameters[edit source]
- 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=: border style.font-size=: font size as a percentage (defaults to 110).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[edit source]
Basic[edit source]
Example for Wikipedia: WikiProject Athletics
{{Start tab
|Tab-1=Current page
|URL-1=Template:Start 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:Start 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
}}
Stylised[edit source]
Example for Wikipedia: WikiProject Athletics
{{Start tab
|Tab-1=Current page
|URL-1=Template:Start 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:Start 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
}}
See also[edit source]
- {{Navigation tabs}}
Text on page here
Stylised[edit source]
Example for Wikipedia: WikiProject Athletics
{{Start tab
|Tab-1=Current page
|URL-1=Template:Start 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:Start 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
}}
|
|
This is a documentation subpage for Template:Start tab (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Outline[edit source]
- 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/doc|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|…}}
|
|
Page names with spaces need to be coded with spaces and not underscores |
Specification and Parameters[edit source]
- 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=: border style.font-size=: font size as a percentage (defaults to 110).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[edit source]
Basic[edit source]
Example for Wikipedia: WikiProject Athletics
{{Start tab
|Tab-1=Current page
|URL-1=Template:Start 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:Start 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
}}
Stylised[edit source]
Example for Wikipedia: WikiProject Athletics
{{Start tab
|Tab-1=Current page
|URL-1=Template:Start 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:Start 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
}}
See also[edit source]
- {{Navigation tabs}}
Text on page here
See also[edit source]
- {{Navigation tabs}}