|
|
Regel 1: |
Regel 1: |
− | ==Example 1== | + | {{#ask:[[Class::Article]] [[Title::Pacioli Luca]] |
− | https://www.simplegov.com/index.php?title=WSForm_file_upload&action=edit
| + | |?=Page |
− | | + | |?Title= |
− | <wsform id="23445456456456234" enctype="multipart/form-data" action="addToWiki">
| + | |?Portal |
− | <wslabel for="testing" class="btn btn-default">{{Fa|upload}} Find a file</wslabel>
| + | |?Picture |
− | | + | |?Short description |
− | <wsfield verbose_id="preview123" type="file" id="testing" name="testing" target="Example.png" pagecontent="Testing just testing." use_label="true" multiple="multiple" />
| + | |mainlabel=- |
− | | + | |sort=Title |
− | <wsfield type="submit" value="Upload" class="btn btn-success" />
| + | |order=random |
− | </wsform>
| + | |format=template |
− | | + | |template=Show article as card |
− | | + | |named args=yes |
− | <div style="border:1px dotted #eee;">
| + | |link=none |
− | <strong>Preview</strong>
| + | |limit=1 |
− | <div id="preview123"></div>
| + | |searchlabel= |
− | </div>
| + | }} |