Sjabloon:Overzicht veiling: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 27: Regel 27:
 
         {{#ifeq:@@@[Show date]|false| |<div><small><b>{{#if:@@@[Datum]|{{#time:d M Y|@@@[Datum]|nl}} }}</b></small></div>}}
 
         {{#ifeq:@@@[Show date]|false| |<div><small><b>{{#if:@@@[Datum]|{{#time:d M Y|@@@[Datum]|nl}} }}</b></small></div>}}
 
         <h2>@@@[Titel]</h2>
 
         <h2>@@@[Titel]</h2>
         <div class="text-read-more">@@@[Samenvatting]</div>
+
         <div class="text-read-more">{{@@@}}</div>
 
       </div>     
 
       </div>     
 
     </div>
 
     </div>
 
   </div>
 
   </div>
 
   |}}<!--  
 
   |}}<!--  
--><div class="col-md-6" ></div></div></div><div class="bg-gray row pt-4 {{#if:{{{Tag2|}}}||hidden}}">{{#if:{{{Tag2|}}}|<div class="main-wrapper pt-4 {{{Type|}}}"><div class="row">{{#ask:[[Class::Bericht]][[Tags::{{{Tag2|}}}]][[Domein::{{SERVERNAME}}]]|?Datum|?Titel|?Samenvatting|?-Page=Image|sort=Datum|order={{{Order|desc}}}|link=none|format=complexarray|name=@berichten2}}<!--
+
--><div class="col-md-6" ></div></div></div>}}
-->{{#camap:@berichten2|@@@|
 
  <div class="col-md-6">
 
    <div class="card"><!--
 
      --><div class="card-bottom">
 
        <div><small><b>{{#if:@@@[Datum]|{{#time:d M Y|@@@[Datum]|nl}} }}</b></small></div>
 
        <div><b>@@@[Titel]</b></div>
 
        <div class="text-read-more">@@@[Samenvatting]</div>
 
      </div>   
 
    </div>
 
  </div>
 
  |}}<!--
 
--></div></div></div>}}
 
 
</includeonly>
 
</includeonly>

Versie van 24 aug 2024 09:43

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>
|Order=<asc or desc (=default)>
}}