Sjabloon:Portal subportals: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 25: Regel 25:
 
<div class="portal-articles" style="column-count:2;">
 
<div class="portal-articles" style="column-count:2;">
 
{{#if: {{#var:@subportals}}  
 
{{#if: {{#var:@subportals}}  
|{{#caamap:{{#var:@subportals}}|,|@@@|
+
|<ul>{{#caamap:{{#var:@subportals}}|,|@@@|<li>[[@@@]]</li> }}</ul>
* [[@@@]] }}
 
 
|}}
 
|}}
 
</div>  
 
</div>  

Versie van 13 apr 2022 12:36

This is the "Portal subportals" template. It shows all subportals of a portal as a list in a card layout It should be called in the following format:

{{Portal subportals
|Card title= <text>
|Portal= <page> portal (default: current page) 
}}

Edit the page to see the template text.