Difference between revisions of "Template:LEDSGPNavs"

From Open Energy Information

Line 81: Line 81:
 
* [[LEDSGP/home|Home]]
 
* [[LEDSGP/home|Home]]
 
* {{#ifeq: {{{subnav}}}|about|<span class="current">|}}[[LEDSGP/about|About]]{{#ifeq: {{{subnav}}}|about|</span>|}}
 
* {{#ifeq: {{{subnav}}}|about|<span class="current">|}}[[LEDSGP/about|About]]{{#ifeq: {{{subnav}}}|about|</span>|}}
* {{#ifeq: {{{subnav}}}|tools|<span class="current">|}}{{#ifeq: {{{subnav}}}|transport|<span class="current">|}}[[LEDSGP/tools|Capacity Tools]]{{#ifeq: {{{subnav}}}|tools|</span>|}}
+
* {{#ifeq: {{{subnav}}}|tools|<span class="current">|}}{{#ifeq: {{{subnav}}}|transport|<span class="current">|}}[[LEDSGP/tools|Capacity Tools]]{{#ifeq: {{{subnav}}}|tools|</span>|}}{{#ifeq: {{{subnav}}}|transport|</span>|}}
 
* {{#ifeq: {{{subnav}}}|assistance|<span class="current">|}}[[LEDSGP/assistance|Expert Assistance]]{{#ifeq: {{{subnav}}}|assistance|</span>|}}
 
* {{#ifeq: {{{subnav}}}|assistance|<span class="current">|}}[[LEDSGP/assistance|Expert Assistance]]{{#ifeq: {{{subnav}}}|assistance|</span>|}}
 
* {{#ifeq: {{{subnav}}}|events|<span class="current">|}}[[LEDSGP/events|Events]]{{#ifeq: {{{subnav}}}|events|</span>|}}
 
* {{#ifeq: {{{subnav}}}|events|<span class="current">|}}[[LEDSGP/events|Events]]{{#ifeq: {{{subnav}}}|events|</span>|}}

Revision as of 15:53, 25 February 2013

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.