Sjabloon:Portals overview: verschil tussen versies
Uit Auditpedia
(28 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 5: | Regel 5: | ||
}} | }} | ||
− | This is the '''Portals | + | This is the '''Portals overview''' template. It should be called in the following format: |
<pre> | <pre> | ||
− | {{Portals | + | {{Portals overview |
+ | |Card title=Title of the card. | ||
+ | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly>{{Page title | </noinclude><includeonly>{{Page title | ||
|Title= | |Title= | ||
− | |Displaytitle= | + | |Displaytitle=Portalen overzicht |
|Formlink={{#widget:Button link | |Formlink={{#widget:Button link | ||
|class=btn btn-default new-portal | |class=btn btn-default new-portal | ||
Regel 21: | Regel 23: | ||
}} | }} | ||
}} | }} | ||
− | <div class="row"> | + | <div class="row mb-5"> |
− | <div class="col-md-8 | + | <div class="col-md-8 m-auto"> |
− | <div id="portal-form" class="collapse infocard"> | + | <div id="portal-form" class="collapse infocard mt-4"> |
− | <div class="infocard__heading">{{int: ws-new-portal}}</div> | + | <!-- <div class="infocard__heading">{{int: ws-new-portal}}</div> --> |
− | |||
{{Portal form}} | {{Portal form}} | ||
</div></div></div><!-- end of .collapse, .col-md-4, .row | </div></div></div><!-- end of .collapse, .col-md-4, .row | ||
− | -->{{#ask:[[Class::Portal]] | + | --><div class="row"> |
− | | | + | <div class="container col-md-4 pb-5"> |
− | |class= | + | <div class="card-header" style="background-color: #E87510; color: white;"> |
− | |format=category | + | <h4>Maatschappelijke relevantie</h4> |
− | | | + | </div> |
− | | | + | <div class="card-body inhoud" style="background-color: #f68b24; color: white; font-weight: 600;"> |
− | | | + | {{#ask: [[Class::Portal]] [[Is subportal::No]] [[Has category::Maatschappelijke relevantie]] |
− | }}<!-- | + | |format=ul |
+ | |sep= | ||
+ | |default=No portals | ||
+ | }} | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="container col-md-4 pb-5"> | ||
+ | <div class="card-header" style="background-color: #E87510; color: white;"> | ||
+ | <h4>Beroepsontwikkeling</h4> | ||
+ | </div> | ||
+ | <div class="card-body inhoud" style="background-color: #f68b24; color: white; font-weight: 600;"> | ||
+ | {{#ask: [[Class::Portal]] [[Is subportal::No]] [[Has category::Beroepsontwikkeling]] | ||
+ | |format=ul | ||
+ | |sep= | ||
+ | |default=No portals | ||
+ | }} | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="container col-md-4 pb-5"> | ||
+ | <div class="card-header" style="background-color: #E87510; color: white;"> | ||
+ | <h4>Beroepsgeschiedenis</h4> | ||
+ | </div> | ||
+ | <div class="card-body inhoud" style="background-color: #f68b24; color: white; font-weight: 600;"> | ||
+ | {{#ask: [[Class::Portal]] [[Is subportal::No]] [[Has category::Beroepsgeschiedenis]] | ||
+ | |format=ul | ||
+ | |sep= | ||
+ | |default=No portals | ||
+ | }} | ||
+ | </div> | ||
+ | </div> | ||
+ | </div><!-- | ||
+ | |||
+ | //use this code to check if there are any portals without categories! | ||
+ | <div class="row"> | ||
+ | <div class="container col-12 pb-5"> | ||
+ | <div class="card-header" style="background-color: #E87510; color: white;"> | ||
+ | <h4>OVerig</h4> | ||
+ | </div> | ||
+ | <div class="card-body inhoud" style="background-color: #f68b24; color: white; font-weight: 600;"> | ||
+ | {{#ask: [[Class::Portal]] [[Is subportal::No]] [[Has category::!Beroepsgeschiedenis]] [[Has category::!Beroepsontwikkeling]] [[Has category::!Maatschappelijke relevantie]] | ||
+ | |format=ul | ||
+ | |sep= | ||
+ | |default=No portals | ||
+ | }} | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <!-- | ||
--></includeonly> | --></includeonly> |
Huidige versie van 13 apr 2022 om 19:05
This is the Portals overview template. It should be called in the following format:
{{Portals overview |Card title=Title of the card. }}