Vorlage:Bauten dieses Jahres: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
− | <!-- Get the recordset in array format --> | + | <!-- Get the recordset in array format |
− | {{#ask:[[{{PAGENAME}}::+]] | + | -->{{#vardefine:recordset|{{#ask:[[{{PAGENAME}}::+]] |
|?{{PAGENAME}} | |?{{PAGENAME}} | ||
− | | format= | + | |?Gebäude |
+ | | format=array | ||
| sep=<RESULT> | | sep=<RESULT> | ||
− | }} | + | | mainlabel=- |
+ | }}}}<!-- Get article from which this result came | ||
+ | -->{{#vardefine:article|{{#explode:{{#var:recordset}}|<PROP>|-1}} }}<!-- | ||
+ | -->{{#vardefine:records|{{#replace:{{#var:recordset}}|<PROP>{{#var:article}}|}} }}<!-- | ||
+ | -->* {{#replace:{{#var:records}}|<MANY>| (siehe [[{{#var:article}}]]). <li> }} (siehe [[{{#var:article}}]]). | ||
+ | ---- | ||
+ | {{#var:recordset}} | ||
+ | ---- | ||
+ | {{#while: | ||
+ | |{{#ifexpr: {{#pos: {{#var:recordset}}|<PROP>}} | true }} | ||
+ | |{{#vardefine: property|{{#explode:{{#var:recordset}}|<PROP>|0}} }} | ||
+ | * {{#var:property}} | ||
+ | {{#vardefine: recordset | {{#replace:{{#var:recordset}} | {{#var:property}} |}} }} }} | ||
+ | * {{#var:recordset}} | ||
+ | ---- |
Version vom 23. Dezember 2012, 19:36 Uhr
- (siehe [[]]).