Vorlage:Bauten dieses Jahres: Unterschied zwischen den Versionen

Aus FürthWiki

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 13: Zeile 13:
{{#var:recordset}}
{{#var:recordset}}
----
----
<{{#vardefine: start | {{#explode: {{#var: recordset}} | <PROP> | 0}} }}
{{#vardefine: start | {{#explode: {{#var: recordset}} | <PROP> | 0}} }}
* Good thing: {{#var: start}}  
* Good thing: {{#var: start}}  
{{#vardefine: end | {{#replace: {{#var: recordset}} | {{#var: start}} }} }}  
{{#vardefine: end | {{#replace: {{#var: recordset}} | {{#var: start}} }} }}  
Zeile 28: Zeile 28:
   |  
   |  
{{#vardefine: start | {{#explode: {{#var: recordset}} | <PROP> | 0}} }}
{{#vardefine: start | {{#explode: {{#var: recordset}} | <PROP> | 0}} }}
{{#vardefine: end | {{#replace: {{#var: recordset}} | {{#var: start}} }} }}
{{#vardefine: recordset | {{#replace: {{#var: recordset}} | {{#var: start}} }} }}
{{#vardefine: property | {{#replace: {{#explode: {{#var: end}} | <RESULT> | 0}} | <PROP> | }} }}
{{#vardefine: property | {{#replace: {{#explode: {{#var: recordset}} | <RESULT> | 0}} | <PROP> | }} }}
{{#vardefine: element | {{#explode: {{#var: start}} | <MANY> | 0}} }}
{{#vardefine: element | {{#explode: {{#var: start}} | <MANY> | 0}} }}
<li> {{#var: element}} }}  
<li> {{#var: element}} }}  
<li> {{#var: end}}  
<li> {{#var: recordset}}  
</ul>
</ul>
----
----

Version vom 23. Dezember 2012, 20:55 Uhr

{{#vardefine:recordset|}}{{#vardefine:article|{{#var:recordset}} }}{{#vardefine:records|{{#var:recordset}} }}* {{#var:records}} (siehe [[{{#var:article}}]]).


{{#var:recordset}}


{{#vardefine: start | {{#var: recordset}} }}

  • Good thing: {{#var: start}}

{{#vardefine: end | {{#var: recordset}} }}

  • Just the rest of the fest: {{#var: end}}

{{#vardefine: property | {{#var: end}} }}

  • This is the extracted property: {{#var: property}}

{{#vardefine: element | {{#var: start}} }}

  • An element: {{#var: element}}

ALL OF THE PROPERTIES:

    {{#while: | | {{#vardefine: start | {{#var: recordset}} }} {{#vardefine: recordset | {{#var: recordset}} }} {{#vardefine: property | {{#var: recordset}} }} {{#vardefine: element | {{#var: start}} }}
  • {{#var: element}} }}
  • {{#var: recordset}}

ALL OF THE ELEMENTS: Vorlage:Bulletlist MANY


{{#vardefine: end | {{#var: end}} }}

  • Removed the prop from end: {{#var: end}}