Sjabloon:Bericht: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 29: | Regel 29: | ||
--></div><!-- | --></div><!-- | ||
--><div class="grid-img"><!-- | --><div class="grid-img"><!-- | ||
− | --><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}}]]|link=none}} }}{{#if:{{{Image|}}}{{#var:@img}}|[[{{{Image|}}}{{#var:@img}}|link=]]}}{{#ifeq:{{#urlget:mode}}|edit|{{#widget:File upload |
|preview=true | |preview=true | ||
|caption=false | |caption=false | ||
Regel 37: | Regel 37: | ||
|filepagetemplate=Bericht file | |filepagetemplate=Bericht file | ||
|filepageparameters=Class:Bericht file;Domein:{{SERVERNAME}};Bericht:{{FULLPAGENAME}} | |filepageparameters=Class:Bericht file;Domein:{{SERVERNAME}};Bericht:{{FULLPAGENAME}} | ||
− | |filename={{#if:{{#var:@img}}|{{#var:@img}}|{{#time:U|now}}<FILENAME>}} | + | |filename={{#if:{{#var:@img}}|{{#explode:{{#var:@img}}|:|1}}|{{#time:U|now}}<FILENAME>}} |
}} }}</div><!-- | }} }}</div><!-- | ||
--></div><!-- | --></div><!-- |