Sjabloon:Related portals: verschil tussen versies
Uit Auditpedia
Regel 19: | Regel 19: | ||
<div class="tab-content"> | <div class="tab-content"> | ||
<div class="tab-pane active" id="related-portal-view-tab"> | <div class="tab-pane active" id="related-portal-view-tab"> | ||
− | {{Section title |Title= |Formlink new={{#widget:Button link |href=#related-portal-form-tab |datatoggle=tab |class=btn btn-default |buttontext= | + | {{Section title |Title= |Formlink new={{#widget:Button link |href=#related-portal-form-tab |datatoggle=tab |class=btn btn-default |buttontext={{int: ws-edit}} }} }}<!-- end Section title --> |
{{#if: {{{Related portal|}}} | {{#if: {{{Related portal|}}} | ||
Regel 26: | Regel 26: | ||
</div> | </div> | ||
<div class="tab-pane" id="related-portal-form-tab"> | <div class="tab-pane" id="related-portal-form-tab"> | ||
− | {{Section title |Title= |Formlink new={{#widget:Button link |href=#related-portal-view-tab |datatoggle=tab |class=btn btn-default |buttontext= | + | {{Section title |Title= |Formlink new={{#widget:Button link |href=#related-portal-view-tab |datatoggle=tab |class=btn btn-default |buttontext={{int: ws-back}} }} }}<!-- end Section title --> |
<wsform action="addToWiki" enctype="multipart/form-data"> | <wsform action="addToWiki" enctype="multipart/form-data"> | ||
<wsedit target="{{PAGEID}}" template="Portal" formfield="Related portal" /> | <wsedit target="{{PAGEID}}" template="Portal" formfield="Related portal" /> | ||
<wslabel>Related portal:</wslabel> | <wslabel>Related portal:</wslabel> | ||
<wsfield type="textarea" rows="1" class="form-control" name="Related portal" >{{{Related portal|}}}</wsfield> | <wsfield type="textarea" rows="1" class="form-control" name="Related portal" >{{{Related portal|}}}</wsfield> | ||
− | <div class="text-right mt-3">{{#widget:Button link |href=#related-portal-view-tab |datatoggle=tab |class=btn btn-default |buttontext= | + | <div class="text-right mt-3">{{#widget:Button link |href=#related-portal-view-tab |datatoggle=tab |class=btn btn-default |buttontext={{int: ws-back}} }} |
− | <wsfield type="submit" class="btn btn-primary" value=" | + | <wsfield type="submit" class="btn btn-primary" value="{{int: ws-save}}" /></div> |
</wsform> | </wsform> | ||
</div> | </div> |
Versie van 13 nov 2020 09:54
This is the "Related portals" template. It should be called in the following format:
{{Related portals |Title= |Related portal= }}
Edit the page to see the template text.