Sjabloon:Portal articles: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
 
(21 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 11: Regel 11:
 
</noinclude><includeonly>  
 
</noinclude><includeonly>  
 
<div class="card mt-5">
 
<div class="card mt-5">
   <div class="card-header pt-3 pb-3 pl-3" style="background-color: #20b096; color: white!important;">
+
   <div class="card-header" style="background-color: #00A184; color: white!important;">
 
   <h4>{{{Card title|Inhoud}}}</h4>
 
   <h4>{{{Card title|Inhoud}}}</h4>
 
   </div>
 
   </div>
   <div class="card-body inhoud" style="background-color: #61c6b3; color: white;">
+
   <div class="card-body inhoud" style="background-color: #20b096; color: white;">
    <div style="text-align:center">
+
    <div class="row">
{{#ask: [[Class::Article]] [[Portal::{{{Portal|}}}]]
+
    <div class="col">
|format=plain
+
<div class="portal-articles" style="column-count:2;">
|sep=<span class="separation-dot">・</span>
 
|default=Geen pagina's bij deze portal
 
}}<br>
 
 
{{#if: {{#ask: [[Class::Portal]] [[Portal::{{{Portal|}}}]]}}
 
{{#if: {{#ask: [[Class::Portal]] [[Portal::{{{Portal|}}}]]}}
|<h4>Subportals:</h4>
+
|{{#ask: [[Class::Portal]] [[Portal::{{{Portal|}}}]]
{{#ask: [[Class::Portal]] [[Portal::{{{Portal|}}}]]
+
|?=Page
|format=plain
+
|format=template
|sep=<span style="padding-left: 1em; padding-right: 1em">-</span>
+
|Template=Show portal in portal articles
 
|default=
 
|default=
 
}}
 
}}
 
| }}
 
| }}
    </div>
+
{{#ask: [[Class::Article]] [[Portal::{{{Portal|}}}]]
  </div>
+
|format=ul
 +
|sep=
 +
|default=Geen pagina's bij deze portal
 +
}}
 +
</div>  
 +
</div>
 
</div>
 
</div>
 +
</div></div>
 
</includeonly>
 
</includeonly>

Huidige versie van 17 dec 2020 om 16:26

This is the "Portal articles" template. It should be called in the following format:

{{Portal articles
|Card title=Title of the card.
|Portal=Mandatory. Must be a valid portal page.
}}

Edit the page to see the template text.