Welcome to the new and improved DanTDM Wiki. Please read our rules to figure out the correct etiquette and behavior that is expected of all users in both the discussions and pages. Looking to reclaim your edit history from the Fandom wiki? conctact User:ScrapBlox

Template:Tab/doc

From DanTDM Wiki
Jump to navigation Jump to search
Description

This template allows viewers to access an article's subpages easier and gather information about the article's subject faster. The template should only be inserted above everything else on an article.

Usage

To use this template, start with adding the {{Tab|}} line to your article. Then, you can customize the color of these tabs, such as here:

(NOTE: "bgcolor2" only uses the rgb color selection for transparency compatibility)
{{Tab
|bgcolor=orange
|bgcolor2=30, 115, 243
}}

You should get this as a result:

Main page


Then, you can start with adding the necessary tab boxes and their titles, like so:


{{Tab
|bgcolor=blue
|title1=Main page
|tab2=test |title2= test1
|tab3=test2
|tab4=test3
|tab5=test4
|tab6=test5
}}

You should get this as a result:

Main page test1 test2
test3 test4 test5