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"><!--  
       --><div class="card-top">[[{{#vardefine:@hubimg|{{#ask:[[Class::Bericht file]][[Page::@@@[catitle]]]|sort=Modification date|limit=1|link=none|order=desc|format=array}} }}{{#if:{{#var:@hubimg}}|[[{{#var:@hubimg}}|link=]]|File:{{#replace:{{SERVERNAME}}|.|-}}-logo.png }} {{#ifeq: {{{Type|}}} | list | 250px | 550px}}|link=]]
+
       --><div class="card-top">{{#vardefine:@hubimg|{{#ask:[[Class::Bericht file]][[Page::@@@[catitle]]]|sort=Modification date|limit=1|link=none|order=desc|format=array}} }}
 +
[[{{#if:{{#var:@hubimg}}|{{#var:@hubimg}}|File:{{#replace:{{SERVERNAME}}|.|-}}-logo.png }}{{#ifeq: {{{Type|}}} | list | 250px | 550px}}|link=]]
 
       </div><!--  
 
       </div><!--  
 
         --><div class="card-bottom">
 
         --><div class="card-bottom">

Versie van 12 jan 2021 09:41

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