Difference between revisions of "Template:LEDSGPNavs"

From Open Energy Information

(LEDSGP Home page redesign)
Line 94: Line 94:
 
* {{#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>|}}
 +
* {{#ifeq: {{{subnav}}}|events|<span class="current">|}}[[LEDSGP/publications|Publications]]{{#ifeq: {{{subnav}}}|events|</span>|}}
 
* {{#ifeq: {{{subnav}}}|join|<span class="current">|}}[[LEDSGP/join|Join Us]]{{#ifeq: {{{subnav}}}|join|</span>|}}
 
* {{#ifeq: {{{subnav}}}|join|<span class="current">|}}[[LEDSGP/join|Join Us]]{{#ifeq: {{{subnav}}}|join|</span>|}}
 
</div>
 
</div>

Revision as of 10:47, 7 October 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.