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- | + | -->{{#if: {{{Title|}}} | <h1>{{{Title|}}} {{#widget: Link |
+ | |type=button | ||
+ | |class=btn-sm float-right | ||
+ | |style= | ||
+ | |href={{fullurl:{{SERVERNAME}}/Aanmeldformulier}} | ||
+ | |title=Aanmelden | ||
+ | }} <div class="btn btn-sm btn-info">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 2 feb 2021 18: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> }}