Template:ExportTablesTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
m (Text replace - "Scenario drivers" to "Drivers")
 
(32 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
|}}
    | ? HasShortDescription = Description
{{#switch:{{{type|}}}
    | ? HasSource= Source
|driver component
    | ?-HasInputVar = Use 
|pressure component
    | ? HasValuesBasedOn= Based on
|state component
    | ? HasReference= Reference
|impact component
    | ? DriverGroup = Driver group
|response component =
    | link = none
{{TableIntroTemplate|20%|Component|80%|Policy key question }}
    | sort=DriverGroup
{{#arraymap:
    | format=CSV
{{#ask:[[FrameworkElementType::{{{type|}}}]]
    | limit=100
|link=none
    }}
|format=list
|<!-- component tables -->
|sep=;
===IMAGE model drivers and input variables===
}}
Nr model variables is: {{#ask:[[Category:Variable]][[-HasInputVar::{{{page|}}}]]|format = count}}
|;|xx
{{#ifeq:{{#ask:[[Category:Variable]][[-HasInputVar::{{{page|}}}]]|format = count}}|0||
|<tr class="StandardTableRow" >
{{#ask:[[Category:Variable]][[-HasInputVar::{{{page|}}}]]
<td class="StandardTableCell">[[xx]]</td>
  |mainlabel=IMAGE model drivers and variables
<td class="StandardTableCell">
  |?HasShortDescription=Description
{{#ask:[[PQBelongsToComponent::xx]]
  |?-HasOutputVar=Source
|mainlabel=-
  |link=none
|? HasDescription=
  |sort=HasVariableType
|format=ul
  |format=CSV
}}
}}
</td></tr>
}}
| }}</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