Template:Tabber/doc

From Chibi-Robo! Wiki
Jump to navigation Jump to search

This template is for use of navigating between subpages of a base page.

Directions for Use

Create a new template using the copy code below. Each tab element is used for making a new subpage with that name. When creating the template, be sure to categorize the template as a Navbox template. This is important for making sure the links display on mobile.

Copy Code

The following code is cleaned up for copying and pasting purposes.

{{Tabber
|base = 
|tab1 = 
|tab2 = 
|tab3 = 
|tab4 = 
|tab5 = 
|tab6 = 
|tab7 = 
}}

Code Description

{{Tabber
|base = Base page's name
|tab1 = Sets link text for first block. Says "Overview" by default. Links to base.
|tab2 = Subpage's name after the slash
|tab3 = Subpage's name after the slash
|tab4 = Subpage's name after the slash
|tab5 = Subpage's name after the slash
|tab6 = Subpage's name after the slash
|tab7 = Subpage's name after the slash
}}
Note 1: For tab2 through tab7, if you wish to link to the Chibi-Robo Gallery on, say, tab3, the page would be Chibi-Robo/Gallery and the code would have base=Chibi-Robo and tab3=Gallery.
Note 2: tab2 through tab7 will not appear unless there is data assigned to them.

Example

The code...

{{Tabber
|base = Chibi-Robo
|tab2 = History
|tab3 = Gallery
|tab4 = Audio
|tab5 = Trivia
}}

...results in...

Page Navigation


The code...

{{Tabber
|base = Chibi-Robo
|tab1 = Data
|tab2 = History
|tab3 = Gallery
|tab4 = Audio
|tab5 = Trivia
}}

...results in...

Page Navigation


*A foundation for this code was taken from the RWBY Wiki and edited to be our own.