Sjabloon:Overzicht veiling: verschil tussen versies
Uit Dorpsbelang Den Hout
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> | ||
+ | |Tag2=<tag that is used as selection for secondary items> | ||
+ | |Title= | ||
+ | |Type=<optioonal 'list' for a list view> | ||
+ | |Text=<introductory text> | ||
+ | |Order=<asc or desc (=default)> | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly>__NOTOC__ __NOTITLE__<!-- | </noinclude><includeonly>__NOTOC__ __NOTITLE__<!-- | ||
− | --><div class="main-wrapper- | + | --><div class="main-wrapper {{{Type|}}}"><!-- |
+ | --><p>{{{Text|}}}</p><!-- | ||
--><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 16: | Regel 22: | ||
<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: | + | [[{{#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"> |
Versie van 22 aug 2024 10:58
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> |Order=<asc or desc (=default)> }}