Template:Tabber

From TerraFirmaCraft Plus Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

There are multiple functions for this template. There is the standard hover-over text, the tabber without default open tab, and the tabber with default open tab. For the tabber use, it is advised to use it on a new text rule.

Hover-over text

If you want to use the hover-over text function instead of using tabs, use the following:

{{Tabber|tabs=no|text that always appears|text that appears at hovering}}

That will result in: text that always appearstext that appears at hovering .
To insert enters, use <br/>, or add |div=div to the template. The latter method is also needed for lists.

Tabber with default open tab

If you want to have a tabber with a default open tab(the first tab), use the following:

{{Tabber
|t1=title of tab 1
|t2=title of tab 2
|t3=title of tab 3
|t4=title of tab 4
|c1=content of tab 1(default)
|c2=content of tab 2
|c3=content of tab 3
|c4=content of tab 4
}}

This will result in:

 

title of tab 1 title of tab 2 title of tab 3 title of tab 4

content of tab 4

content of tab 3

content of tab 2

content of tab 1(default)