Difference between revisions of "Template:LEDSGPNavs"

From Open Energy Information

(editing header section and top level nav)
m (adding #header-break)
Line 99: Line 99:
 
* {{#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>|}}
 
</div>
 
</div>
</div>
+
<div id="header-break" style="height:10px;margin:0 -10px 0 -10px;background:#55a51c;"></div>
 +
</div><!--close id LEDSGPHeader-->
 
}}
 
}}
 
{{#ifeq: {{{subnav}}}| about |  
 
{{#ifeq: {{{subnav}}}| about |  

Revision as of 16:35, 16 June 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.