Sjabloon:Overzicht: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 1: | Regel 1: | ||
− | __NOTOC__ __NOTITLE__<!-- | + | <noinclude>{{Managed |
+ | |Version=1.0 | ||
+ | |Version notes=1.0 - First managed version, added class 'hidden' to hide grey row if there is no Tag2 | ||
+ | }} | ||
+ | |||
+ | This is the "Overzicht" template | ||
+ | <pre> | ||
+ | {{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> | ||
+ | }} | ||
+ | </pre> | ||
+ | </noinclude><includeonly>__NOTOC__ __NOTITLE__<!-- | ||
--><div class="main-wrapper {{{Type|}}}"><!-- | --><div class="main-wrapper {{{Type|}}}"><!-- | ||
-->{{#if: {{{Title|}}} | <h1>{{{Title|}}}</h1>}}<!-- | -->{{#if: {{{Title|}}} | <h1>{{{Title|}}}</h1>}}<!-- | ||
Regel 32: | Regel 47: | ||
|}}<!-- | |}}<!-- | ||
--></div></div></div>}} | --></div></div></div>}} | ||
+ | </includeonly> |
Versie van 8 dec 2020 21:14
This is the "Overzicht" template
{{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> }}