Sjabloon:Menu: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 10: | Regel 10: | ||
|Subobject of={{FULLPAGENAME}} | |Subobject of={{FULLPAGENAME}} | ||
}} }} | }} }} | ||
− | {{#loop:hoi|0|{{{level|}}}|*}}<div>{{#ifeq:{{{type|}}}|dropdown|{{#widget:link|type=a|href=#|text=<i class="fa {{{icon|}}}"></i> <span>{{{text|}}}</span>}}|{{#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 }}}} }}</div><!-- {{#if:{{#var:counter}}||{{#vardefine:counter|0}}}} | + | {{#loop:hoi|0|{{{level|}}}|*}}<div>{{#ifeq:{{{type|}}}|dropdown|{{#widget:link|type=a|class="menu-drop"|href=#|text=<i class="fa {{{icon|}}}"></i> <span>{{{text|}}}</span>}}|{{#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 }}}} }}</div><!-- {{#if:{{#var:counter}}||{{#vardefine:counter|0}}}} |
{{#vardefineecho:counter|{{#expr:{{#var:counter}} + 1}} }} --> | {{#vardefineecho:counter|{{#expr:{{#var:counter}} + 1}} }} --> |