Template:EnergyTemplate: Difference between revisions
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: | ||
|HasResourceUse={{{ResourceUse|}}}|+sep=; | |HasResourceUse={{{ResourceUse|}}}|+sep=; | ||
|HasElectricityTechnology={{{ElectricityTechnology|}}}|+sep=; | |HasElectricityTechnology={{{ElectricityTechnology|}}}|+sep=; | ||
|HasConversionTechnology={{{ConversionTechnology|}}}|+sep=; | |HasConversionTechnology={{{ConversionTechnology|}}}|+sep=; | ||
|HasGridInfrastructure={{{GridInfrastructure|}}}|+sep=; | |HasGridInfrastructure={{{GridInfrastructure|}}}|+sep=; | ||
|HasTechnologySubstitution={{{TechnologySubstitution|}}}|+sep=; | |HasTechnologySubstitution={{{TechnologySubstitution|}}}|+sep=; | ||
|HasEnergyServiceSector={{{EnergyServiceSector|}}}|+sep=; | |HasEnergyServiceSector={{{EnergyServiceSector|}}}|+sep=; | ||
}}</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.