Sjabloon:Related portals: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 20: Regel 20:
 
<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 -->
 
{{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]]}}
 
| }}
 
| }}
 
</div>
 
</div>
 +
    {{#if: {{CURRENTLOGGEDUSER}} |
 
<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 -->
Regel 35: Regel 35:
 
</wsform>
 
</wsform>
 
</div>
 
</div>
 +
    | }}
 
</div>
 
</div>
 
</div>
 
</div>

Versie van 30 nov 2020 14:27

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.