Difference between revisions of "Template:LEDSGPNavs"

From Open Energy Information

Line 91: Line 91:
 
<div id="LEDSGPHeader"><div id="LEDSGPLogo"><h1>[[LEDSGP/home|Low Emission Development Strategies Global Partnership]]</h1><span id="LEDSGPMissionStatement">Advancing climate-resilient, low-emission development around the world</span></div>
 
<div id="LEDSGPHeader"><div id="LEDSGPLogo"><h1>[[LEDSGP/home|Low Emission Development Strategies Global Partnership]]</h1><span id="LEDSGPMissionStatement">Advancing climate-resilient, low-emission development around the world</span></div>
 
{{#ifeq:{{SUBPAGENAME}}|home|<div id="LEDSGPJoin"><h4 id="SignUp">Join the LEDS Global Partnership</h4><span id="JoinButton" class="intl-btn btn-sm">[http://eepurl.com/-qi4r Join]</span></div>|{{blank}}}}
 
{{#ifeq:{{SUBPAGENAME}}|home|<div id="LEDSGPJoin"><h4 id="SignUp">Join the LEDS Global Partnership</h4><span id="JoinButton" class="intl-btn btn-sm">[http://eepurl.com/-qi4r Join]</span></div>|{{blank}}}}
}{{#ifeq: {{{subnav}}}|Join | {{#Widget:LEDSGP-sticky-nav}}
+
 
<div class="nav-list-container">
+
{{#ifeq: {{{subnav}}}| Join |  
* [[LEDSGP/BenefitsJoin|Benefits of Joining]]
+
{{#Widget:LEDSGP-sticky-nav}}<div class="nav-list-container">
* [[LEDSGP/Rolemembers|Role of Members]]
+
* [[LEDSGP/Join/Benefits|Benefits of Joining]]
* [[LEDSGP/membership form|Membership Form]]
+
* [[LEDSGP/Join/Role|Role of Members]]
 +
* [[LEDSGP/Join/Form|Membership Form]]
 +
{{#ifeq:{{SUBPAGENAME}}|Benefits of Joining|* <span class="btt hidden">[[LEDSGP/Join/Benefits#LEDSGPHeader|Back to top]]</span>|{{blank}}}}
 +
{{#ifeq:{{SUBPAGENAME}}|Role of Members|* <span class="btt hidden">[[LEDSGP/Join/Role#LEDSGPHeader|Back to top]]</span>|{{blank}}}}
 +
{{#ifeq:{{SUBPAGENAME}}|Membership Form|* <span class="btt hidden">[[LEDSGP/Join/Form#LEDSGPHeader|Back to top]]</span>|{{blank}}}}
 +
</div>
 +
 
  
 
</div>|{{blank}}}}
 
</div>|{{blank}}}}

Revision as of 10:54, 20 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.