Template:TabArea

From Brickipedia, the LEGO Wiki


Template-info.png Template documentation

This documentation is transcluded from Template:TabArea/doc. (edit | history)

  This is a generic template which allows for tabbed content. It currently supports up to twelve tabs, however more can be needed if it's ever required. A minimum of two tabs must be used.

Usage[edit source]

To use this template, use the code below:

{{TabArea
|bkg=
|txt=
|tab1Name=
|tab1Content=
|tab2Name=
|tab2Content=
}}

For more tabs, add more "tabxName" and "tabxContent" parameters, using numbers up to 12. "bkg" changes the background colour of the tabs- please use a six-digit hex value (without the "#" symbol).

Example[edit source]

{{TabArea
|bkg=FFCC00
|tab1Name=Original variant
|tab1Content=
[[File:The_flash.png|150px]]
Flash!
|tab2Name=Mighty Micros
|tab2Content=
[[File:76063-flash.jpg|100px]]
Baby Flash!
}}

produces:

Original variant
Mighty Micros

The flash.png

Flash!