Sjabloon:Portal subportals: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
(Nieuwe pagina aangemaakt met '<noinclude> 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: <p...')
 
Regel 11: Regel 11:
 
</noinclude><includeonly><!--  
 
</noinclude><includeonly><!--  
  
-->{{#vardefine: @page |{{#if:{{{Portal|}}} |{{{Portal|}}} |{{FULLPAGENAME}} }}<!--
+
-->{{#vardefine: @page |{{#if:{{{Portal|}}} |{{{Portal|}}} |{{FULLPAGENAME}} }} }}<!--
 
-->{{#vardefine: @subportals |{{#ask: [[Class::Subportals]] [[Portal::{{#var:@page}}]] |format=ul |link=none}} }}<!--
 
-->{{#vardefine: @subportals |{{#ask: [[Class::Subportals]] [[Portal::{{#var:@page}}]] |format=ul |link=none}} }}<!--
 
{{#var:@subportals}}
 
{{#var:@subportals}}

Versie van 13 apr 2022 12:34

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.