Sjabloon:Overzicht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 18: Regel 18:
 
--><p>{{{Text|}}}</p><!--  
 
--><p>{{{Text|}}}</p><!--  
 
  --><div class="row">{{#ask:[[Class::Bericht]][[Tags::{{{Tag|}}}]][[Domein::{{SERVERNAME}}]]|?Datum|?Titel|?Samenvatting|?-Page=Image|?Show datum|link=none|format=complexarray|name=@berichten}}<!--  
 
  --><div class="row">{{#ask:[[Class::Bericht]][[Tags::{{{Tag|}}}]][[Domein::{{SERVERNAME}}]]|?Datum|?Titel|?Samenvatting|?-Page=Image|?Show datum|link=none|format=complexarray|name=@berichten}}<!--  
   -->{{#caprint:@berichten}}{{#camap:@berichten|@@@|
+
   -->{{#camap:@berichten|@@@|
 
   <div class="col-md-6">
 
   <div class="col-md-6">
 
     <div class="card"><!--  
 
     <div class="card"><!--  
Regel 24: Regel 24:
 
       </div><!--  
 
       </div><!--  
 
         --><div class="card-bottom">
 
         --><div class="card-bottom">
         <div><small><b>{{#if:@@@[Datum]|{{#time:d M Y|@@@[Datum]|nl}} }}</b>@@@[Show date][fulltext]</small></div>
+
         {{#ifeq:@@@[Show date]|false| |<div><small><b>{{#if:@@@[Datum]|{{#time:d M Y|@@@[Datum]|nl}} }}</b>@@@[Show date][fulltext]</small></div>}}
 
         <h2>@@@[Titel]</h2>
 
         <h2>@@@[Titel]</h2>
 
         <div class="text-read-more">@@@[Samenvatting] <i> {{#widget:link|type=a|href=@@@[cafullurl]|text=Lees meer|class=red}}</i></div>
 
         <div class="text-read-more">@@@[Samenvatting] <i> {{#widget:link|type=a|href=@@@[cafullurl]|text=Lees meer|class=red}}</i></div>

Versie van 10 dec 2020 14:39

This is the "Overzicht" template

  • Version=1.0
  • Version notes=1.0 - First managed version, added class 'hidden' to hide grey row if there is no Tag2
{{Overzicht
|Tag=<tag that is used as selection for main items>
|Tag2=<tag that is used as selection for secondary items>
|Title=
|Type=<optioonal 'list' for a list view>
|Text=<introductory text>
}}