Bewerk vergadering: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
(Nieuwe pagina aangemaakt met '<div class="main-wrapper">{{#vardefine:@page|{{#urldecode:{{#urlget:page}} }} }}{{#vardefine:@pageid|{{PAGEID:{{#var:@page}} }} }}{{#tool:get parameters |{{#var:@pa...')
 
 
(7 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
<div class="main-wrapper">{{#vardefine:@page|{{#urldecode:{{#urlget:page}} }} }}{{#vardefine:@pageid|{{PAGEID:{{#var:@page}} }} }}{{#tool:get parameters |{{#var:@pageid}} |$params}}<!--  
+
<div class="main-wrapper">{{#vardefineecho:@page|{{#urldecode:{{#urlget:page}} }} }}{{#vardefineecho:@pageid|{{PAGEID:{{#var:@page}} }} }}{{#tool:get parameters |{{#var:@pageid}} |$params}}<!--  
 
  --><wsform action="addToWiki" ><!--  
 
  --><wsform action="addToWiki" ><!--  
 
  --><wscreate mwtemplate="Vergadering" mwwrite="{{#var:@page}}" mwfollow/><!--{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}-->__NOTOC__ __NOTITLE__<!--
 
  --><wscreate mwtemplate="Vergadering" mwwrite="{{#var:@page}}" mwfollow/><!--{{#ifeq:{{{Domein|}}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}-->__NOTOC__ __NOTITLE__<!--
Regel 28: Regel 28:
 
   --><h2><wsfield type="text" class="form-control" placeholder="Titel" name="Titel" value="{{#caprint:$params[Vergadering][Titel]}}"/></h2><!--  
 
   --><h2><wsfield type="text" class="form-control" placeholder="Titel" name="Titel" value="{{#caprint:$params[Vergadering][Titel]}}"/></h2><!--  
 
  --></div><!--
 
  --></div><!--
  --><div class="grid-bericht"><!--  
+
  --><div class="grid-bericht"><div class="d-flex"><div><h2>Agenda pdf</h2><div class="upload-group">{{#vardefine:@hubimg|{{#ask:[[Class::Bericht file]][[Page::{{#var:@page}}]][[type::Agenda]]|sort=Modification date|limit=1|link=none|order=desc|format=array}} }}
  --><h2>Agenda</h2><span class="ve-area-wrapper"><wsfield type="textarea" name="Agenda" >{{#caprint:$params[Vergadering][Agenda]||noparse,nowiki }}</wsfield></span>
+
{{#if:{{#var:@hubimg}}|[[{{#var:@hubimg}}|link=]]}}</div><br>
 +
<div class="ws-image-upload" data-filetext="<nowiki>{{Bericht file|Domein=</nowiki>{{SERVERNAME}}<nowiki>|Bericht=</nowiki>{{#var:@page}}<nowiki>|type=Agenda}}</nowiki>" ></div></div><div><h2>Verslag pdf</h2><div class="upload-group">{{#vardefine:@hubimg|{{#ask:[[Class::Bericht file]][[Page::{{#var:@page}}]][[type::Verslag]]|sort=Modification date|limit=1|link=none|order=desc|format=array}} }}
 +
{{#if:{{#var:@hubimg}}|[[{{#var:@hubimg}}|link=]]}}</div><br>
 +
<div class="ws-image-upload" data-filetext="<nowiki>{{Bericht file|Domein=</nowiki>{{SERVERNAME}}<nowiki>|Bericht=</nowiki>{{#var:@page}}<nowiki>|type=Verslag}}</nowiki>" ></div></div></div><!--  
 +
  --><h2>Agenda</h2><div class="ve-area-wrapper"><wsfield type="textarea" name="Agenda" class="toolbarOnTop" >{{#caprint:$params[Vergadering][Agenda]||noparse,nowiki }}</wsfield></div>
 
<h2>Verslag</h2><span class="ve-area-wrapper"><wsfield type="textarea" name="Verslag" class="toolbarOnTop" >{{#caprint:$params[Vergadering][Verslag]||noparse,nowiki }} </wsfield></span><!--  
 
<h2>Verslag</h2><span class="ve-area-wrapper"><wsfield type="textarea" name="Verslag" class="toolbarOnTop" >{{#caprint:$params[Vergadering][Verslag]||noparse,nowiki }} </wsfield></span><!--  
  --></div><!--
+
  --></div><!--  
--><!--
 
--><div class="grid-img" style="min-height: 200px;"><!--
 
  --><div class="image-wrapper">{{#vardefine:@img|{{#ask:[[Class::Bericht file]][[Page::{{#var:@page}}]]|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:{{#var:@page}}
 
|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 11 mei 2021 om 15:03

⧼PageID must only consist of digits.⧽