Sjabloon:Bericht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 28: Regel 28:
 
   --><h2>{{#ifeq:{{#urlget:mode}}|edit|<wsfield type="text" class="form-control" placeholder="Titel" name="Titel" value="{{{Titel|}}}"/>|{{{Titel|}}} }}</h2><!--  
 
   --><h2>{{#ifeq:{{#urlget:mode}}|edit|<wsfield type="text" class="form-control" placeholder="Titel" name="Titel" value="{{{Titel|}}}"/>|{{{Titel|}}} }}</h2><!--  
 
  --></div><!--
 
  --></div><!--
  --><div class="grid-bericht">{{#tool:get parameters |{{PAGEID}} |$params}}{{#caprint:$params }}<!--  
+
  --><div class="grid-bericht">{{#tool:get parameters |{{PAGEID}} |$params}}{{#caprint:$params[Bericht][Bericht]||true }}<!--  
 
-->{{#ifeq:{{#urlget:mode}}|edit|<wsfield type="textarea"  name="Samenvatting"  >{{{Samenvatting|}}}</wsfield><!-- {{#widget:editor|html={{{Bericht|}}} }} --><wsfield type="textarea" class="tinyframe" name="Bericht"  >{{#tool:get parameters |{{PAGEID}} |$params}}{{#caprint:$params[Bericht][Bericht]||true }} </wsfield>|
 
-->{{#ifeq:{{#urlget:mode}}|edit|<wsfield type="textarea"  name="Samenvatting"  >{{{Samenvatting|}}}</wsfield><!-- {{#widget:editor|html={{{Bericht|}}} }} --><wsfield type="textarea" class="tinyframe" name="Bericht"  >{{#tool:get parameters |{{PAGEID}} |$params}}{{#caprint:$params[Bericht][Bericht]||true }} </wsfield>|
 
   {{{Bericht|}}} }}<!--  
 
   {{{Bericht|}}} }}<!--  
Regel 34: Regel 34:
 
  --><!--  
 
  --><!--  
 
  --><div class="grid-img"><!--  
 
  --><div class="grid-img"><!--  
   --><div class="image-wrapper">{{#vardefine:@img|{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|link=none|limit=1}} }}{{#if:{{#var:@img}}|}}{{#ifeq:{{#urlget:mode}}|edit|{{#widget:File upload
+
   --><div class="image-wrapper">{{#vardefine:@img|{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|link=none|limit=1}} }}{{#if:{{#var:@img}}|[[{{#var:@img}}|link=]]}}{{#ifeq:{{#urlget:mode}}|edit|{{#widget:File upload
 
|preview=true
 
|preview=true
 
|caption=false
 
|caption=false

Versie van 16 nov 2020 19:07