Sandbox: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
Query: | Query: | ||
{{#ask:[[Category: | {{#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
- TIMER model (version TIMER 3.2)
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...
- ↑ Hier staat de footnote text