Sjabloon:Bericht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 1: Regel 1:
<div class="main-wrapper">{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}__NOTOC__ __NOTITLE__<!--
+
<div class="main-wrapper">{{#ifeq:{{#urlget:mode}}|edit|<wsform action="addToWiki"> }}{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}__NOTOC__ __NOTITLE__<!--
 
--><div class="d-flex justify-content-end align-items-center">{{#ifeq:{{#urlget:mode}}|edit|Layout {{#tag:html|<select  name="Layout" id="multi-select3"  onchange="$('.bericht-grid').attr('class', 'bericht-grid '+this.value);console.log(this.value)" >
 
--><div class="d-flex justify-content-end align-items-center">{{#ifeq:{{#urlget:mode}}|edit|Layout {{#tag:html|<select  name="Layout" id="multi-select3"  onchange="$('.bericht-grid').attr('class', 'bericht-grid '+this.value);console.log(this.value)" >
 
   {{#arraymap:layout1, layout2|,|@@@|<option value="@@@">@@@</option>|}}
 
   {{#arraymap:layout1, layout2|,|@@@|<option value="@@@">@@@</option>|}}
Regel 37: Regel 37:
 
  --></div><!--
 
  --></div><!--
 
--></div><!--  
 
--></div><!--  
--></div>{{#set:Class=Bericht
+
-->{{#ifeq:{{#urlget:mode}}|edit|</wsform> }}</div>{{#set:Class=Bericht
 
|Domein={{{Domein|}}}
 
|Domein={{{Domein|}}}
 
|Datum={{{Datum|}}}
 
|Datum={{{Datum|}}}

Versie van 6 nov 2020 11:15