Difference between revisions of "Template:Tab1"

MuseWiki, wiki for the band Muse
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; padding:0.5em; line-height:0.95em; border:solid 2px #A3B1BF; border-bottom:0; font-weight:bold;" width="200" | {{{1|Tab 1}}}
+
<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 #A3B1BF" width="3" | &nbsp;</includeonly><noinclude>
+
| style="border-bottom: 2px solid #CCC; width: .1875;" | &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>
+
<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 22: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}}