Difference between revisions of "Template:Tab2"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
m (3/16 = .1875)
m (Fixed usage)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>| style="-moz-border-radius-topleft: .8em; -moz-border-radius-topright: .8em; -webkit-border-top-right-radius: .8em; background-color: #101010; border:1px solid #ccc; border-bottom:solid 2px #ccc; font-size: .9em; line-height: .95em; padding: .5em; width: 13.889em" | {{{1|Tab 2}}}
<includeonly>| style="background: #AAA; border: 1px solid #CCC; border-bottom: solid 2px #CCC; font-size: .9em; line-height: .95em; padding: .5em; width: 13.889em; -moz-border-radius-topleft: .8em; -moz-border-radius-topright: .8em; -webkit-border-top-right-radius: .8em;" | {{{1 |Tab 2}}}
| style="border-bottom:2px solid #ccc; width: .1875em" |&nbsp;</includeonly><noinclude>
| style="border-bottom: 2px solid #CCC; width: .1875em" | &nbsp;</includeonly><noinclude>
<br clear="all"/>
 
==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 />
{{[[Template:Tab1]]|Current page name}}<br>
{{[[Template:Tab1 |Tab1]] |Current page name}}<br />
{{[[Template:Tab2]]|Other page name(s)}}<br>
<nowiki>{{Tab2 |Other page name(s)}}</nowiki><br />
{{[[Template:TabsBottom]]}}
{{[[Template:TabsBottom |TabsBottom]]}}
 
[[Category:Templates]]
 
</noinclude>
</noinclude>

Latest revision as of 01:55, 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.

{{TabsTop}}
{{Tab1 |Current page name}}
{{Tab2 |Other page name(s)}}
{{TabsBottom}}