Difference between revisions of "Template:LEDSGPNavs"

From Open Energy Information

m (publications edit)
(publications navigation edits)
Line 95: Line 95:
 
* <div class="item">{{#ifeq: {{{subnav}}}|assistance|<span class="current">|}}[[LEDSGP/assistance|Expert Assistance]]{{#ifeq: {{{subnav}}}|assistance|</span>|}}</div>
 
* <div class="item">{{#ifeq: {{{subnav}}}|assistance|<span class="current">|}}[[LEDSGP/assistance|Expert Assistance]]{{#ifeq: {{{subnav}}}|assistance|</span>|}}</div>
 
* <div class="item">{{#ifeq: {{{subnav}}}|events|<span class="current">|}}[[LEDSGP/events|News & Events]]{{#ifeq: {{{subnav}}}|events|</span>|}}</div>
 
* <div class="item">{{#ifeq: {{{subnav}}}|events|<span class="current">|}}[[LEDSGP/events|News & Events]]{{#ifeq: {{{subnav}}}|events|</span>|}}</div>
 +
* <div class="item">{{#ifeq: {{{subnav}}}|publications|<span class="current">|}}[[LEDSGP/publications|Publications]]{{#ifeq: {{{subnav}}}|publications|</span>|}}</div>
 
* <div class="item">{{#ifeq: {{{subnav}}}|join|<span class="current">|}}[[LEDSGP/join|Join]]{{#ifeq: {{{subnav}}}|join|</span>|}}</div>
 
* <div class="item">{{#ifeq: {{{subnav}}}|join|<span class="current">|}}[[LEDSGP/join|Join]]{{#ifeq: {{{subnav}}}|join|</span>|}}</div>
 
* {{#ifeq: {{{subnav}}}|contact|<span class="current">|}}[[LEDSGP/contact|Contact]]{{#ifeq: {{{subnav}}}|contact|</span>|}}
 
* {{#ifeq: {{{subnav}}}|contact|<span class="current">|}}[[LEDSGP/contact|Contact]]{{#ifeq: {{{subnav}}}|contact|</span>|}}
Line 166: Line 167:
 
* [[LEDSGP/events-past| Past LEDS GP Events]]
 
* [[LEDSGP/events-past| Past LEDS GP Events]]
 
* [[LEDSGP/events/calendar| Calendar]]
 
* [[LEDSGP/events/calendar| Calendar]]
 +
</div>
 +
 +
|}}{{#ifeq: {{{subnav}}}|publications|
 +
<div class="nav-list-container">
 
* [[LEDSGP/publications| Publications]]
 
* [[LEDSGP/publications| Publications]]
 
</div>
 
</div>

Revision as of 14:11, 8 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.