Sjabloon:Vergadering form: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
 
(Een tussenliggende versie door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
 
<div class="main-wrapper"><!--  
 
<div class="main-wrapper"><!--  
 
  --><wsform action="addToWiki" ><!--  
 
  --><wsform action="addToWiki" ><!--  
  --><wscreate mwtemplate="Vergadering" mwwrite="{{FULLPAGENAME}}" />__NOTOC__ __NOTITLE__<!--
+
  --><wscreate mwtemplate="Vergadering" mwwrite="{{FULLPAGENAME}}" /><!--{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}-->__NOTOC__ __NOTITLE__<!--
 
--><div class="d-flex justify-content-end align-items-center"><!--  
 
--><div class="d-flex justify-content-end align-items-center"><!--  
 
--><wsfield type="hidden"  name="Pagename" value="{{FULLPAGENAME}}"  /><!--  
 
--><wsfield type="hidden"  name="Pagename" value="{{FULLPAGENAME}}"  /><!--  
Regel 29: Regel 29:
 
  --></div><!--
 
  --></div><!--
 
  --><div class="grid-bericht"><!--  
 
  --><div class="grid-bericht"><!--  
--><h2>Agenda</h2>{{#tool:get parameters |{{PAGEID}} |$params}}{{#tag:html|<textarea class="tinyframe" name="Agenda"  >{{#caprint:$params[Agenda][Agenda]||true }} </textarea>}}
+
--><h2>Agenda</h2>{{#tool:get parameters |{{PAGEID}} |$params}}{{#tag:html|<textarea class="tinyframe" name="Agenda"  >{{#caprint:$params[Vergadering][Agenda]||true }} </textarea>}}
<h2>Verslag</h2>{{#tool:get parameters |{{PAGEID}} |$params}}{{#tag:html|<textarea class="tinyframe" name="Verslag"  >{{#caprint:$params[Verslag][Verslag]||true }} </textarea>}}<!--  
+
<h2>Verslag</h2>{{#tool:get parameters |{{PAGEID}} |$params}}{{#tag:html|<textarea class="tinyframe" name="Verslag"  >{{#caprint:$params[Vergadering][Verslag]||true }} </textarea>}}<!--  
 
  --></div><!--
 
  --></div><!--
 
  --><!--  
 
  --><!--  
 +
--><div class="grid-img" style="min-height: 200px;"><!--
 +
  --><div class="image-wrapper">{{#vardefine:@img|{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|link=none|limit=1}} }}{{#if:{{#var:@img}}|[[{{#var:@img}}|link=]]}}{{#widget:File upload
 +
|preview=true
 +
|caption=false
 +
|type=png
 +
|drop=true
 +
|button=<div class="btn">{{fa|upload}}</div>
 +
|filepagetemplate=Bericht file
 +
|filepageparameters=Class:Bericht file;Domein:{{SERVERNAME}};Bericht:{{FULLPAGENAME}}
 +
|filename={{#if:{{#var:@img}}|{{#explode:{{#explode:{{#var:@img}}|:|1}}|.|0}}|{{#time:U|now}}<FILENAME>}}
 +
}}{{#if:{{#var:@img}}|<wsfield type="button" onclick="removeFile(this, '{{#var:@img}}')" class="btn remove-img" >{{fa|times}}</wsfield> }} </div><!--
 +
--></div><!--
 +
--></div><!--
 
--></wsform></div><!--
 
--></wsform></div><!--

Huidige versie van 1 dec 2020 om 19:58