Difference between revisions of "Template:LEDSGPNavs"

From Open Energy Information

Line 161: Line 161:
 
|}}{{#ifeq: {{{subnav}}}|events|  
 
|}}{{#ifeq: {{{subnav}}}|events|  
 
{{#Widget:LEDSGP-sticky-nav}}<div class="nav-list-container">
 
{{#Widget:LEDSGP-sticky-nav}}<div class="nav-list-container">
 +
* [[LEDSGP/News| LEDS News]]
 
* [[LEDSGP/events| Upcoming LEDS Events]]
 
* [[LEDSGP/events| Upcoming LEDS Events]]
 
* [[LEDSGP/events-past| Past LEDS GP Events]]
 
* [[LEDSGP/events-past| Past LEDS GP Events]]

Revision as of 09:51, 11 March 2015

This is the 'LEDSGPNavs' template. It is designed for use by LEDSGP pages.

Parameters
  • nav - indicates top nav should be included when "nav=top"
  • subnav - optional parameter to show secondary navigation level, such as "subnav=about"; "subnav=none" will produce a full-page
  • subnavabove - optional parameter, set to true if you want to show the nav above, and have the content portion take up 100% of the page width
Usage

It should be called in the following format:

{{LEDSGPNav
|nav=...
|subnav=...
|subnavabove=true
}}
Example

Edit the page to see the template text.