Sjabloon:Vergadering form: verschil tussen versies
Uit Dorpsbelang Den Hout
(Nieuwe pagina aangemaakt met '<div class="main-wrapper"><!-- --><wsform action="addToWiki" ><!-- --><wscreate mwtemplate="Vergadering" mwwrite="{{FULLPAGENAME}}" />__NOTOC__ __NOTITLE__<!--...') |
|||
(4 tussenliggende versies 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 16: | Regel 16: | ||
--><div class="bericht-grid {{{Layout|}}}"><!-- | --><div class="bericht-grid {{{Layout|}}}"><!-- | ||
--><div class="grid-tags"><!-- | --><div class="grid-tags"><!-- | ||
− | --><div class="multi-select-wrapper" >{{#arraydefine:@tags|{{#ask:[[Class:: | + | --><div class="multi-select-wrapper" >{{#arraydefine:@tags|{{#ask:[[Class::Vergadering]][[Domein::{{SERVERNAME}}]]|?Tags|format=array|mainlabel=-}} }}{{#arrayunique:@tags}}<span class="out">{{#arraymap:{{{tags|}}}|,|@@@|{{#tag:wsfield|@@@{{#tag:wsfield||type=hidden|name=tags[]|value=@@@}}|type=button|class=botn|onclick=this.remove()}}|}}</span>{{#tag:html|<input list="tags" name="browser" id="multi-select2" multiple> |
<datalist id="tags"> | <datalist id="tags"> | ||
{{#arraymap:{{#arrayprint:@tags}}|,|@@@| | {{#arraymap:{{#arrayprint:@tags}}|,|@@@| | ||
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[Vergadering][Agenda]||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
Please log in first.