Sjabloon:Article: verschil tussen versies
Uit Auditpedia
Regel 41: | Regel 41: | ||
<wsform action="addToWiki"> | <wsform action="addToWiki"> | ||
<wsedit target="{{PAGEID}}" template="Article" formfield="Description" /> | <wsedit target="{{PAGEID}}" template="Article" formfield="Description" /> | ||
+ | |||
+ | <wslabel>Subtitle:</wslabel> | ||
+ | <wsfield type="text" name="Subtitle" class="form-control row-formitemresponsive" >{{{Subtitle|}}}</wsfield> | ||
+ | |||
<wslabel>Content:</wslabel> | <wslabel>Content:</wslabel> | ||
<wsfield type="textarea" name="Description" class="tinymce" >{{{Description|}}}</wsfield> | <wsfield type="textarea" name="Description" class="tinymce" >{{{Description|}}}</wsfield> | ||
− | + | ||
− | |||
<div class="text-right mt-3">{{#widget:Button link |href=#description-view-tab |datatoggle=tab |class=btn btn-default |buttontext=Back }} | <div class="text-right mt-3">{{#widget:Button link |href=#description-view-tab |datatoggle=tab |class=btn btn-default |buttontext=Back }} | ||
<wsfield type="submit" class="btn btn-primary" value="Save" /></div> | <wsfield type="submit" class="btn btn-primary" value="Save" /></div> |
Versie van 4 nov 2020 20:01
This is the Article template. It should be called in the following format:
{{Article |Title= |Belongs to portal= |Description= |Archived= < Optional: Yes > }}