Testpage9: verschil tussen versies
Uit Auditpedia
Regel 1: | Regel 1: | ||
− | {{ | + | <noinclude> |
− | + | This is the "Portal articles" template. | |
− | + | It should be called in the following format: | |
+ | <pre> | ||
+ | {{Portal articles | ||
+ | |Card title=Title of the card. | ||
+ | |Portal=Mandatory. Must be a valid portal page. | ||
}} | }} | ||
+ | </pre> | ||
+ | Edit the page to see the template text. | ||
+ | </noinclude><includeonly> | ||
+ | <div class="card mt-5"> | ||
+ | <div class="card-header" style="background-color: #00A184; color: white!important;"> | ||
+ | <h4>{{{Card title|Inhoud}}}</h4> | ||
+ | </div> | ||
+ | <div class="card-body inhoud" style="background-color: #20b096; color: white;"> | ||
+ | <div class="row"> | ||
+ | <div class="col-8"> | ||
+ | <div class="portal-articles" style="column-count:2;"> | ||
+ | {{#ask: [[Class::Article]] [[Portal::{{{Portal|}}}]] | ||
+ | |format=ul | ||
+ | |sep= | ||
+ | |default=Geen pagina's bij deze portal | ||
+ | }}</div></div> | ||
+ | <div class="col pl-5"> | ||
+ | {{#if: {{#ask: [[Class::Portal]] [[Portal::{{{Portal|}}}]]}} | ||
+ | |{{#ask: [[Class::Portal]] [[Portal::{{{Portal|}}}]] | ||
+ | |format=ul | ||
+ | |sep= | ||
+ | |default= | ||
+ | }} | ||
+ | | }}</div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </includeonly> |
Versie van 17 dec 2020 13:15
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.