Template:EnergyTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 5: Line 5:
{{EnergyTemplate
{{EnergyTemplate
Behaviour
Behaviour
ResourceUseOption
EnergyTechnologyChoicenOption, EnergyTechnologyChoice, EnergyTechnologyChoiceText
ResourceUse
EnergyTechnologySubstitutionOption, EnergyTechnologySubstitution, EnergyTechnologySubstitutionText
ResourceUseText
EnergyTechnologySubstitutabilityOption, EnergyTechnologySubstitutability, EnergyTechnologySubstitutabilityText
ElectricityTechnologyOption
ResourceUseOption, ResourceUse, ResourceUseText
ElectricityTechnology
ElectricityTechnologyOption, ElectricityTechnology, ElectricityTechnologyText
ElectricityTechnologyText
HydrogenProductionOption, HydrogenProduction, HydrogenProductionText
ConversionTechnologyOption
RefinedLiquidsOption, RefinedLiquids, RefinedLiquidsText
ConversionTechnology
RefinedGasesOption, RefinedGases, RefinedGasesText
ConversionTechnologyText
HeatGenerationOption, HeatGeneration, HeatGenerationText
GridInfrastructureOption
GridInfrastructureOption, GridInfrastructure, GridInfrastructureText
GridInfrastructure
PassengerTransportationOption, PassengerTransportation, PassengerTransportationText
GridInfrastructureText
FreightTransportationOption, FreightTransportation, FreightTransportationText
TechnologySubstitutionOption
IndustryOption, Industry, IndustryText
TechnologySubstitution
ResidentialAndCommercialOption, ResidentialAndCommercial, ResidentialAndCommercialText
TechnologySubstitutionText
EnergyServiceSectorOption
EnergyServiceSector
EnergyServiceSectorText
}}
}}
</pre>
</pre>[[Category:ReferenceCardStructure]]
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>__NOEDITSECTION__  
</noinclude><includeonly>__NOEDITSECTION__  
{{#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}} }}
{{DisplayTemplate|model={{PAGENAME}}|group=Energy|docPage=Energy}}  
{{#subobject:Behaviour
{{SetFeatureTemplate
|IsAttributeOfModel={{PAGENAME}}
|id=Behaviour
|HasAttributeLabel=Behaviour
|featurePage=FeatureStructureEnergy
|HasText={{{Behaviour|}}}
|text={{{Behaviour|}}}
}}
}}{{SetFeatureTemplate
{{#subobject:Resource use
|id=Energy technology choice
|IsAttributeOfModel={{PAGENAME}}
|featurePage=FeatureStructureEnergy
|HasAttributeLabel=Resource use
|selected={{{EnergyTechnologyChoiceOption|}}}
|HasDefaultOption={{#show:Property:HasResourceUseOption|? Allows value=|sep=;}}|+sep=;
|specific={{{EnergyTechnologyChoice|}}}
|HasSelectedOption={{{ResourceUseOption|}}}|+sep=;
|comment={{{EnergyTechnologyChoiceText|}}}
|HasSpecificOption={{{ResourceUse|}}}|+sep=;
}}{{SetFeatureTemplate
|HasAttributeComment={{{ResourceUseText|}}}
|id=Energy technology substitutability
}}
|featurePage=FeatureStructureEnergy
{{#subobject: Electricity technologies
|selected={{{EnergyTechnologySubstitutabilityOption|}}}
|IsAttributeOfModel={{PAGENAME}}
|specific={{{EnergyTechnologySubstitutability|}}}
|HasAttributeLabel= Electricity technologies
|comment={{{EnergyTechnologySubstitutabilityText|}}}
|HasDefaultOption={{#show:Property:HasElectricityTechnologyOption|? Allows value=|sep=;}}|+sep=;
}}{{SetFeatureTemplate
|HasSelectedOption={{{ElectricityTechnologyOption|}}}|+sep=;
|id=Energy technology deployment
|HasSpecificOption={{{ElectricityTechnology|}}}|+sep=;
|featurePage=FeatureStructureEnergy
|HasAttributeComment={{{ElectricityTechnologyText|}}}
|selected={{{EnergyTechnologyDeploymentOption|}}}
}}
|specific={{{EnergyTechnologyDeployment|}}}
{{#subobject:Conversion technologies
|comment={{{EnergyTechnologyDeploymentText|}}}
|IsAttributeOfModel={{PAGENAME}}
}}{{SetFeatureTemplate
|HasAttributeLabel=Conversion technologies
|id=Electricity technologies
|HasDefaultOption={{#show:Property:HasConversionTechnologyOption|? Allows value=|sep=;}}|+sep=;
|featurePage=FeatureStructureEnergy
|HasSelectedOption={{{ConversionTechnologyOption|}}}|+sep=;
|selected={{{ElectricityTechnologyOption|}}}
|HasSpecificOption={{{ConversionTechnology|}}}|+sep=;
|specific={{{ElectricityTechnology|}}}
|HasAttributeComment={{{ConversionTechnologyText|}}}
|comment={{{ElectricityTechnologyText|}}}
}}
}}{{SetFeatureTemplate
{{#subobject:Grid and infrastructure
|id=Hydrogen production
|IsAttributeOfModel={{PAGENAME}}
|featurePage=FeatureStructureEnergy
|HasAttributeLabel=Grid and infrastructure
|selected={{{HydrogenProductionOption|}}}
|HasDefaultOption={{#show:Property:HasGridInfrastructureOption|? Allows value=|sep=;}}|+sep=;
|specific={{{HydrogenProduction|}}}
|HasSelectedOption={{{GridInfrastructureOption|}}}|+sep=;
|comment={{{HydrogenProductionText|}}}
|HasSpecificOption={{{GridInfrastructure|}}}|+sep=;
}}{{SetFeatureTemplate
|HasAttributeComment={{{GridInfrastructureText|}}}
|id=Refined liquids
}}
|featurePage=FeatureStructureEnergy
{{#subobject:Energy technology substitution
|selected={{{RefinedLiquidsOption|}}}
|IsAttributeOfModel={{PAGENAME}}
|specific={{{RefinedLiquids|}}}
|HasAttributeLabel=Energy technology substitution
|comment={{{RefinedLiquidsText|}}}
|HasDefaultOption={{#show:Property:HasTechnologySubstitutionOption|? Allows value=|sep=;}}|+sep=;
}}{{SetFeatureTemplate
|HasSelectedOption={{{TechnologySubstitutionOption|}}}|+sep=;
|id=Refined gases
|HasSpecificOption={{{TechnologySubstitution|}}}|+sep=;
|featurePage=FeatureStructureEnergy
|HasAttributeComment={{{TechnologySubstitutionText|}}}
|selected={{{RefinedGasesOption|}}}
}}
|specific={{{RefinedGases|}}}
{{#subobject:Energy service sectors
|comment={{{RefinedGasesText|}}}
|IsAttributeOfModel={{PAGENAME}}
}}{{SetFeatureTemplate
|HasAttributeLabel=Energy service sectors
|id=Heat generation
|HasDefaultOption={{#show:Property:HasEnergyServiceSectorOption|? Allows value=|sep=;}}|+sep=;
|featurePage=FeatureStructureEnergy
|HasSelectedOption={{{EnergyServiceSectorOption|}}}|+sep=;
|selected={{{HeatGenerationOption|}}}
|HasSpecificOption={{{EnergyServiceSector|}}}|+sep=;
|specific={{{HeatGeneration|}}}
|HasAttributeComment={{{EnergyServiceSectorText|}}}
|comment={{{HeatGenerationText|}}}
}}
}}{{SetFeatureTemplate
{{#set:
|id=Electricity GI
|featurePage=FeatureStructureEnergy
|selected={{{ElectricityGIOption|}}}
}}{{SetFeatureTemplate
|id=Gas GI
|featurePage=FeatureStructureEnergy
|selected={{{GasGIOption|}}}
}}{{SetFeatureTemplate
|id=Heat GI
|featurePage=FeatureStructureEnergy
|selected={{{HeatGIOption|}}}
}}{{SetFeatureTemplate
|id=CO2 GI
|featurePage=FeatureStructureEnergy
|selected={{{CO2GIOption|}}}
}}{{SetFeatureTemplate
|id=Hydrogen GI
|featurePage=FeatureStructureEnergy
|selected={{{HydrogenGIOption|}}}
}}{{SetFeatureTemplate
|id=Other grid and infrastructure
|featurePage=FeatureStructureEnergy
|specific={{{GridInfrastructure|}}}
|comment={{{GridInfrastructureText|}}}
}}{{SetFeatureTemplate
|id=Passenger transportation
|featurePage=FeatureStructureEnergy
|selected={{{PassengerTransportationOption|}}}
|specific={{{PassengerTransportation|}}}
|comment={{{PassengerTransportationText|}}}
}}{{SetFeatureTemplate
|id=Freight transportation
|featurePage=FeatureStructureEnergy
|selected={{{FreightTransportationOption|}}}
|specific={{{FreightTransportation|}}}
|comment={{{FreightTransportationText|}}}
}}{{SetFeatureTemplate
|id=Industry
|featurePage=FeatureStructureEnergy
|selected={{{IndustryOption|}}}
|specific={{{Industry|}}}
|comment={{{IndustryText|}}}
}}{{SetFeatureTemplate
|id=Residential and commercial
|featurePage=FeatureStructureEnergy
|selected={{{ResidentialAndCommercialOption|}}}
|specific={{{ResidentialAndCommercial|}}}
|comment={{{ResidentialAndCommercialText|}}}
}}<!--
-->{{#set:
HasEnergyTechnologyChoice={{{EnergyTechnologyChoice|}}}|+sep=;
|HasEnergyTechnologySubstitutability={{{EnergyTechnologySubstitutability|}}}|+sep=;
|HasEnergyTechnologyDeployment={{{EnergyTechnologyDeployment|}}}|+sep=;
|HasResourceUse={{{ResourceUse|}}}|+sep=;
|HasResourceUse={{{ResourceUse|}}}|+sep=;
|HasElectricityTechnology={{{ElectricityTechnology|}}}|+sep=;
|HasElectricityTechnology={{{ElectricityTechnology|}}}|+sep=;
|HasConversionTechnology={{{ConversionTechnology|}}}|+sep=;
|HasHydrogenProduction={{{HydrogenProduction|}}}|+sep=;
|HasRefinedLiquids={{{RefinedLiquids|}}}|+sep=;
|HasRefinedGases={{{RefinedGases|}}}|+sep=;
|HasHeatGeneration={{{HeatGeneration|}}}|+sep=;
|HasGridInfrastructure={{{GridInfrastructure|}}}|+sep=;
|HasGridInfrastructure={{{GridInfrastructure|}}}|+sep=;
|HasTechnologySubstitution={{{TechnologySubstitution|}}}|+sep=;
|HasPassengerTransportation={{{PassengerTransportation|}}}|+sep=;
|HasEnergyServiceSector={{{EnergyServiceSector|}}}|+sep=;
|HasFreightTransportation={{{FreightTransportation|}}}|+sep=;
|HasIndustry={{{Industry|}}}|+sep=;
|HasResidentialAndCommercial={{{ResidentialAndCommercial|}}}|+sep=;
}}</includeonly>
}}</includeonly>

Latest revision as of 13:52, 17 November 2021

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

{{EnergyTemplate
Behaviour
EnergyTechnologyChoicenOption, EnergyTechnologyChoice, EnergyTechnologyChoiceText
EnergyTechnologySubstitutionOption, EnergyTechnologySubstitution, EnergyTechnologySubstitutionText
EnergyTechnologySubstitutabilityOption, EnergyTechnologySubstitutability, EnergyTechnologySubstitutabilityText
ResourceUseOption, ResourceUse, ResourceUseText
ElectricityTechnologyOption, ElectricityTechnology, ElectricityTechnologyText
HydrogenProductionOption, HydrogenProduction, HydrogenProductionText
RefinedLiquidsOption, RefinedLiquids, RefinedLiquidsText
RefinedGasesOption, RefinedGases, RefinedGasesText
HeatGenerationOption, HeatGeneration, HeatGenerationText
GridInfrastructureOption, GridInfrastructure, GridInfrastructureText
PassengerTransportationOption, PassengerTransportation, PassengerTransportationText
FreightTransportationOption, FreightTransportation, FreightTransportationText
IndustryOption, Industry, IndustryText
ResidentialAndCommercialOption, ResidentialAndCommercial, ResidentialAndCommercialText
}}

Edit the page to see the template text.