Difference between revisions of "Template:LEDSGPNavs"

From Open Energy Information

(publications navigation edits)
(about subnav edit)
Line 103: Line 103:
 
}}
 
}}
 
{{#ifeq: {{{subnav}}}| about |  
 
{{#ifeq: {{{subnav}}}| about |  
<div class="nav-list-container">
+
{{#Widget:LEDSGP-sticky-nav}}<div class="nav-list-container">
 
* [[LEDSGP/about#regional_platforms|Regional Platforms]]
 
* [[LEDSGP/about#regional_platforms|Regional Platforms]]
 
* [[LEDSGP/about#working_groups|Working Groups]]
 
* [[LEDSGP/about#working_groups|Working Groups]]
Line 109: Line 109:
 
* [[LEDSGP/about#steering_committee|Steering Committee]]
 
* [[LEDSGP/about#steering_committee|Steering Committee]]
 
* [[LEDSGP/about#guiding_structure|Guiding Structure]]
 
* [[LEDSGP/about#guiding_structure|Guiding Structure]]
 +
* [[LEDSGP/about#LEDSGPHeader|Back to top]]
 
</div>
 
</div>
 
|}}{{#ifeq: {{{subnav}}}| wmwg |  
 
|}}{{#ifeq: {{{subnav}}}| wmwg |  

Revision as of 15:17, 8 August 2014

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.