Portal:Free and open-source software/Header2

{{Portal:Free and open-source software/TabsTop}}

{{Portal:Free and open-source software/Tab|text=Main page|link=Portal:Free and open-source software|current={{#ifeq:{{{tab|}}}|1|yes}}}}

{{Portal:Free and open-source software/Tab|text=Categories|link=Portal:Free and open-source software/Categories|current={{#ifeq:{{{tab|}}}|2|yes}}}}

{{Portal:Free and open-source software/Tab|text=Contribute|link=Portal:Free and open-source software/Contribute|current={{#ifeq:{{{tab|}}}|3|yes}}}}

{{Portal:Free and open-source software/TabsBottom}}

{{clear}}

Usage

The four parametres are:

  1. Background colour of tab (#eee)
  2. Colour of text on tab (default #ffffff)
  3. Colour of the 3px bottom border of the tab (default #003366)
  4. width of the top, left, and right borders of the tab (default 1)

(The defaults are in each of Tab1, Tab2, and Tab3)

To create a set of tabs, use these five elements. Keep the page tabs in the same order.

{{Portal:Free and open-source software/TabsTop}}

{{Portal:Free and open-source software/Tab1|background|text color}}

{{Portal:Free and open-source software/Tab2|background|text color}}

{{Portal:Free and open-source software/Tab3|background|text color}}

{{Portal:Free and open-source software/TabsBottom}}

Plus a header for each tab. So, in this case where Portal:Free and open-source software has three tabs, it has three headers: