Vorlage:Bauten dieses Jahres: Unterschied zwischen den Versionen

Aus FürthWiki

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 6: Zeile 6:
| sep=<RESULT>
| sep=<RESULT>
| mainlabel=-
| 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>|&nbsp;(siehe [[{{#var:article}}]]). <li> }}&nbsp;(siehe [[{{#var:article}}]]).
----
{{#var:recordset}}
----
{{#vardefine: start | {{#explode: {{#var: recordset}} | <PROP> | 0}} }}
* Good thing: {{#var: start}}
{{#vardefine: end | {{#replace: {{#var: recordset}} | {{#var: start}} }} }}
* Just the rest of the fest: {{#var: end}}
{{#vardefine: property | {{#replace: {{#explode: {{#var: end}} | <RESULT> | 0}} | <PROP> | }} }}
* This is the extracted property: {{#var: property}}
{{#vardefine: element | {{#explode: {{#var: start}} | <MANY> | 0}} }}
* An element: {{#var: element}}
----
ALL OF THE PROPERTIES:
{{#vardefine: property | }}
{{#vardefine: property | }}
{{#while:
{{#while:
Zeile 32: Zeile 16:
{{#vardefine: property | {{#replace: {{#explode: {{#var: recordset}} | <RESULT> | 0}} | <PROP> | }} }}
{{#vardefine: property | {{#replace: {{#explode: {{#var: recordset}} | <RESULT> | 0}} | <PROP> | }} }}
{{Bulletlist MANY | {{#var: start}} | {{#var: property}} }} }}
{{Bulletlist MANY | {{#var: start}} | {{#var: property}} }} }}
<!--<li> {{#var: start}} -- {{#var: property}} }} -->
----
ALL OF THE ELEMENTS:
{{Bulletlist MANY | {{#var: start}} | {{#var: property}} }}
----
{{#vardefine: end | {{#replace: {{#var: end}} | {{#explode: {{#var: end}} | <RESULT> | 0}}<RESULT> | }} }}
* Removed the prop from end: {{#var: end}}