Sjabloon:Overzicht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 17: Regel 17:
 
  -->{{#if: {{{Title|}}} | <h1>{{{Title|}}}</h1>}}<!--  
 
  -->{{#if: {{{Title|}}} | <h1>{{{Title|}}}</h1>}}<!--  
 
--><p>{{{Text|}}}</p><!--  
 
--><p>{{{Text|}}}</p><!--  
  --><div class="row">{{#ask:[[Class::Bericht]][[Tags::{{{Tag|}}}]][[Domein::{{SERVERNAME}}]]|?Datum|?Titel|?Samenvatting|?-Page=Image|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}}<!--  
 
   -->{{#camap:@berichten|@@@|
 
   -->{{#camap:@berichten|@@@|
 
   <div class="col-md-6">
 
   <div class="col-md-6">
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></small></div>
+
         <div><small><b>{{#if:@@@[Datum]|{{#time:d M Y|@@@[Datum]|nl}} }}</b>@@@[Show datum]</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:33

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