Difference between revisions of "Template:Tab1"
Jump to navigation
Jump to search
m (Get rid of background-color) |
m (→Usage: Corrected code error in example code.) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>| style="-moz-border-radius-topleft: .8em; -moz-border-radius-topright: .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 |TabsTop]]}}<br /> | ||
{{ | <nowiki>{{Tab1 |Current page name}}</nowiki><br /> | ||
{{[[Template:Tab2]]|Other page name(s)}}<br> | {{[[Template:Tab2 |Tab2]] |Other page name(s)}}<br /> | ||
{{[[Template:TabsBottom]]}} | {{[[Template:TabsBottom |TabsBottom]]}} | ||
[[Category:Templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 21:56, 3 January 2015
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.
{{TabsTop}}
{{Tab1 |Current page name}}
{{Tab2 |Other page name(s)}}
{{TabsBottom}}