Vorlage:Bauten dieses Jahres: Unterschied zwischen den Versionen

Aus FürthWiki

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}}

Version vom 23. Dezember 2012, 21:51 Uhr

{{#vardefine:recordset| }} {{#vardefine: property | }} {{#while:

 | 
 | 

{{#vardefine: start | {{#var: recordset}} }} {{#vardefine: recordset | {{#var: recordset}} }} {{#vardefine: start | {{#var: start}} }} {{#vardefine: property | {{#var: recordset}} }} Vorlage:Bulletlist MANY }}