Difference between revisions of "CreateTopicTemplate"
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) (Created page with "=Sourcecode= {{Sourcecode |id=CreateTopicTemplate |lang=jinja |author=Tim Holzheim |since=2021/02/14 |text=<pre> {% set pagetitle = ""%} {% set pagetitle_prefix = "Template...") |
Tim Holzheim (talk | contribs) |
||
| Line 12: | Line 12: | ||
{% set property_properties = []%} | {% set property_properties = []%} | ||
{% for p in smw.query("[[Property topic::" + row.Topic +"]]|?Property sortPos = sortPos|sort= Property sortPos").values() %} | {% for p in smw.query("[[Property topic::" + row.Topic +"]]|?Property sortPos = sortPos|sort= Property sortPos").values() %} | ||
| − | {% property_properties.append(p.name) %} | + | {% property_properties = property_properties.append(p.name) %} |
{% endfor %} | {% endfor %} | ||
{% set topic_properties = []%} | {% set topic_properties = []%} | ||
{% for p in smw.query("[[Property topic::Concept:Topic]]|?Property name = name").values() %} | {% for p in smw.query("[[Property topic::Concept:Topic]]|?Property name = name").values() %} | ||
| − | {% | + | {% topic_properties = topic_properties.append(p.name) %} |
{% endfor %} | {% endfor %} | ||
<noinclude> | <noinclude> | ||
Revision as of 14:24, 14 February 2021
Sourcecode
| Sourcecode | |
|---|---|
| id | CreateTopicTemplate |
| lang | jinja |
| author | Tim Holzheim |
| since | 2021/02/14 |
| test | '"`UNIQ--pre-00000000-QINU`"'
|
| url | |