Difference between revisions of "Template:LEDSGPNavs"

From Open Energy Information

m (Text replacement - "{{blank}}" to "")
m (Text replacement - "{{#Widget:NOTITLE}}" to "{{#Widget:NOTITLE}}Category:Template No Wiki Title")
Line 88: Line 88:
 
<div id="LEDSGPContainer" class="evolution"><!-- Ended by Template:LEDSGPFooter -->
 
<div id="LEDSGPContainer" class="evolution"><!-- Ended by Template:LEDSGPFooter -->
 
<div id="LEDSGPNavs" class="{{#ifeq: {{{subnavabove}}}|true|LEDSGPsubnavabove|LEDSGPsubnavleft}}"><!-- Ended by Template:LEDSGPFooter -->
 
<div id="LEDSGPNavs" class="{{#ifeq: {{{subnavabove}}}|true|LEDSGPsubnavabove|LEDSGPsubnavleft}}"><!-- Ended by Template:LEDSGPFooter -->
{{#Widget:LEDSGPNavHelper}}{{#Widget:LEDSGP-CSS}}{{#Widget:NOTITLE}} __NOTOC__ {{#ifeq: {{{nav}}}| top |
+
{{#Widget:LEDSGPNavHelper}}{{#Widget:LEDSGP-CSS}}{{#Widget:NOTITLE}}[[Category:Template No Wiki Title]] __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">[http://eepurl.com/-qi4r Join]</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>|}}

Revision as of 09:19, 18 April 2017

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.