Difference between revisions of "CreateListOf"
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) |
Tim Holzheim (talk | contribs) |
||
| Line 8: | Line 8: | ||
|text=<pre> | |text=<pre> | ||
| − | == {{ | + | == {{ res.pluralName }} == |
| − | {% raw %}{{{% endraw %}#forminput:form={{ | + | {% raw %}{{{% endraw %}#forminput:form={{ res.name }}|button text=add {{ res.name }}{% raw %}}}{% endraw %} |
| − | {% raw %}{{{% endraw %}#ask: [[Concept:{{ | + | {% raw %}{{{% endraw %}#ask: [[Concept:{{ res.name}}]]|format=count{% raw %}}}{% endraw %} {{ res.pluralName }}: |
{% raw %} {{ {% endraw %}#ask: [[Concept:@topic.name]] | {% raw %} {{ {% endraw %}#ask: [[Concept:@topic.name]] | ||
| − | |mainlabel={{ | + | |mainlabel={{ res.name }} |
| − | {% for property in wikiclient.query("[[Property topic::" + | + | {% for property in list(wikiclient.query("[[Property topic::" + res.name +"]]").keys()) %} |
| − | | ?{{ | + | | ?{{ res.name }} {{ property }} = {{ property }} |
{%endfor%} | {%endfor%} | ||
| − | |sort={{ | + | |sort={{ res.name }} |
|order=ascending | |order=ascending | ||
| − | | limit={% if | + | | limit={% if res.listlimit %} {{ res.listlimit }} {% else %} 200 {% endif %} |
{% raw %} }} {% endraw %} | {% raw %} }} {% endraw %} | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width:1024px"> | <div class="toccolours mw-collapsible mw-collapsed" style="width:1024px"> | ||
| − | [[:Category:{{ | + | [[:Category:{{ res.name }}]] |
</pre> | </pre> | ||
|storemode=property | |storemode=property | ||
}} | }} | ||
=Freitext= | =Freitext= | ||
Revision as of 11:28, 9 February 2021
Sourcecode
| Sourcecode | |
|---|---|
| id | CreateListOf |
| lang | jinja |
| author | Tim Holzheim |
| since | 2021/02/09 |
| test | '"`UNIQ--pre-00000000-QINU`"'
|
| url | |