Template:EnergyTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 4: Line 4:
<pre>
<pre>
{{EnergyTemplate
{{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
}}
}}
</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}}
{{#set:
{{SetFeatureTemplate
|id=Behaviour
|featurePage=FeatureStructureEnergy
|text={{{Behaviour|}}}
}}{{SetFeatureTemplate
|id=Energy technology choice
|featurePage=FeatureStructureEnergy
|selected={{{EnergyTechnologyChoiceOption|}}}
|specific={{{EnergyTechnologyChoice|}}}
|comment={{{EnergyTechnologyChoiceText|}}}
}}{{SetFeatureTemplate
|id=Energy technology substitutability
|featurePage=FeatureStructureEnergy
|selected={{{EnergyTechnologySubstitutabilityOption|}}}
|specific={{{EnergyTechnologySubstitutability|}}}
|comment={{{EnergyTechnologySubstitutabilityText|}}}
}}{{SetFeatureTemplate
|id=Energy technology deployment
|featurePage=FeatureStructureEnergy
|selected={{{EnergyTechnologyDeploymentOption|}}}
|specific={{{EnergyTechnologyDeployment|}}}
|comment={{{EnergyTechnologyDeploymentText|}}}
}}{{SetFeatureTemplate
|id=Electricity technologies
|featurePage=FeatureStructureEnergy
|selected={{{ElectricityTechnologyOption|}}}
|specific={{{ElectricityTechnology|}}}
|comment={{{ElectricityTechnologyText|}}}
}}{{SetFeatureTemplate
|id=Hydrogen production
|featurePage=FeatureStructureEnergy
|selected={{{HydrogenProductionOption|}}}
|specific={{{HydrogenProduction|}}}
|comment={{{HydrogenProductionText|}}}
}}{{SetFeatureTemplate
|id=Refined liquids
|featurePage=FeatureStructureEnergy
|selected={{{RefinedLiquidsOption|}}}
|specific={{{RefinedLiquids|}}}
|comment={{{RefinedLiquidsText|}}}
}}{{SetFeatureTemplate
|id=Refined gases
|featurePage=FeatureStructureEnergy
|selected={{{RefinedGasesOption|}}}
|specific={{{RefinedGases|}}}
|comment={{{RefinedGasesText|}}}
}}{{SetFeatureTemplate
|id=Heat generation
|featurePage=FeatureStructureEnergy
|selected={{{HeatGenerationOption|}}}
|specific={{{HeatGeneration|}}}
|comment={{{HeatGenerationText|}}}
}}{{SetFeatureTemplate
|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=;
|HasElectricityTechnology={{{ElectricityTechnology|}}}|+sep=;
|HasHydrogenProduction={{{HydrogenProduction|}}}|+sep=;
|HasRefinedLiquids={{{RefinedLiquids|}}}|+sep=;
|HasRefinedGases={{{RefinedGases|}}}|+sep=;
|HasHeatGeneration={{{HeatGeneration|}}}|+sep=;
|HasGridInfrastructure={{{GridInfrastructure|}}}|+sep=;
|HasPassengerTransportation={{{PassengerTransportation|}}}|+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.