Difference between revisions of "CreateListOf"

From OPENRESEARCH th copy Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
{% raw %} {{ {% endraw %}#ask: [[Concept:{{ res.name }}]]
 
{% raw %} {{ {% endraw %}#ask: [[Concept:{{ res.name }}]]
 
|mainlabel={{ res.name }}
 
|mainlabel={{ res.name }}
{% for page in smw.query("[[Property topic::" + res.Topic +"]]").values() %}
+
{% for page in smw.query("[[Property topic::" + res.Topic +"]]|? Property name = name").values() %}
 
| ?{{res.name}} {{ page.name }} = {{ page.name }}  
 
| ?{{res.name}} {{ page.name }} = {{ page.name }}  
 
{%endfor%}
 
{%endfor%}

Revision as of 16:30, 9 February 2021

Sourcecode

Sourcecode
edit
id  CreateListOf
lang  jinja
author  Tim Holzheim
since  2021/02/09
test  
'"`UNIQ--pre-00000000-QINU`"'
url  

Freitext