Sjabloon:Portals overview: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
(Created page with "<noinclude>{{Managed |Version=1.0 |Version notes=1.0 - First managed version |Short description=Portals Overview }} This is the '''Portals Overview''' template. It should be...")
 
 
(37 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 5: Regel 5:
 
}}
 
}}
  
This is the '''Portals Overview''' template. It should be called in the following format:
+
This is the '''Portals overview''' template. It should be called in the following format:
  
 
<pre>
 
<pre>
{{Portals Overview }}
+
{{Portals overview
 +
|Card title=Title of the card.
 +
}}
 
</pre>
 
</pre>
  
 
</noinclude><includeonly>{{Page title
 
</noinclude><includeonly>{{Page title
 
   |Title=
 
   |Title=
   |Displaytitle=Portals overview
+
   |Displaytitle=Portalen overzicht
 
   |Formlink={{#widget:Button link
 
   |Formlink={{#widget:Button link
 
   |class=btn btn-default new-portal
 
   |class=btn btn-default new-portal
 
   |href=#portal-form
 
   |href=#portal-form
 
   |datatoggle=collapse
 
   |datatoggle=collapse
   |buttontext={{Fa|plus}} New portal
+
   |buttontext={{Fa|plus}} {{int: ws-new-portal}}
 
   }}
 
   }}
 
}}
 
}}
<div class="row">
+
<div class="row mb-5">
<div class="col-md-8 col-md-push-2">
+
<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">New portal</div>
+
<!-- <div class="infocard__heading">{{int: ws-new-portal}}</div> -->
<hr/>
 
 
{{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::Article]]
+
--><div class="row">
|?Title
+
<div class="container col-md-4 pb-5">
|?Belongs_to_portal
+
  <div class="card-header" style="background-color: #E87510; color: white;">
|limit=500
+
    <h4>Maatschappelijke relevantie</h4>
|link=none
+
  </div>
|sort=Title
+
  <div class="card-body inhoud" style="background-color: #f68b24; color: white; font-weight: 600;">
|format=table
+
{{#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.
}}