Difference between revisions of "Template:Tab1"
Jump to navigation
Jump to search
m (Move width to CSS and convert to em (1em=16px; 200/16=12.5) (1em=16px; 16/3=0.1875); make border ccc; add webkit radius) |
(Shortened that, re-arranged properties. I would move this to the stylesheet but IT'S BROKEN and I don't have an SSH account with which to fix it. +space) |
||
Line 1: | Line 1: | ||
<includeonly>| style="-moz-border-radius-topleft: .8em; -moz-border-radius-topright: .8em; -webkit-border-top-right-radius: .8em; | <includeonly>| style="border: solid 2px #CCC; border-bottom: 0; font-weight: bold; line-height: .95em; padding: .5em; width: 12.5em; -moz-border-radius-topleft: .8em; -moz-border-radius-topright: .8em; -webkit-border-top-right-radius: .8em;" | {{{1 |Tab 1}}} | ||
| style="border-bottom:2px solid # | | style="border-bottom: 2px solid #CCC; width: .1875;" | </includeonly><noinclude> | ||
==Usage== | == Usage == | ||
To create a set of tabs, use these four elements. Keep the page tabs in the same order on all pages and use "Tab1" for the current page. | To create a set of tabs, use these four elements. Keep the page tabs in the same order on all pages and use "Tab1" for the current page. | ||
{{[[Template:TabsTop]]}}<br> | {{[[Template:TabsTop]]}}<br /> | ||
{{[[Template:Tab1]]|Current page name}}<br> | {{[[Template:Tab1]] |Current page name}}<br /> | ||
{{[[Template:Tab2]]|Other page name(s)}}<br> | {{[[Template:Tab2]] |Other page name(s)}}<br /> | ||
{{[[Template:TabsBottom]]}} | {{[[Template:TabsBottom]]}} | ||
[[Category:Templates]] | |||
</noinclude> | </noinclude> |
Revision as of 01:49, 18 September 2011
Usage
To create a set of tabs, use these four elements. Keep the page tabs in the same order on all pages and use "Tab1" for the current page.
{{Template:TabsTop}}
{{Template:Tab1 |Current page name}}
{{Template:Tab2 |Other page name(s)}}
{{Template:TabsBottom}}