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: {{{Actiebutton|}}} | {{#widget: Link | + | -->{{#if: {{{Actiebutton|}}} | <div class="text-right">{{#widget: Link |
|type=a | |type=a | ||
|class=btn btn-sm btn-info float-right | |class=btn btn-sm btn-info float-right | ||
|href={{fullurl:{{SERVERNAME}}/{{{Actiebutton|}}} }} | |href={{fullurl:{{SERVERNAME}}/{{{Actiebutton|}}} }} | ||
|text={{{Actiebutton tekst|}}} | |text={{{Actiebutton tekst|}}} | ||
− | }}}}<!-- | + | }}</div>}}<!-- |
--><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 19:01
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> }}