Template:ExportTablesTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
m (Text replace - "Scenario drivers" to "Drivers")
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{{type|}}}
<includeonly>
|driver component = <h2>Driver component</h2>
<h2>{{{page|}}}</h2>
|pressure component = <h2>Pressure component</h2>
{{#ifeq:{{{page|}}}|Drivers
|state component = <h2>State components</h2>
|<!-- driver tables -->
|impact component = <h2>Impact components</h2>
  {{#ask:[[Category:Variable]][[HasVariableType::driver]]
|response component = <h2>Policy response  components</h2>
    | mainlabel=Driver
|<h2>Other </h2>
    | ? HasShortDescription = Description
    | ? HasSource= Source
    | ?-HasInputVar = Use 
    | ? HasValuesBasedOn= Based on
    | ? HasReference= Reference
    | ? DriverGroup = Driver group
    | link = none
    | sort=DriverGroup
    | format=CSV
    | limit=100
    }}
|<!-- component tables -->
===IMAGE model drivers and input variables===
Nr model variables is: {{#ask:[[Category:Variable]][[-HasInputVar::{{{page|}}}]]|format = count}}
{{#ifeq:{{#ask:[[Category:Variable]][[-HasInputVar::{{{page|}}}]]|format = count}}|0||
{{#ask:[[Category:Variable]][[-HasInputVar::{{{page|}}}]]
  |mainlabel=IMAGE model drivers and variables
  |?HasShortDescription=Description
  |?-HasOutputVar=Source
  |link=none
  |sort=HasVariableType
  |format=CSV
}}
}}
{{#ask:[[Category:KeyPolicyQuestion]][[PQBelongsToComponent::<q> [[FrameworkElementType::{{{type|}}}]]</q>]]
|mainlabel=-
|?PQBelongsToComponent
|? HasDescription=
|userparam=2col
|format=template
|template=TableStandardRowTemplate
|intro={{TableIntroTemplate|20%|Component|80%|Policy key question}}
|outro=</table>
}}
}}
}}
===External datasets===
nr external parameters is:{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{{page|}}}]]|format = count}}
{{#ifeq:{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{{page|}}}]]|format = count}}|0||
{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{{page|}}}]]
  |mainlabel=External datasets
  |?HasShortDescription=Description
  |?HasSource=Source
  |?HasValuesBasedOn = Based on
  |? hasReference= Reference
  |format=csv
}}
}}
===Outputs===
nr of outputs is: {{#ask:[[Category:Variable]][[-HasOutputVar::{{{page|}}}]]|format = count}}
{{#ifeq:{{#ask:[[Category:Variable]][[-HasOutputVar::{{{page|}}}]]|format = count}}|0||
{{#ask:[[Category:Variable]][[-HasOutputVar::{{{page|}}}]]
  |mainlabel= IMAGE model variables
  |?HasShortDescription=Description
  |?-HasInputVar=Use
  |sort=HasVariableType
  |order=desc
  |link=none
  |format=csv
}}
}}
<!--
===Policy interventions===
Nr of policy interventions: {{#ask:[[HasEffectOnComponent::{{{page|}}}]] |format=Count}}
{{#ifeq:{{#ask:[[HasEffectOnComponent::{{{page|}}}]] |format=Count}}|0||
{{#ask:[[Category:PolicyIntervention]][[Has subobject::<q>[[HasEffectOnComponent::{{{page|}}}]] </q>]]
  |mainlabel=Policy Intervention
  |? HasDescription= Description
  |? HasReference=  Reference
  |? HasComponent=Implementing component
  |link=none
  |format=CSV
}}
{{#ask:[[HasEffectOnComponent::{{{page|}}}]]
|mainlabel=-
|? HasEffect= parent
|? HasEffectDescription
|? HasReference=  Reference
|link=none
|format=CSV
}}
}}
}}
--></includeonly>

Latest revision as of 16:50, 16 May 2014