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|<i class="fa {{{icon|}}}"></i> {{{text|}}} {{fa|chevron-down}} |{{#widget:link|text={{#if:{{{icon|}}}|<i class="fa {{{icon|}}}"></i> }}{{{text|}}}|href={{#ifeq:{{{type|}}}|external|{{{href|}}}|{{fullurl:{{{href|}}} }} }}|type=a|{{#ifeq:{{{type|}}}|external|target=blank }}}} }}</div><!-- {{#if:{{#var:counter}}||{{#vardefine:counter|0}}}} | + | {{#loop:hoi|0|{{{level|}}}|*}}<div>{{#ifeq:{{{type|}}}|dropdown|<i class="fa {{{icon|}}}"></i> {{{text|}}} {{fa|chevron-down}} |{{#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}} }} --> |