Sjabloon:Article: verschil tussen versies
Uit Auditpedia
Regel 49: | Regel 49: | ||
<div class="tab-pane" id="description-form-tab"> | <div class="tab-pane" id="description-form-tab"> | ||
{{Section title |Title= |Formlink new={{#widget:Button link |href=#description-view-tab |datatoggle=tab |class=btn btn-default |buttontext=Back }} }}<!-- end Section title --> | {{Section title |Title= |Formlink new={{#widget:Button link |href=#description-view-tab |datatoggle=tab |class=btn btn-default |buttontext=Back }} }}<!-- end Section title --> | ||
− | <wsform action="addToWiki"> | + | <wsform action="addToWiki" enctype="multipart/form-data"> |
<wsedit target="{{PAGEID}}" template="Article" formfield="Short description" /> | <wsedit target="{{PAGEID}}" template="Article" formfield="Short description" /> | ||
Regel 56: | Regel 56: | ||
<wsedit target="{{PAGEID}}" template="Article" formfield="Main image" /> | <wsedit target="{{PAGEID}}" template="Article" formfield="Main image" /> | ||
− | <wslabel> | + | <wslabel for="testing" class="btn btn-default">{{Fa|upload}} Find a file</wslabel> |
− | <wsfield type="file" id="" target=" | + | <wsfield verbose_id="preview123" type="file" id="testing" name="testing" target="Example.png" pagecontent="Testing just testing." use_label="true" multiple="multiple" /> |
+ | <wsfield type="submit" value="Upload" class="btn btn-success" /><br> | ||
<wsedit target="{{PAGEID}}" template="Article" formfield="Description" /> | <wsedit target="{{PAGEID}}" template="Article" formfield="Description" /> |
Versie van 5 nov 2020 18:02
This is the Article template. It should be called in the following format:
{{Article |Title= |Short description= |Main image= |Description= |External links= |Belongs to portal= }}