Sjabloon:Related portals: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
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={{int: ws-edit}} }} }}<!-- end Section title -->
 
 
{{#if: {{{Related portal|}}}  
 
{{#if: {{{Related portal|}}}  
 
| {{#arraymap:{{{Related portal|}}}|,|x|[[x]]}}
 
| {{#arraymap:{{{Related portal|}}}|,|x|[[x]]}}
Regel 25: Regel 24:
 
</div>
 
</div>
 
     {{#if: {{CURRENTLOGGEDUSER}} |
 
     {{#if: {{CURRENTLOGGEDUSER}} |
 +
    {{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 -->
 
<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={{int: ws-back}} }} }}<!-- end Section title -->
 
{{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 -->

Versie van 30 nov 2020 14:30

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.