Template:Macro-economyTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
{{#formlink:form=Macro-economyForm|link text=edit Macro-economic info|link type=button|target={{PAGENAME}} }}
{{#formlink:form=Macro-economyForm|link text=edit Macro-economic info|link type=button|target={{PAGENAME}} }}
{{DisplayMacro-economyTemplate|model={{PAGENAME}} }}
{{DisplayMacro-economyTemplate|model={{PAGENAME}} }}
{{#subobject:Economic sectors
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Economic sectors
|HasDefaultOption={{#show:Property:HasEconomicSectorOption|? Allows value=| sep=;}}|+sep=;
|HasSelectedOption={{{EconomicSectorOption|}}}|+sep=;
|HasSpecificOption={{{EconomicSector|}}}|+sep=;
|HasAttributeComment={{{EconomicSectorText|}}}
}}
{{#subobject:Cost measures
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Cost measures
|HasDefaultOption={{#show:Property:HasCostMeasureOption|? Allows value=| sep=;}}|+sep=;
|HasSelectedOption={{{CostMeasureOption|}}}|+sep=;
|HasSpecificOption={{{CostMeasure|}}}|+sep=;
|HasAttributeComment={{{CostMeasureText|}}}
}}
{{#subobject:Trade
|IsAttributeOfModel={{PAGENAME}}
|HasAttributeLabel=Trade
|HasDefaultOption={{#show:Property:HasCostMeasureOption|? Allows value=| sep=;}}|+sep=;
|HasSelectedOption={{{TradeOption|}}}|+sep=;
|HasSpecificOption={{{Trade|}}}|+sep=;
|HasAttributeComment={{{TradeText|}}}
}}
{{#set:
{{#set:
HasEconomicSectorOption={{{EconomicSectorOption|}}}|+sep=;
HasEconomicSector={{{EconomicSector|}}}|+sep=;
|HasEconomicSector={{{EconomicSector|}}}|+sep=;
|HasEconomicSectorText={{{EconomicSectorText|}}}
|HasCostMeasureOption={{{CostMeasureOption|}}}|+sep=;
|HasCostMeasure={{{CostMeasure|}}}|+sep=;
|HasCostMeasure={{{CostMeasure|}}}|+sep=;
|HasCostMeasureText={{{CostMeasureText|}}}
|HasTradeOption={{{TradeOption|}}}|+sep=;
|HasTrade={{{Trade|}}}|+sep=;
|HasTrade={{{Trade|}}}|+sep=;
|HasTradeText={{{TradeText|}}}
}}</includeonly>
}}</includeonly>

Revision as of 12:36, 27 August 2016

This is the "Macro-economicTemplate" template. It should be called in the following format:

{{Macro-economyTemplate
|EconomicSectorOption=
|EconomicSector=
|EconomicSectorText=
|CostMeasureOption=
|CostMeasure=
|CostMeasureText=
|TradeOption=
|Trade=
|TradeText=
}}

Edit the page to see the template text.