Difference between revisions of "CreateListOf"
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) |
Tim Holzheim (talk | contribs) |
||
Line 13: | Line 13: | ||
{% raw %}{{{% endraw %}#ask: [[Concept:{{ res.name}}]]|format=count{% raw %}}}{% endraw %} {{ res.pluralName }}: | {% raw %}{{{% endraw %}#ask: [[Concept:{{ res.name}}]]|format=count{% raw %}}}{% endraw %} {{ res.pluralName }}: | ||
− | {% raw %} {{ {% endraw %}#ask: [[Concept:{{ name }}]] | + | {% raw %} {{ {% endraw %}#ask: [[Concept:{{ res.name }}]] |
|mainlabel={{ res.name }} | |mainlabel={{ res.name }} | ||
− | {% for | + | {% for page in smw.query("[[Property topic::" + res.Topic +"]]").values() %} |
− | | ?{{ | + | | ?{{res.name}} {{ page.name }} = {{ page.name }} |
{%endfor%} | {%endfor%} | ||
− | |||
|order=ascending | |order=ascending | ||
| limit={% if res.listlimit %} {{ res.listlimit }} {% else %} 200 {% endif %} | | limit={% if res.listlimit %} {{ res.listlimit }} {% else %} 200 {% endif %} |
Revision as of 15:32, 9 February 2021
Sourcecode
Sourcecode | |
---|---|
id | CreateListOf |
lang | jinja |
author | Tim Holzheim |
since | 2021/02/09 |
test | '"`UNIQ--pre-00000000-QINU`"'
|
url |