Sjabloon:Overzicht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 21: Regel 21:
 
   <div class="col-md-6">
 
   <div class="col-md-6">
 
     <div class="card"><!--  
 
     <div class="card"><!--  
       -->{{#tag:html|<div class="card-top" style="background-image:url('{{#if:@@@[Image][fulltext]|{{filepath:{{#replace:@@@[Image][fulltext]|Bestand:|}}|600}}|{{filepath:{{#replace:{{SERVERNAME}}|.|-}}-logo.png|600}} }}')">
+
       -->{{#tag:html|<div class="card-top" style="background-image:url('{{#if:@@@[Image][fulltext]|{{filepath:{{#replace:@@@[Image][fulltext]|Bestand:|}}|{{#ifeq: {{{Type|}}} | list | 300 | 600}} }}|{{filepath:{{#replace:{{SERVERNAME}}|.|-}}-logo.png|{{#ifeq: {{{Type|}}} | list | 300 | 600}}}} }}')">
 
       </div>}}<!--  
 
       </div>}}<!--  
 
         --><div class="card-bottom">
 
         --><div class="card-bottom">

Versie van 8 dec 2020 21:55

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>
}}