Sjabloon:Portal articles: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
 
(48 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 10: Regel 10:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>  
 
</noinclude><includeonly>  
<div class="card">
+
<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;">
   <h3>{{{Card title|Inhoud}}}</h3>
+
   <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">
 +
    <div class="col">
 +
<div class="portal-articles" style="column-count:2;">
 +
{{#if: {{#ask: [[Class::Portal]] [[Portal::{{{Portal|}}}]]}}
 +
|{{#ask: [[Class::Portal]] [[Portal::{{{Portal|}}}]]
 +
|?=Page
 +
|format=template
 +
|Template=Show portal in portal articles
 +
|default=
 +
}}
 +
| }}
 
{{#ask: [[Class::Article]] [[Portal::{{{Portal|}}}]]
 
{{#ask: [[Class::Article]] [[Portal::{{{Portal|}}}]]
|format=plain
+
|format=ul
|sep=<span style="padding-left: 1em; padding-right: 1em">●</span>
+
|sep=
 
|default=Geen pagina's bij deze portal
 
|default=Geen pagina's bij deze portal
 
}}
 
}}
<hr>
+
</div>  
{{#if: {{{Subportal|}}}
+
</div>
| {{#show:{{FULLPAGENAME}} |?Subportal }}
 
| no subportals}}
 
    </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.