User:Isarra/technicaldesign/Navigation header template/doc
This is a template for making a tabbed header with a big old banner for the page. To replace the actual page header you can even add custom css to the banner to give it a negative margin to cover it up, though I don't recommend actually doing that because it will hilariously break in other skins.
Usage:[edit]
To produce the example here:
{{ User:Isarra/technicaldesign/Navigation header template | header message = A content header template | header custom styles = font-family: 'linux libertine', 'georgia', serif; border-bottom: solid .125em #0a7; | tab 1 = Documentation | tab 1 link = {{FULLPAGENAME}} | tab 1 icon = [[File:Summary icon.svg|22px]] | tab 2 = Limitations | tab 2 link = /... | tab 3 = Issues | tab 3 link = /... }}
All parameters:
{{ User:Isarra/technicaldesign/Navigation header template | header message = | header custom styles = | color 1 = | color 2 = | tab 1 = | tab 1 link = | tab 1 icon = | tab 1 color = | ... | (tabs repeated nine times) }}
Notes:
- Supports up to ten tabs.
- Delete empty
color
/tab color
items or they will override the default to nothing. tab color
andtab icon
are not required;tab link
and name are.- Use fullpagename for links for correct matching of which page is active.
- For icons, use an actual image, as in
[[File:Somefile.png|16px]]
.