Sandbox: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:


Query:
Query:
{{#ask:[[Category:Reference]][[-HasKeyReference::IMAGE framework summary]] }}
{{#ask:[[IsImplementationOf::Energy supply]]|link=none|sep=;}}
 
 
 
Energy supply{{#arraymap:
  {{#ask:[[IsImplementationOf::Energy supply]]|link=none|sep=;}}
  |;|yy
  |{{#arraymap: {{#ask:[[Category:ModelVersion]][[IsVersionOf::yy]]|link=none|sep=;}}
    |;|xx
    |{{#ifeq:{{#ask:[[IsCurrentVersion::true]][[IsVersionOf::yy]]|link=none}}|xx
      |<ul><li>[[yy]] (version {{#ask:[[xx]]|format=list}})</li></ul>
      {{#ask:[[Category:AggregatedComponent]][[-IsImplementationOf::yy]]
        |intro=Aggregated component:|format=ul
      }}{{#ask:[[Category:Component]][[-IsImplementationOf::yy]]
          |intro=Components:|format=ul}}
    |}}   
  |}}
| and }}


Query  with chain:
Query  with chain:

Revision as of 10:42, 11 March 2020

Query:

TIMER model


Energy supply

Aggregated component:

Components:

Query with chain:

TIMER 3.0 archive.pdf, IMAGE land management 3.0 archive.pdf



[Located in.Capital of::Foo])

footnote[1] Hoe werkt dat hier?

<syntaxhighlight lang="python3" line="1">

   def open_stdout_file(self, prefix): 
       try:
           fn = prefix + self._metavar.variable + ".txt"              
           fp = os.path.join(self._pp_logdir,"stdout", fn)
           stdout_file = open(fp,"w")
           return stdout_file
       
       except Exception:
           raise

</syntaxhighlight>

dit is de editor functie working

de parameter voor de url = veaction=edit...

Template:Reflist

  1. Hier staat de footnote text