Sjabloon:Menu: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
 
(7 tussenliggende versies door dezelfde gebruiker niet weergegeven)
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}}}}
+
{{padleft:|{{{level|}}}|*}}{{#ifeq:{{{type|}}}|dropdown|{{#widget:label|for=z{{{order|}}}|text=<i class="fa {{{icon|}}}"></i>&nbsp;<span>{{{text|}}}</span>}}{{#widget:radio|id=z{{{order|}}}|class=d-none check-next}}|{{#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 }}}} }}<!-- {{#if:{{#var:counter}}||{{#vardefine:counter|0}}}}
 
{{#vardefineecho:counter|{{#expr:{{#var:counter}} + 1}} }} -->
 
{{#vardefineecho:counter|{{#expr:{{#var:counter}} + 1}} }} -->

Huidige versie van 10 sep 2021 om 08:53