Template:EnergyTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
{{#formlink:form=EnergyForm|link text=edit Energy|link type=button|target={{PAGENAME}} }}
{{#formlink:form=EnergyForm|link text=edit Energy|link type=button|target={{PAGENAME}} }}
{{DisplayEnergyTemplate|model={{PAGENAME}} }}
{{DisplayEnergyTemplate|model={{PAGENAME}} }}
{{#subobject:Behaviour
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Behaviour
|HasText={{{Behaviour|}}}
}}
{{#subobject:Resource use
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Resource use
|HasDefaultOption={{#show:Property:HasResourceUseOption|? Allows value=|sep=;}}|+sep=;
|HasSelectedOption={{{ResourceUseOption|}}}|+sep=;
|HasSpecificOption={{{ResourceUse|}}}|+sep=;
|HasAttributeComment={{{ResourceUseText|}}}
}}
{{#subobject: Electricity technologies
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel= Electricity technologies
|HasDefaultOption={{#show:Property:HasElectricityTechnologyOption|? Allows value=|sep=;}}|+sep=;
|HasSelectedOption={{{ElectricityTechnologyOption|}}}|+sep=;
|HasSpecificOption={{{ElectricityTechnology|}}}|+sep=;
|HasAttributeComment={{{ElectricityTechnologyText|}}}
}}
{{#subobject:Conversion technologies
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Conversion technologies
|HasDefaultOption={{#show:Property:HasConversionTechnologyOption|? Allows value=|sep=;}}|+sep=;
|HasSelectedOption={{{ConversionTechnologyOption|}}}|+sep=;
|HasSpecificOption={{{ConversionTechnology|}}}|+sep=;
|HasAttributeComment={{{ConversionTechnologyText|}}}
}}
{{#subobject:Grid and infrastructure
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Grid and infrastructure
|HasDefaultOption={{#show:Property:HasGridInfrastructureOption|? Allows value=|sep=;}}|+sep=;
|HasSelectedOption={{{GridInfrastructureOption|}}}|+sep=;
|HasSpecificOption={{{GridInfrastructure|}}}|+sep=;
|HasAttributeComment={{{GridInfrastructureText|}}}
}}
{{#subobject:Energy technology substitution
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Energy technology substitution
|HasDefaultOption={{#show:Property:HasTechnologySubstitutionOption|? Allows value=|sep=;}}|+sep=;
|HasSelectedOption={{{TechnologySubstitutionOption|}}}|+sep=;
|HasSpecificOption={{{TechnologySubstitution|}}}|+sep=;
|HasAttributeComment={{{TechnologySubstitutionText|}}}
}}
{{#subobject:Energy service sectors
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Energy service sectors
|HasDefaultOption={{#show:Property:HasEnergyServiceSectorOption|? Allows value=|sep=;}}|+sep=;
|HasSelectedOption={{{EnergyServiceSectorOption|}}}|+sep=;
|HasSpecificOption={{{EnergyServiceSector|}}}|+sep=;
|HasAttributeComment={{{EnergyServiceSectorText|}}}
}}
{{#set:
{{#set:
HasBehaviour={{{Behaviour|}}}
|HasResourceUseOption={{{ResourceUseOption|}}}|+sep=;
|HasResourceUse={{{ResourceUse|}}}|+sep=;
|HasResourceUse={{{ResourceUse|}}}|+sep=;
|HasResourceUseText={{{ResourceUseText|}}}
|HasElectricityTechnologyOption={{{ElectricityTechnologyOption|}}}|+sep=;
|HasElectricityTechnology={{{ElectricityTechnology|}}}|+sep=;
|HasElectricityTechnology={{{ElectricityTechnology|}}}|+sep=;
|HasElectricityTechnologyText={{{ElectricityTechnologyText|}}}
|HasConversionTechnologyOption={{{ConversionTechnologyOption|}}}|+sep=;
|HasConversionTechnology={{{ConversionTechnology|}}}|+sep=;
|HasConversionTechnology={{{ConversionTechnology|}}}|+sep=;
|HasConversionTechnologyText={{{ConversionTechnologyText|}}}
|HasGridInfrastructureOption={{{GridInfrastructureOption|}}}|+sep=;
|HasGridInfrastructure={{{GridInfrastructure|}}}|+sep=;
|HasGridInfrastructure={{{GridInfrastructure|}}}|+sep=;
|HasGridInfrastructureText={{{GridInfrastructureText|}}}
|HasTechnologySubstitutionOption={{{TechnologySubstitutionOption|}}}|+sep=;
|HasTechnologySubstitution={{{TechnologySubstitution|}}}|+sep=;
|HasTechnologySubstitution={{{TechnologySubstitution|}}}|+sep=;
|HasTechnologySubstitutionText={{{TechnologySubstitutionText|}}}
|HasEnergyServiceSectorOption={{{EnergyServiceSectorOption|}}}|+sep=;
|HasEnergyServiceSector={{{EnergyServiceSector|}}}|+sep=;
|HasEnergyServiceSector={{{EnergyServiceSector|}}}|+sep=;
|HasEnergyServiceSectorText={{{EnergyServiceSectortext|}}}
}}</includeonly>
}}</includeonly>

Revision as of 13:39, 27 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.