Sjabloon:Overzicht: verschil tussen versies
Uit Dorpsbelang Den Hout
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|?Show | + | --><div class="row">{{#ask:[[Class::Bericht]][[Tags::{{{Tag|}}}]][[Domein::{{SERVERNAME}}]]|?Datum|?Titel|?Samenvatting|?-Page=Image|?Show date|link=none|format=complexarray|name=@berichten}}<!-- |
-->{{#caprint:@berichten}}{{#camap:@berichten|@@@| | -->{{#caprint:@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"> | ||
− | {{#ifeq:@@@[Show date]|false| |<div><small><b>{{#if:@@@[Datum]|{{#time:d M Y|@@@[Datum]|nl}} }}</b> | + | {{#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] <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:44
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> }}