Template:EnergyTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
<pre>
<pre>
{{EnergyTemplate
{{EnergyTemplate
....
Behaviour
ResourceUseOption
ResourceUse
ResourceUseText
ElectricityTechnologyOption
ElectricityTechnology
ElectricityTechnologyText
ConversionTechnologyOption
ConversionTechnology
ConversionTechnologyText
GridInfrastructureOption
GridInfrastructure
GridInfrastructureText
TechnologySubstitutionOption
TechnologySubstitution
TechnologySubstitutionText
EnergyServiceSectorOption
EnergyServiceSector
EnergyServiceSectorText
}}
}}
</pre>
</pre>
Line 12: Line 30:
{{DisplayEnergyTemplate|model={{PAGENAME}} }}
{{DisplayEnergyTemplate|model={{PAGENAME}} }}
{{#set:
{{#set:
HasBehaviour={{{Behaviour|}}}
|HasResourceUseOption={{{ResourceUseOption|}}}
|HasResourceUse={{{ResourceUse|}}}
|HasResourceUseText={{{ResourceUseText|}}}
|HasElectricityTechnologyOption={{{ElectricityTechnologyOption|}}}
|HasElectricityTechnology={{{ElectricityTechnology|}}}
|HasElectricityTechnologyText={{{ElectricityTechnologyText|}}}
|HasConversionTechnologyOption={{{ConversionTechnologyOption|}}}
|HasConversionTechnology={{{ConversionTechnology|}}}
|HasConversionTechnologyText={{{ConversionTechnologyText|}}}
|HasGridInfrastructureOption={{{GridInfrastructureOption|}}}
|HasGridInfrastructure={{{GridInfrastructure|}}}
|HasGridInfrastructureText={{{GridInfrastructureText|}}}
|HasTechnologySubstitutionOption={{{SubstitutionOption|}}}
|HasTechnologySubstitution={{{Substitution|}}}
|HasTechnologySubstitutionText={{{SubstitutionText|}}}
|HasEnergyServiceSectorOption={{{ServiceSectorOption|}}}
|HasEnergyServiceSector={{{ServiceSector|}}}
|HasEnergyServiceSectorText={{{ServiceSectortext|}}}
}}</includeonly>
}}</includeonly>

Revision as of 11:48, 22 August 2016

This is the "EnergyTemplate" template. It should be called in the following format:

{{EnergyTemplate
Behaviour
ResourceUseOption
ResourceUse
ResourceUseText
ElectricityTechnologyOption
ElectricityTechnology
ElectricityTechnologyText
ConversionTechnologyOption
ConversionTechnology
ConversionTechnologyText
GridInfrastructureOption
GridInfrastructure
GridInfrastructureText
TechnologySubstitutionOption
TechnologySubstitution
TechnologySubstitutionText
EnergyServiceSectorOption
EnergyServiceSector
EnergyServiceSectorText
}}

Edit the page to see the template text.