Edit article: verschil tussen versies
Uit Auditpedia
Regel 1: | Regel 1: | ||
− | {{#if:{{#urlget:id}}|{{#vardefine:@id|{{#urlget:id}} }}{{#tool: get params|{{#var:@id}}|$desc}}<wsform action="addToWiki" enctype="multipart/form-data"> | + | {{#if:{{#urlget:id}}|{{#vardefine:@id|{{#urlget:id}} }}{{#tool: get params|{{#var:@id}}|$desc}}<!-- |
+ | --><wsform action="addToWiki" enctype="multipart/form-data" > | ||
− | <wsedit target="{{#var:@id}}" template="Article" formfield="Picture" /> | + | <wsedit target="{{#var:@id}}" template="Article" formfield="Picture" mwfollow /> |
<wslabel><h2>{{int: ws-image}}:</h2>Upload an image in png format as the main picture of the article:</wslabel> | <wslabel><h2>{{int: ws-image}}:</h2>Upload an image in png format as the main picture of the article:</wslabel> | ||
<!--<wsfield verbose_id="preview123" type="file" id="picture-upload-{{PAGEID}}" name="picture" target="picture-{{PAGEID}}.png" class="form-control" pagecontent="Article main picture" use_label="true" multiple="multiple" /> | <!--<wsfield verbose_id="preview123" type="file" id="picture-upload-{{PAGEID}}" name="picture" target="picture-{{PAGEID}}.png" class="form-control" pagecontent="Article main picture" use_label="true" multiple="multiple" /> |