Sjabloon:Overzicht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
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|}}}</h1> {{#widget: Link
+
-->{{#if: {{{Actiebutton|}}} | {{#widget: Link
 
|type=a
 
|type=a
 
|class=btn-sm float-right
 
|class=btn-sm float-right
|href={{fullurl:{{SERVERNAME}}/Aanmeldformulier}}
+
|href={{fullurl:{{SERVERNAME}}/{{{Actiebutton|}}} }}
|text=Aanmelden
+
|text={{{Actiebutton tekst|}}}
 
}}}}<!--  
 
}}}}<!--  
 
--><p>{{{Text|}}}</p><!--  
 
--><p>{{{Text|}}}</p><!--  

Versie van 2 feb 2021 18:57

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>
}}