A Year's in review of the independent DanTDM Wiki Learn More >, Thank you!

Template:Tab/doc

From DanTDM Wiki
Revision as of 18:33, 3 September 2024 by imported>ExplodingTNT00 (Created page with ";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 <nowiki>{{Tab|}}</nowiki> 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) <br/> '''<nowi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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