Difference between revisions of "Template:LEDSGPNavs"

From Open Energy Information

(Events 2013 workshop link changes)
Line 87: Line 87:
 
<div id="LEDSGPContainer"><!-- Ended by Template:LEDSGPFooter -->
 
<div id="LEDSGPContainer"><!-- Ended by Template:LEDSGPFooter -->
 
<div id="LEDSGPNavs" {{#ifeq: {{{subnavabove}}}|true|class="LEDSGPsubnavabove"|class="LEDSGPsubnavleft"}}><!-- Ended by Template:LEDSGPFooter -->
 
<div id="LEDSGPNavs" {{#ifeq: {{{subnavabove}}}|true|class="LEDSGPsubnavabove"|class="LEDSGPsubnavleft"}}><!-- Ended by Template:LEDSGPFooter -->
{{#Widget:LEDSGPNavHelper}} {{#Widget:NOTITLE}} __NOTOC__ {{#ifeq: {{{nav}}}| top |
+
{{#Widget:LEDSGPNavHelper}}{{#Widget:NOTITLE}} __NOTOC__ {{#ifeq: {{{nav}}}| top |
 
<div id="LEDSGPNavTop"><span id="LEDSGPNavTopLogo">[[File:LEDSGP_Logo.png|link=http://ledsgp.org]]</span>
 
<div id="LEDSGPNavTop"><span id="LEDSGPNavTopLogo">[[File:LEDSGP_Logo.png|link=http://ledsgp.org]]</span>
 
* [[LEDSGP/home|Home]]
 
* [[LEDSGP/home|Home]]

Revision as of 13:21, 21 March 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.