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:|}}|{{#ifeq: {{{Type|}}} | list | 300 | 600}} }}|{{filepath:{{#replace:{{SERVERNAME}}|.|-}}-logo.png|{{#ifeq: {{{Type|}}} | list | 300 | 600}}}} }}')">
+
       --><div class="card-top">[[{{#if:@@@[Image][fulltext]|@@@[Image][fulltext]|File:{{#replace:{{SERVERNAME}}|.|-}}-logo.png}}|{{#ifeq: {{{Type|}}} | list | 250px | 600px}}]]
       </div>}}<!--  
+
       </div><!--  
 
         --><div class="card-bottom">
 
         --><div class="card-bottom">
 
         <div><small><b>{{#if:@@@[Datum]|{{#time:d M Y|@@@[Datum]|nl}} }}</b></small></div>
 
         <div><small><b>{{#if:@@@[Datum]|{{#time:d M Y|@@@[Datum]|nl}} }}</b></small></div>
Regel 35: Regel 35:
 
   <div class="col-md-4">
 
   <div class="col-md-4">
 
     <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}} }}')">
+
       --><div class="card-top">[[{{#if:@@@[Image][fulltext]|@@@[Image][fulltext]|File:{{#replace:{{SERVERNAME}}|.|-}}-logo.png}}|{{#ifeq: {{{Type|}}} | list | 250px | 600px}}]]
       </div>}}<!--  
+
       </div><!--  
 
         --><div class="card-bottom">
 
         --><div class="card-bottom">
 
         <div><small><b>{{#if:@@@[Datum]|{{#time:d M Y|@@@[Datum]|nl}} }}</b></small></div>
 
         <div><small><b>{{#if:@@@[Datum]|{{#time:d M Y|@@@[Datum]|nl}} }}</b></small></div>

Versie van 8 dec 2020 23:16

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