Difference between revisions of "Template:LEDSGPNavs"

From Open Energy Information

(working group left nav icon edit)
m (adding tool left nav links)
Line 143: Line 143:
 
{{#ifeq:{{SUBPAGENAME}}|knowledge-portals|* <span class="btt hidden">[[LEDSGP/tools/knowledge-portals#LEDSGPHeader|Back to top]]</span>|{{blank}}}}
 
{{#ifeq:{{SUBPAGENAME}}|knowledge-portals|* <span class="btt hidden">[[LEDSGP/tools/knowledge-portals#LEDSGPHeader|Back to top]]</span>|{{blank}}}}
 
{{#ifeq:{{SUBPAGENAME}}|benefits|* <span class="btt hidden">[[LEDSGP/benefits#LEDSGPHeader|Back to top]]</span>|{{blank}}}}
 
{{#ifeq:{{SUBPAGENAME}}|benefits|* <span class="btt hidden">[[LEDSGP/benefits#LEDSGPHeader|Back to top]]</span>|{{blank}}}}
 +
<!--depreciated page-->{{#ifeq:{{SUBPAGENAME}}|toolkits|* <span class="btt hidden">[[LEDSGP/tools/toolkits#LEDSGPHeader|Back to top]]</span>|{{blank}}}}
 +
<!--depreciated page-->{{#ifeq:{{SUBPAGENAME}}|features|* <span class="btt hidden">[[LEDSGP/tools/features#LEDSGPHeader|Back to top]]</span>|{{blank}}}}
 
</div>
 
</div>
 
|}}{{#ifeq: {{{subnav}}}| assistance |  
 
|}}{{#ifeq: {{{subnav}}}| assistance |  

Revision as of 23:29, 22 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.