Zeile 1: |
Zeile 1: |
− | <!-- Get the recordset in array format | + | <noinclude>Diese Vorlage wird in den Chronikseiten verwendet, um Gebäude Baujahr und Abbruchjahr zu automatisieren.</noinclude><!-- |
− | -->{{#vardefine:recordset|{{#ask:[[{{PAGENAME}}::+]] | + | --><includeonly>{{Chronikeintrag|Gebäude}} |
− | |?{{PAGENAME}} | + | {{#ask:[[:+]] [[Baujahr::{{PAGENAME}}]] |
− | |?Gebäude | + | |?Pronomen |
− | | format=array | + | |?Objekt |
− | | sep=<RESULT> | + | |?Architekt |
− | | mainlabel=- | + | |template=Baujahr |
− | }}}}
| + | |format=ul}}<!-- |
− | <!-- Get article from which this result came | + | -->{{#ask:[[:+]] [[Abbruchjahr::{{PAGENAME}}]] |
− | -->{{#vardefine:article|{{#explode:{{#var:recordset}}|<PROP>|-1}} }}<!-- | + | |?Pronomen |
− | -->{{#vardefine:records|{{#replace:{{#var:recordset}}|<PROP>{{#var:article}}|}} }}<!--
| + | |?Objekt |
− | -->
| + | |?Architekt |
− | ----
| + | |template=Abbruchjahr |
| + | |format=ul}}</includeonly> |