Sjabloon:Menu: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 10: | Regel 10: | ||
|Subobject of={{FULLPAGENAME}} | |Subobject of={{FULLPAGENAME}} | ||
}} }} | }} }} | ||
− | {{padleft:|{{{level|}}}|*}}{{#ifeq:{{{type|}}}|dropdown|{{#widget:label|for=z{{{order|}}}|text=<i class="fa {{{icon|}}}"></i> <span>{{{text|}}}</span>}}{{#widget: | + | {{padleft:|{{{level|}}}|*}}{{#ifeq:{{{type|}}}|dropdown|{{#widget:label|for=z{{{order|}}}|text=<i class="fa {{{icon|}}}"></i> <span>{{{text|}}}</span>}}{{#widget:radio|id=z{{{order|}}}|class=d-none check-next}}|{{#widget:link|text={{#if:{{{icon|}}}|<i class="fa {{{icon|}}}"></i> }}{{{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}} }} --> |