Template:ExportTablesTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
m (Text replace - "Scenario drivers" to "Drivers")
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<h2>{{{page|}}}</h2>
{{#ifeq:{{{page|}}}|Drivers
|<!-- driver tables -->
  {{#ask:[[Category:Variable]][[HasVariableType::driver]]
    | mainlabel=Driver
    | ? 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|}}}]]
{{#ask:[[Category:Variable]][[-HasInputVar::{{{page|}}}]]
   |mainlabel=IMAGE model drivers and variables
   |mainlabel=IMAGE model drivers and variables
   |?HasDescription=Description
   |?HasShortDescription=Description
   |?-HasOutputVar=Source
   |?-HasOutputVar=Source
  |?HasVariableType=Type
   |link=none
   |link=none
   |sort=HasVariableType
   |sort=HasVariableType
  |filename={{{page|}}}_Inputs
   |format=CSV
   |format=CSV
}}
}}
}}
}}
===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|}}}]]
{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{{page|}}}]]
   |mainlabel=External datasets
   |mainlabel=External datasets
   |?HasDescription=Description
   |?HasShortDescription=Description
   |?HasSource=Source
   |?HasSource=Source
   |?HasValuesBasedOn = Based on
   |?HasValuesBasedOn = Based on
  |? hasReference= Reference
   |format=csv
   |format=csv
  |filename={{{page|}}}_External
}}
}}
}}
===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|}}}]]
{{#ask:[[Category:Variable]][[-HasOutputVar::{{{page|}}}]]
   |mainlabel= IMAGE model variables
   |mainlabel= IMAGE model variables
   |?HasDescription=Description
   |?HasShortDescription=Description
   |?HasVariableType=Use
   |?-HasInputVar=Use
   |sort=
   |sort=HasVariableType
  |order=desc
   |link=none
   |link=none
  |format=template
   |format=csv
   |format=csv
  |filename={{{page|}}}_Outputs
}}
}}
</includeonly>
}}
 
<!--
===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