Sjabloon:Menu: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 10: Regel 10:
 
|Subobject of={{FULLPAGENAME}}
 
|Subobject of={{FULLPAGENAME}}
 
}} }}
 
}} }}
{{#loop:hoi|0|{{{level|}}}|*}}<div>{{#ifeq:{{{type|}}}|dropdown|<i class="fa {{{icon|}}}"></i>&nbsp;<span>{{{text|}}}</span>|{{#widget:link|text={{#if:{{{icon|}}}|<i class="fa {{{icon|}}}"></i>&nbsp; }}{{{text|}}}|href={{#ifeq:{{{type|}}}|external|{{{href|}}}|{{fullurl:{{SERVERNAME}}/{{{href|}}} }} }}|type=a|{{#ifeq:{{{type|}}}|external|target=blank }}}} }}</div><!-- {{#if:{{#var:counter}}||{{#vardefine:counter|0}}}}
+
{{#loop:hoi|0|{{{level|}}}|*}}<div>{{#ifeq:{{{type|}}}|dropdown|{{#widget:link|type=a|href=#|text=<i class="fa {{{icon|}}}"></i>&nbsp;<span>{{{text|}}}</span>}}|{{#widget:link|text={{#if:{{{icon|}}}|<i class="fa {{{icon|}}}"></i>&nbsp; }}{{{text|}}}|href={{#ifeq:{{{type|}}}|external|{{{href|}}}|{{fullurl:{{SERVERNAME}}/{{{href|}}} }} }}|type=a|{{#ifeq:{{{type|}}}|external|target=blank }}}} }}</div><!-- {{#if:{{#var:counter}}||{{#vardefine:counter|0}}}}
 
{{#vardefineecho:counter|{{#expr:{{#var:counter}} + 1}} }} -->
 
{{#vardefineecho:counter|{{#expr:{{#var:counter}} + 1}} }} -->

Versie van 3 sep 2021 14:44