Sjabloon:Overzicht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 16: Regel 16:
 
--><div class="main-wrapper {{{Type|}}}"><!--
 
--><div class="main-wrapper {{{Type|}}}"><!--
 
-->{{#if: {{{Title|}}} | <h1>{{{Title|}}} {{#widget: Link
 
-->{{#if: {{{Title|}}} | <h1>{{{Title|}}} {{#widget: Link
|type=button
+
|type=a
 
|class=btn-sm float-right
 
|class=btn-sm float-right
|style=
 
 
|href={{fullurl:{{SERVERNAME}}/Aanmeldformulier}}
 
|href={{fullurl:{{SERVERNAME}}/Aanmeldformulier}}
|title=Aanmelden
+
|text=Aanmelden
 
}}</h1>}}<!--  
 
}}</h1>}}<!--  
 
--><p>{{{Text|}}}</p><!--  
 
--><p>{{{Text|}}}</p><!--  

Versie van 2 feb 2021 18:48

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