Template:User group top menu/doc

From Meta, a Wikimedia project coordination wiki

Usage[edit]

The header is added using the markup:

{{User group top menu
 |heading    = the main heading text
 |subheading = a slogan or mission statements
 |font       = font to use
 |background = background colour
 |logo       = logo image to use
 |logolink   = where to link to if logo clicked
 |tabs       = the tabs to include underneath (using {{User group top menu bar}})
}}

Each tab underneath is added using:

{{User group top menu tab
 |text       = text to include (usually a wikilink)
 |font       = font to use
 |background = background colour
}}

Examples[edit]

{{User group top menu
 |heading    = Wikimedia User Group
 |subheading = Supporting the Wikimedia community
 |font       = sans-serif
 |background = #eee
 |tabs = 
  {{User group top menu tab| [[Wikimedia User Group | about]] }}
  {{User group top menu tab| [[Wikimedia User Group/events | events]] }}
  {{User group top menu tab| [[/Wikimedia User Group/reports | reports]] }}
}}

Produces:


User group top menu
Supporting the Wikimedia community