Sjabloon:Bericht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
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|limit=1}} }}{{#if:{{#var:@img}}|[[{{#var:@img}}|link={{#ifeq:{{#show:{{#var:@img}}|?type}}|pdf|{{filepath:{{#explode:{{#var:@img}}|:|1}} }} }}]]}}</div><!--  
+
   --><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><!--  

Versie van 12 jan 2021 09:28