Template:EnergyTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
m (1 revision imported)
en>Rineke Oostenrijk
No edit summary
Line 24: Line 24:
</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|}}}
|IsSingleChoice=false
}}{{SetFeatureTemplate
|IsSubOf=Energy
|id=Energy technology choice
}}<!--
|featurePage=FeatureStructureEnergy
-->{{#subobject:Energy technology choice
|selected={{{EnergyTechnologyChoiceOption|}}}
|IsAttributeOfModel={{PAGENAME}}
|specific={{{EnergyTechnologyChoice|}}}
|HasAttributeLabel=Energy technology choice
|comment={{{EnergyTechnologyChoiceText|}}}
|HasDefaultOption={{#show:Property:HasEnergyTechnologyChoiceOption|? Allows value=|valuesep=;}}|+sep=;
}}{{SetFeatureTemplate
|HasSelectedOption={{{EnergyTechnologyChoiceOption|}}}
|id=Energy technology substitutability
|HasSpecificOption={{{EnergyTechnologyChoice|}}}|+sep=;
|featurePage=FeatureStructureEnergy
|HasAttributeComment={{{EnergyTechnologyChoiceText|}}}
|selected={{{EnergyTechnologySubstitutabilityOption|}}}
|IsSingleChoice=true
|specific={{{EnergyTechnologySubstitutability|}}}
|IsSubOf=Energy technology substitution
|comment={{{EnergyTechnologySubstitutabilityText|}}}
}}<!--
}}{{SetFeatureTemplate
-->{{#subobject:Energy technology substitutability
|id=Energy technology deployment
|IsAttributeOfModel={{PAGENAME}}
|featurePage=FeatureStructureEnergy
|HasAttributeLabel=Energy technology substitutability
|selected={{{EnergyTechnologyDeploymentOption|}}}
|HasDefaultOption={{#show:Property:HasEnergyTechnologySubstitutabilityOption|? Allows value=|valuesep=;}}|+sep=;
|specific={{{EnergyTechnologyDeployment|}}}
|HasSelectedOption={{{EnergyTechnologySubstitutabilityOption|}}}|+sep=;
|comment={{{EnergyTechnologyDeploymentText|}}}
|HasSpecificOption={{{EnergyTechnologySubstitutability|}}}|+sep=;
}}{{SetFeatureTemplate
|HasAttributeComment={{{EnergyTechnologySubstitutabilityText|}}}
|id=Electricity technologies
|IsSingleChoice=false
|featurePage=FeatureStructureEnergy
|IsSubOf=Energy technology substitution
|selected={{{ElectricityTechnologyOption|}}}
}}<!--
|specific={{{ElectricityTechnology|}}}
-->{{#subobject:Energy technology deployment
|comment={{{ElectricityTechnologyText|}}}
|IsAttributeOfModel={{PAGENAME}}
}}{{SetFeatureTemplate
|HasAttributeLabel=Energy technology deployment
|id=Hydrogen production
|HasDefaultOption={{#show:Property:HasEnergyTechnologyDeploymentOption|? Allows value=|valuesep=;}}|+sep=;
|featurePage=FeatureStructureEnergy
|HasSelectedOption={{{EnergyTechnologyDeploymentOption|}}}|+sep=;
|selected={{{HydrogenProductionOption|}}}
|HasSpecificOption={{{EnergyTechnologySubstitutability|}}}|+sep=;
|specific={{{HydrogenProduction|}}}
|HasAttributeComment={{{EnergyTechnologySubstitutabilityText|}}}
|comment={{{HydrogenProductionText|}}}
|IsSingleChoice=false
}}{{SetFeatureTemplate
|IsSubOf=Energy technology substitution
|id=Refined liquids
}}<!--
|featurePage=FeatureStructureEnergy
-->{{#subobject: Electricity technologies
|selected={{{RefinedLiquidsOption|}}}
|IsAttributeOfModel={{PAGENAME}}
|specific={{{RefinedLiquids|}}}
|HasAttributeLabel=Electricity technologies
|comment={{{RefinedLiquidsText|}}}
|HasDefaultOption={{#show:Property:HasElectricityTechnologyOption|? Allows value=|valuesep=;}}|+sep=;
}}{{SetFeatureTemplate
|HasSelectedOption={{{ElectricityTechnologyOption|}}}|+sep=;
|id=Refined gases
|HasSpecificOption={{{ElectricityTechnology|}}}|+sep=;
|featurePage=FeatureStructureEnergy
|HasAttributeComment={{{ElectricityTechnologyText|}}}
|selected={{{RefinedGasesOption|}}}
|IsSingleChoice=false
|specific={{{RefinedGases|}}}
|IsSubOf=Energy
|comment={{{RefinedGasesText|}}}
}}<!--
}}{{SetFeatureTemplate
-->{{#subobject:Hydrogen production
|id=Heat generation
|IsAttributeOfModel={{PAGENAME}}
|featurePage=FeatureStructureEnergy
|HasAttributeLabel=Hydrogen production
|selected={{{HeatGenerationOption|}}}
|HasDefaultOption={{#show:Property:HasHydrogenProductionOption|? Allows value=|valuesep=;}}|+sep=;
|specific={{{HeatGeneration|}}}
|HasSelectedOption={{{HydrogenProductionOption|}}}|+sep=;
|comment={{{HeatGenerationText|}}}
|HasSpecificOption={{{HydrogenProduction|}}}|+sep=;
}}{{SetFeatureTemplate
|HasAttributeComment={{{HydrogenProductionText|}}}
|id=Electricity GI
|IsSingleChoice=false
|featurePage=FeatureStructureEnergy
|IsSubOf=Energy
|selected={{{ElectricityGIOption|}}}
}}<!--
}}{{SetFeatureTemplate
-->{{#subobject:Refined liquids
|id=Gas GI
|IsAttributeOfModel={{PAGENAME}}
|featurePage=FeatureStructureEnergy
|HasAttributeLabel=Refined liquids
|selected={{{GasGIOption|}}}
|HasDefaultOption={{#show:Property:HasRefinedLiquidsOption|? Allows value=|valuesep=;}}|+sep=;
}}{{SetFeatureTemplate
|HasSelectedOption={{{RefinedLiquidsOption|}}}|+sep=;
|id=Heat GI
|HasSpecificOption={{{RefinedLiquids|}}}|+sep=;
|featurePage=FeatureStructureEnergy
|HasAttributeComment={{{RefinedLiquidsText|}}}
|selected={{{HeatGIOption|}}}
|IsSingleChoice=false
}}{{SetFeatureTemplate
|IsSubOf=Energy
|id=CO2 GI
}}<!--
|featurePage=FeatureStructureEnergy
-->{{#subobject:Refined gases
|selected={{{CO2GIOption|}}}
|IsAttributeOfModel={{PAGENAME}}
}}{{SetFeatureTemplate
|HasAttributeLabel=Refined gases
|id=Hydrogen GI
|HasDefaultOption={{#show:Property:HasRefinedGasesOption|? Allows value=|valuesep=;}}|+sep=;
|featurePage=FeatureStructureEnergy
|HasSelectedOption={{{RefinedGasesOption|}}}|+sep=;
|selected={{{HydrogenGIOption|}}}
|HasSpecificOption={{{RefinedGases|}}}|+sep=;
}}{{SetFeatureTemplate
|HasAttributeComment={{{RefinedGasesText|}}}
|id=Other grid and infrastructure
|IsSingleChoice=false
|featurePage=FeatureStructureEnergy
|IsSubOf=Energy
|specific={{{GridInfrastructure|}}}
}}<!--
|comment={{{GridInfrastructureText|}}}
-->{{#subobject:Heat generation
}}{{SetFeatureTemplate
|IsAttributeOfModel={{PAGENAME}}
|id=Passenger transportation
|HasAttributeLabel=Heat generation
|featurePage=FeatureStructureEnergy
|HasDefaultOption={{#show:Property:HasHeatGenerationOption|? Allows value=|valuesep=;}}|+sep=;
|selected={{{PassengerTransportationOption|}}}
|HasSelectedOption={{{HeatGenerationOption|}}}|+sep=;
|specific={{{PassengerTransportation|}}}
|HasSpecificOption={{{HeatGeneration|}}}|+sep=;
|comment={{{PassengerTransportationText|}}}
|HasAttributeComment={{{HeatGenerationText|}}}
}}{{SetFeatureTemplate
|IsSingleChoice=false
|id=Freight transportation
|IsSubOf=Energy
|featurePage=FeatureStructureEnergy
}}<!--
|selected={{{FreightTransportationOption|}}}
-->{{#subobject:Electricity GI
|specific={{{FreightTransportation|}}}
|IsAttributeOfModel={{PAGENAME}}
|comment={{{FreightTransportationText|}}}
|HasAttributeLabel=Electricity
}}{{SetFeatureTemplate
|IsSubOf=GI
|id=Industry
|HasDefaultOption={{#show:Property:HasGridInfrastructureOption|? Allows value=|valuesep=;}}|+sep=;
|featurePage=FeatureStructureEnergy
|HasSelectedOption={{{ElectricityGIOption|}}}|+sep=;
|selected={{{IndustryOption|}}}
|IsSingleChoice=true
|specific={{{Industry|}}}
}}<!--
|comment={{{IndustryText|}}}
-->{{#subobject:Gas GI
}}{{SetFeatureTemplate
|IsAttributeOfModel={{PAGENAME}}
|id=Residential and commercial
|HasAttributeLabel=Gas
|featurePage=FeatureStructureEnergy
|IsSubOf=GI
|selected={{{ResidentialAndCommercialOption|}}}
|HasDefaultOption={{#show:Property:HasGridInfrastructureOption|? Allows value=|valuesep=;}}|+sep=;
|specific={{{ResidentialAndCommercial|}}}
|HasSelectedOption={{{GasGIOption|}}}|+sep=;
|comment={{{ResidentialAndCommercialText|}}}
|IsSingleChoice=true
}}<!--
-->{{#subobject:Heat GI
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Heat
|IsSubOf=GI
|HasDefaultOption={{#show:Property:HasGridInfrastructureOption|? Allows value=|valuesep=;}}|+sep=;
|HasSelectedOption={{{HeatGIOption|}}}|+sep=;
|IsSingleChoice=true
}}<!--
-->{{#subobject:CO2 GI
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=CO2
|IsSubOf=GI
|HasDefaultOption={{#show:Property:HasGridInfrastructureOption|? Allows value=|valuesep=;}}|+sep=;
|HasSelectedOption={{{CO2GIOption|}}}|+sep=;
|IsSingleChoice=true
}}<!--
-->{{#subobject:Hydrogen GI
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Hydrogen
|IsSubOf=GI
|HasDefaultOption={{#show:Property:HasGridInfrastructureOption|? Allows value=|valuesep=;}}|+sep=;
|HasSelectedOption={{{HydrogenGIOption|}}}|+sep=;
|IsSingleChoice=true
}}<!--
-->{{#subobject:Other grid and infrastructure
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Other grid and infrastructure
|HasSpecificOption={{{GridInfrastructure|}}}|+sep=;
|HasAttributeComment={{{GridInfrastructureText|}}}
|IsSingleChoice=false
|IsSubOf=GI
}}<!--
-->{{#subobject:Passenger transportation
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Passenger transportation
|HasDefaultOption={{#show:Property:HasPassengerTransportationOption|? Allows value=|valuesep=;}}|+sep=;
|HasSelectedOption={{{PassengerTransportationOption|}}}|+sep=;
|HasSpecificOption={{{PassengerTransportation|}}}|+sep=;
|HasAttributeComment={{{PassengerTransportationText|}}}
|IsSingleChoice=false
|IsSubOf=Energy end-use technologies
}}<!--
-->{{#subobject:Freight transportation
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Freight transportation
|HasDefaultOption={{#show:Property:HasFreightTransportationOption|? Allows value=|valuesep=;}}|+sep=;
|HasSelectedOption={{{FreightTransportationOption|}}}|+sep=;
|HasSpecificOption={{{FreightTransportation|}}}|+sep=;
|HasAttributeComment={{{FreightTransportationText|}}}
|IsSingleChoice=false
|IsSubOf=Energy end-use technologies
}}<!--
-->{{#subobject:Industry
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Industry
|HasDefaultOption={{#show:Property:HasIndustryOption|? Allows value=|valuesep=;}}|+sep=;
|HasSelectedOption={{{IndustryOption|}}}|+sep=;
|HasSpecificOption={{{Industry|}}}|+sep=;
|HasAttributeComment={{{IndustryText|}}}
|IsSingleChoice=false
|IsSubOf=Energy end-use technologies
}}<!--
-->{{#subobject:Residential and commercial
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Residential and commercial
|HasDefaultOption={{#show:Property:HasResidentialAndCommercialOption|? Allows value=|valuesep=;}}|+sep=;
|HasSelectedOption={{{ResidentialAndCommercialOption|}}}|+sep=;
|HasSpecificOption={{{ResidentialAndCommercial|}}}|+sep=;
|HasAttributeComment={{{ResidentialAndCommercialText|}}}
|IsSingleChoice=false
|IsSubOf=Energy end-use technologies
}}<!--
}}<!--
-->{{#set:
-->{{#set:

Revision as of 10:51, 13 April 2020

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.