Difference between revisions of "CreateListOf"

From OPENRESEARCH th copy Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
|text=<pre>
 
|text=<pre>
  
== {{ context["rows"].pluralName }} ==
+
== {{ rows.pluralName }} ==
{% raw %}{{{% endraw %}#forminput:form={{ context["rows"].name }}|button text=add {{ context["rows"].name }}{% raw %}}}{% endraw %}
+
{% raw %}{{{% endraw %}#forminput:form={{ rows.name }}|button text=add {{ rows.name }}{% raw %}}}{% endraw %}
{% raw %}{{{% endraw %}#ask: [[Concept:{{ context["rows"].name}}]]|format=count{% raw %}}}{% endraw %} {{ context["rows"].pluralName }}:
+
{% raw %}{{{% endraw %}#ask: [[Concept:{{ rows.name}}]]|format=count{% raw %}}}{% endraw %} {{ rows.pluralName }}:
  
 
{% raw %} {{ {% endraw %}#ask: [[Concept:@topic.name]]
 
{% raw %} {{ {% endraw %}#ask: [[Concept:@topic.name]]
|mainlabel={{ context["rows"].name }}
+
|mainlabel={{ rows.name }}
{% for property in context["wikiclient"].query("[[Property topic::" + context["rows"].name +"]]").keys() %}
+
{% for property in context["wikiclient"].query("[[Property topic::" + rows.name +"]]").keys() %}
| ?{{ context["rows"].name }} {{ property }} = {{ property }}  
+
| ?{{ rows.name }} {{ property }} = {{ property }}  
 
{%endfor%}
 
{%endfor%}
|sort={{ context["rows"].name }}
+
|sort={{ rows.name }}
 
|order=ascending
 
|order=ascending
| limit={% if context["rows"].listlimit %} {{ context["rows"].listlimit }} {% else %} 200 {% endif %}
+
| limit={% if rows.listlimit %} {{ rows.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:{{ context["rows"].name }}]]
+
[[:Category:{{ rows.name }}]]
 
</pre>
 
</pre>
 
|storemode=property
 
|storemode=property
 
}}
 
}}
 
=Freitext=
 
=Freitext=

Revision as of 12:16, 9 February 2021

Sourcecode

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

Freitext