Sjabloon:Bericht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 34: Regel 34:
 
   --><div><b>Aanvullende informatie:</b></div><!--  
 
   --><div><b>Aanvullende informatie:</b></div><!--  
 
  --><div>{{#ifeq:{{#urlget:mode}}|edit|<!--   
 
  --><div>{{#ifeq:{{#urlget:mode}}|edit|<!--   
--><div id="links-input-wrapper">{{#arraymap:{{{Links|}}}|,|@@@|<div class="d-flex">{{#tag:wsfield||type=text|name=Links[]|class=form-control mb-4|value=@@@}}{{#tag:wsfield|{{fa|times}}|type=button|class=btn mb-4|onclick=removeLink(this)}}</div>|}}</div><wsfield type="button" class="btn pull-right"  onclick="addLink()" >{{fa|plus}}</wsfield></div>{{#tag:html|<script>
+
--><div id="links-input-wrapper">{{#arraymap:{{{Links|}}}|,|@@@|<div class="d-flex">{{#tag:wsfield||type=text|name=Links[]|class=form-control mb-4|value=@@@}}{{#tag:wsfield|{{fa|times}}|type=button|class=btn mb-4|onclick=removeLink(this)}}</div>|}}</div><wsfield type="button" class="btn pull-right"  onclick="addLink()" >{{fa|plus}}</wsfield>{{#tag:html|<script>
 
function addLink(){
 
function addLink(){
 
   var newlinkinput = document.createElement('div');
 
   var newlinkinput = document.createElement('div');
Regel 45: Regel 45:
 
}
 
}
 
</script>}}|{{#arraymap:{{{Links|}}}|,|@@@|{{#widget:link|type=a|text={{#explode:@@@|<nowiki> </nowiki>|1}}|href={{#explode:@@@|<nowiki> </nowiki>|0}}|class=red d-block}} |}} }}<!--  
 
</script>}}|{{#arraymap:{{{Links|}}}|,|@@@|{{#widget:link|type=a|text={{#explode:@@@|<nowiki> </nowiki>|1}}|href={{#explode:@@@|<nowiki> </nowiki>|0}}|class=red d-block}} |}} }}<!--  
  --></div><!--  
+
  --></div></div><!--  
 
  --><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}}|[[{{#var:@img}}|link=]]}}{{#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

Versie van 9 nov 2020 16:00

Aanvullende informatie:
{{#arraymap:|,|@@@| |}}