Sjabloon:Article: verschil tussen versies
Uit Auditpedia
Regel 11: | Regel 11: | ||
|Title= | |Title= | ||
|Short description= | |Short description= | ||
− | | | + | |Picture= |
|Description= | |Description= | ||
|External links= | |External links= | ||
Regel 23: | Regel 23: | ||
|Title={{{Title|}}} | |Title={{{Title|}}} | ||
|Short description={{{Short description|}}} | |Short description={{{Short description|}}} | ||
− | | | + | |Picture={{{Picture|}}} |
|Description={{{Description|}}} | |Description={{{Description|}}} | ||
|External links={{{External links|}}} | |External links={{{External links|}}} | ||
Regel 50: | Regel 50: | ||
{{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" enctype="multipart/form-data"> | <wsform action="addToWiki" enctype="multipart/form-data"> | ||
+ | |||
+ | <wsedit target="{{PAGEID}}" template="Article" formfield="Picture" /> | ||
+ | <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 type="submit" value="Upload" class="btn btn-success" /><br> | ||
<wsedit target="{{PAGEID}}" template="Article" formfield="Short description" /> | <wsedit target="{{PAGEID}}" template="Article" formfield="Short description" /> | ||
<wslabel>Introduction paragraph:</wslabel> | <wslabel>Introduction paragraph:</wslabel> | ||
<wsfield type="textarea" rows="4" class="form-control" name="Short description" >{{{Short description|}}}</wsfield><br> | <wsfield type="textarea" rows="4" class="form-control" name="Short description" >{{{Short description|}}}</wsfield><br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<wsedit target="{{PAGEID}}" template="Article" formfield="Description" /> | <wsedit target="{{PAGEID}}" template="Article" formfield="Description" /> |
Versie van 6 nov 2020 10:47
This is the Article template. It should be called in the following format:
{{Article |Title= |Short description= |Picture= |Description= |External links= |Belongs to portal= }}