Sjabloon:Bericht: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 33: | Regel 33: | ||
--><!-- | --><!-- | ||
--><div class="grid-img mt-5"><!-- | --><div class="grid-img mt-5"><!-- | ||
− | --><div class="image-wrapper">{{#vardefine:@img|{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|link=none| | + | --><div class="image-wrapper">{{#vardefine:@img|{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|sort=Modification date|limit=1|link=none|order=desc|format=array}} }}{{#if:{{#var:@img}}|[[{{#var:@img}}|link={{#ifeq:{{#show:{{#var:@img}}|?type}}|pdf|{{filepath:{{#explode:{{#var:@img}}|:|1}} }} }}]]}}</div><!-- |
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- |