Difference between revisions of "Template:Tab2"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
(Lightened background colour to match "new" theme)
(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; background-color: #AAAAAA; 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]]}}<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]]}}
</noinclude>
</noinclude>

Revision as of 01:46, 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}}