Sjabloon:Dropdown link: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
 
Regel 1: Regel 1:
 
<noinclude>{{Managed
 
<noinclude>{{Managed
|Version=1.1
+
|Version=1.2
|Version notes=1.1 - Changed the link for Href to Widget:Link so it doens't open in a new tab
+
|Version notes=
 +
1.2 Removed use of Widget:Link. Gives problems with php8
 +
1.1 - Changed the link for Href to Widget:Link so it doens't open in a new tab
 
1.0 - First version
 
1.0 - First version
 
|Short description=For dropdown links in the nav menu
 
|Short description=For dropdown links in the nav menu

Huidige versie van 4 okt 2023 om 13:06

Sjabloon:Managed

{{Dropdown link
|Page=
|Text=
}}

OR

{{Dropdown link
|Href=
|Text=
}}
Alternative
<li>{{#widget:Link|type=a|href={{#ifeq:{{FULLPAGENAME}}|{{{Page|}}}|#|{{fullurl:{{{Page|}}} }} }}|text={{{Text|}}} }}</li>