Jump to content

Template:WikiJournal top menu bar/doc

From Wikiversity

A flow tab to be used within:

<div style="display:        flex;
            flex-direction: row;
            flex-wrap:      wrap;
            text-align:     center; /* noflex */
            margin-bottom:  1em;
            width:          calc(100% + 4px);">
{{WikiJournal_top_menu_bar}}
{{WikiJournal_top_menu_bar}}
{{WikiJournal_top_menu_bar}}
</div>

Parameters:

{{WikiJournal_top_menu_bar
 |content         = tab content
 |dropdown_header = tab header if you want to have a dropdown menu
 |dropdown_text   = tab dropdown content if you want to have a dropdown menu 
 |toggle          = some unique name for the tab (necessary if multiple tabs on one page)
 |font-size       = font size (default 1.1em)
 |colour          = background colour (default grey)
 |z               = level for determining overlaps (default 10)
}}

See also

[edit source]