Widget:File upload: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 121: | Regel 121: | ||
} | } | ||
output = output.replace(/:/g,'='); | output = output.replace(/:/g,'='); | ||
− | output = output.replace(/;/g | + | output = output.replace(/;/g,'|'); |
if(caption){ | if(caption){ | ||
output = '{{'+settingsFilepagetemplate+'|'+output+'|caption='+caption+'|type='+type+'}}'; | output = '{{'+settingsFilepagetemplate+'|'+output+'|caption='+caption+'|type='+type+'}}'; |
Versie van 8 sep 2020 08:02
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> }}