Difference between revisions of "Template:LEDSGPNavs"

From Open Energy Information

Line 90: Line 90:
 
{{#Widget:LEDSGPNavHelper}}{{#Widget:NOTITLE}} __NOTOC__ {{#ifeq: {{{nav}}}| top |
 
{{#Widget:LEDSGPNavHelper}}{{#Widget:NOTITLE}} __NOTOC__ {{#ifeq: {{{nav}}}| top |
 
<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">[[LEDSGP/Join|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">[[link=http://eepurl.com/-qi4r|Join]]</span></div>|{{blank}}}}
 
{{#ifeq:{{{subnav}}}|wmwg|<span id="WGheader">Waste Management Working Group</span>|{{blank}}}}
 
{{#ifeq:{{{subnav}}}|wmwg|<span id="WGheader">Waste Management Working Group</span>|{{blank}}}}
 
{{#ifeq:{{{subnav}}}|trans-wg|<span id="WGheader">Transport Working Group</span>|{{blank}}}}
 
{{#ifeq:{{{subnav}}}|trans-wg|<span id="WGheader">Transport Working Group</span>|{{blank}}}}

Revision as of 11:09, 18 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.