Sjabloon:Bericht: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 28: | Regel 28: | ||
-->{{#ifeq:{{#urlget:mode}}|edit| |<ul>{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|?Caption|?Type|link=none|format=complexarray|name=@images }}{{#camap:@images|@@@|{{#switch:@@@[Type][fulltext]|Pdf=<li class="red">{{#widget:link|type=a|text={{#if:@@@[Caption]|@@@[Caption]|@@@[catitle]}}|target=blank|href={{filepath:{{#replace:@@@[catitle]|Bestand:|}} }} |class=red}}</li>}} |}} </ul>}}<!-- | -->{{#ifeq:{{#urlget:mode}}|edit| |<ul>{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|?Caption|?Type|link=none|format=complexarray|name=@images }}{{#camap:@images|@@@|{{#switch:@@@[Type][fulltext]|Pdf=<li class="red">{{#widget:link|type=a|text={{#if:@@@[Caption]|@@@[Caption]|@@@[catitle]}}|target=blank|href={{filepath:{{#replace:@@@[catitle]|Bestand:|}} }} |class=red}}</li>}} |}} </ul>}}<!-- | ||
--></div><!-- | --></div><!-- | ||
− | --><div class="grid-img"> | + | --><div class="grid-img"><!-- |
− | --><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 | + | --><div class="image-wrapper">{{#vardefine:@img|{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|link=none}} }}{{#var:@img}}{{#if:{{{Image|}}}{{#var:@img}}|[[{{{Image|}}}{{#var:@img}}|link=]]}}{{#ifeq:{{#urlget:mode}}|edit|{{#widget:File upload |
|preview=true | |preview=true | ||
|caption=false | |caption=false |