Difference between revisions of "Template:Tab1"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
(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)
m (→‎Usage: Corrected code error in example code.)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
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]]
 
[[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}}