Difference between revisions of "Template:RRSection"

From Open Energy Information

(fix syntax for last edit)
({{#set:RRPage={{SUBPAGENAME}}}})
 
Line 33: Line 33:
 
[[Category:RAPID Templates]]
 
[[Category:RAPID Templates]]
  
</noinclude><includeonly>{{RAPID-Nav}}
+
</noinclude><includeonly>{{RAPID-Nav}}{{#set:RRPage={{SUBPAGENAME}}}}
 
{{#vardefine:cleanPageName|{{#explode:{{SUBPAGENAME}}| |0}}}} {{#set:RRSectionNumber={{#explode:{{#vardefineecho:sectionNum|{{#var:cleanPageName}}}}|-|0}}}}
 
{{#vardefine:cleanPageName|{{#explode:{{SUBPAGENAME}}| |0}}}} {{#set:RRSectionNumber={{#explode:{{#vardefineecho:sectionNum|{{#var:cleanPageName}}}}|-|0}}}}
 
{{#ifeq:{{#var:sectionNum}}|{{#vardefineecho:topicInt|{{#explode:{{#var:sectionNum}}|-|0}}}}|{{#vardefine:isOverviewPage|yes}}{{#set:RRSectionCode=0V}}[[Category:Regulatory Roadmap Overview Sections]]{{#ifexpr:{{#len:{{#pos:{{{Name|}}}|Canad}}}}>0|{{#set:RRCountryCode=CAN}}[[Category:Regulatory Roadmap Canadian Overview Sections]]|}}
 
{{#ifeq:{{#var:sectionNum}}|{{#vardefineecho:topicInt|{{#explode:{{#var:sectionNum}}|-|0}}}}|{{#vardefine:isOverviewPage|yes}}{{#set:RRSectionCode=0V}}[[Category:Regulatory Roadmap Overview Sections]]{{#ifexpr:{{#len:{{#pos:{{{Name|}}}|Canad}}}}>0|{{#set:RRCountryCode=CAN}}[[Category:Regulatory Roadmap Canadian Overview Sections]]|}}

Latest revision as of 15:38, 27 December 2019


This is the RRSection template. It is used to generate a section of the Regulatory Roadmap..

Parameters
  • Name - The name or title of the section. (Independent from the section number)
  • Description - The main section description is typically a brief overview of the elements within the section.
    • Must contain proper wiki syntax.
  • Flowchart - A link to the flowchart which corresponds to this section, typically a PDF image.
  • BestPractices - (optional) Free text area describing best practices associated with this element.
  • PotentialRoadblocks - (optional) Free text area describing any possible obstacles or issues persons exploring this element should be aware of.
  • Agency - The page names, or a semi-colon delimited list of pages, of agencies, organizations, or governing bodies associated with this element.
  • References - A reference, or semi-colon delimited list of references, used to supply the associated content.
    • Must contain proper wiki syntax, ex:
      [http://www.achp.gov/ Advisory Council on Historic Preservation];[http://nasa.gov NASA],[[National Renewable Energy Laboratory|NREL]]
  • Regulations - A link, or semi-colon delimited list of links, to relevant regulations.
    • Must contain proper wiki syntax, ex:
      [http://www.achp.gov/ Advisory Council on Historic Preservation];[http://nasa.gov NASA],[[National Renewable Energy Laboratory|NREL]]
Usage

A number of important properties are set automatically from the page name. This template should only be used in connection with the RRSection form.

Dependencies

Form:RRSection

Example

For an example of this in use, please see one of the Category:Regulatory Roadmap Sections listed here.

Edit the page to see the template text.