Sjabloon:Overzicht: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 15: | Regel 15: | ||
</noinclude><includeonly>__NOTOC__ __NOTITLE__<!-- | </noinclude><includeonly>__NOTOC__ __NOTITLE__<!-- | ||
--><div class="main-wrapper {{{Type|}}}"><!-- | --><div class="main-wrapper {{{Type|}}}"><!-- | ||
− | + | -->{{#if: {{{Title|}}} | <h1>{{{Title|}}} <div class="btn btn-danger">asdf</div></h1>}}<!-- | |
--><p>{{{Text|}}}</p><!-- | --><p>{{{Text|}}}</p><!-- | ||
--><div class="row">{{#ask:[[Class::Bericht]][[Tags::{{{Tag|}}}]][[Domein::{{SERVERNAME}}]]|?Datum|?Titel|?Samenvatting|?Show date|sort=Datum|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=desc|link=none|format=complexarray|name=@berichten}}<!-- |
Versie van 26 jan 2021 19:06
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> }}