Sjabloon:Article: verschil tussen versies
Uit Auditpedia
Regel 33: | Regel 33: | ||
}} | }} | ||
− | <div class=" | + | <div class="tab-content"> |
− | |Title= | + | <div class="tab-pane active" id="description-view-tab"> |
− | | | + | {{Section title |Title= |Formlink new={{#widget:Button link |href=#description-form-tab |datatoggle=tab |class=btn btn-default |buttontext=Edit }} }}<!-- end Section title --> |
− | | | + | {{{Subtitle|}}} |
− | | | + | {{{Description|}}} |
− | }} | + | {{{Belongs to portal|}}} |
− | {{ | + | </div> |
− | | | + | <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 --> |
− | }} | + | <wsform action="addToWiki"> |
− | + | ||
<wsedit target="{{PAGEID}}" template="Article" formfield="Subtitle" /> | <wsedit target="{{PAGEID}}" template="Article" formfield="Subtitle" /> | ||
− | + | <wslabel>Subtitle:</wslabel> | |
− | + | <wsfield type="text" name="Subtitle" class="tinymce" >{{{Subtitle|}}}</wsfield> | |
− | + | ||
− | |||
<wsedit target="{{PAGEID}}" template="Article" formfield="Description" /> | <wsedit target="{{PAGEID}}" template="Article" formfield="Description" /> | ||
− | + | <wslabel>Content:</wslabel> | |
− | + | <wsfield type="textarea" name="Description" class="tinymce" >{{{Description|}}}</wsfield> | |
− | + | ||
− | }} | + | <wsedit target="{{PAGEID}}" template="Article" formfield="Belongs to portal" /> |
− | < | + | <wslabel>Belongs to portal:</wslabel> |
− | </ | + | <wsfield type="text" name="Belongs to portal" class="tinymce" >{{{Belongs to portal|}}}</wsfield> |
− | |||
− | | | ||
− | }} | ||
− | </ | ||
+ | <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> | ||
+ | </wsform> | ||
+ | </div> | ||
+ | </div> | ||
</div> | </div> | ||
− | |||
− | |||
</div><!-- end of .col-md-4 and .row | </div><!-- end of .col-md-4 and .row | ||
--></includeonly> | --></includeonly> |
Versie van 5 nov 2020 07:25
This is the Article template. It should be called in the following format:
{{Article |Title= |Subtitle= |Belongs to portal= |Description= |Archived= < Optional: Yes > }}