Portal:Free and open-source software/Header: Difference between revisions

Content deleted Content added
Gronky (talk | contribs)
m try #100
Gronky (talk | contribs)
document how this works
Line 6:
<br clear="all">
==Usage==
The four parametres are:
# Background colour of tab (#eee)
# Colour of text on tab (default #ffffff)
# Colour of the 3px bottom border of the tab (default #003366)
# 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.
* "Current" page paramenters: #F9F9FF #000000
* "Other" page paramenters: #0000CD #FFD700 (default)
{{[[Portal:Free software/TabsTop]]}}<br>
{{[[Portal:Free software/Tab1]]|background|text color}}<br>
Line 14 ⟶ 19:
{{[[Portal:Free software/Tab3]]|background|text color}}<br>
{{[[Portal:Free software/TabsBottom]]}}
 
Plus a header for each tab. So, in this case where Portal:Free_software has three tabs, it has three headers:
*[[:Portal:Free_software/Header]]
*[[:Portal:Free_software/categories/Header]]
*[[:Portal:Free_software/Contribute/Header]]
</noinclude>