Sjabloon:Overzicht veiling: verschil tussen versies
Uit Dorpsbelang Den Hout
(Nieuwe pagina aangemaakt met '<noinclude> 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 <pr...') |
|||
Regel 7: | Regel 7: | ||
{{Overzicht | {{Overzicht | ||
|Tag=<tag that is used as selection for main items> | |Tag=<tag that is used as selection for main items> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly>__NOTOC__ __NOTITLE__<!-- | </noinclude><includeonly>__NOTOC__ __NOTITLE__<!-- | ||
− | --><div class="main-wrapper | + | --><div class="main-wrapper-veiling"><!-- |
− | |||
--><div class="row">{{#ask:[[Class::Bericht]][[Tags::{{{Tag|}}}]][[Domein::{{SERVERNAME}}]]|?Datum|?Titel|?Samenvatting|?Show date|sort=Datum|order={{{Order|desc}}}|link=none|format=complexarray|name=@berichten}}<!-- | --><div class="row">{{#ask:[[Class::Bericht]][[Tags::{{{Tag|}}}]][[Domein::{{SERVERNAME}}]]|?Datum|?Titel|?Samenvatting|?Show date|sort=Datum|order={{{Order|desc}}}|link=none|format=complexarray|name=@berichten}}<!-- | ||
-->{{#camap:@berichten|@@@| | -->{{#camap:@berichten|@@@| | ||
Regel 22: | Regel 16: | ||
<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={{{Order|desc}}}|format=array}} }} | --><div class="card-top">{{#vardefine:@hubimg|{{#ask:[[Class::Bericht file]][[Page::@@@[catitle]]]|sort=Modification date|limit=1|link=none|order={{{Order|desc}}}|format=array}} }} | ||
− | [[{{#if:{{#var:@hubimg}}|{{#var:@hubimg}}|File:{{#replace:{{SERVERNAME}}|.|-}}-logo.png }}|{{#ifeq: {{{Type|}}} | list | 250px | 550px}}|link=]] | + | [[{{#if:{{#var:@hubimg}}|{{#var:@hubimg}}|File:{{#replace:{{SERVERNAME}}|.|-}}-logo.png }}|{{#ifeq: {{{Type|}}} | list | 250px | 550px}}|link=@@@[cafullurl]]] |
</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></small></div>}} | {{#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] | + | <div class="text-read-more">@@@[Samenvatting]</div> |
</div> | </div> | ||
</div> | </div> |
Versie van 22 aug 2024 10:54
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> }}