Widget:File upload: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 5: | Regel 5: | ||
}} | }} | ||
− | This is the '''Widget: | + | This is the '''Widget:File upload''' page. It should be called in the following format: |
<pre> | <pre> | ||
− | {{ | + | {{#widget:File upload |
+ | |multiple=false | ||
+ | |preview=true | ||
+ | |caption=true | ||
+ | |drop=false | ||
+ | |button={{fa|upload}} | ||
+ | |filepagetemplate=file for test | ||
+ | |filepageparameters=filename:<FILENAME><Title>;page:{{FULLPAGENAME}} | ||
+ | |filename=<FILENAME><Title> | ||
+ | }} | ||
</pre> | </pre> | ||
Regel 29: | Regel 38: | ||
var fileInput = document.getElementById('widget-file-upload-files'); | var fileInput = document.getElementById('widget-file-upload-files'); | ||
− | + | ||
− | |||
function createFilename(filename){ | function createFilename(filename){ |
Versie van 7 sep 2020 10:11
This is the Widget:File upload page. It should be called in the following format:
{{#widget:File upload |multiple=false |preview=true |caption=true |drop=false |button={{fa|upload}} |filepagetemplate=file for test |filepageparameters=filename:<FILENAME><Title>;page:{{FULLPAGENAME}} |filename=<FILENAME><Title> }}