Sjabloon:Dropdown link: verschil tussen versies
Uit Dorpsbelang Den Hout
(Nieuwe pagina aangemaakt met '<noinclude>{{Managed |Version=1.1 |Version notes=1.1 - Changed the link for Href to Widget:Link so it doens't open in a new tab 1.0 - First version |Short descripti...') |
|||
Regel 23: | Regel 23: | ||
;Alternative | ;Alternative | ||
− | <pre><li>{{#widget:Link|type=a|href={{#ifeq:{{FULLPAGENAME}}|{{{Page|}}}|#|{{fullurl:{{{Page|}}}}}}}|text={{{Text|}}}}}</li></pre> | + | <pre><li>{{#widget:Link|type=a|href={{#ifeq:{{FULLPAGENAME}}|{{{Page|}}}|#|{{fullurl:{{{Page|}}} }} }}|text={{{Text|}}} }}</li></pre> |
</noinclude><includeonly><li class="{{#ifeq:{{NAMESPACE}}|Special|{{{Page|}}}|<!-- | </noinclude><includeonly><li class="{{#ifeq:{{NAMESPACE}}|Special|{{{Page|}}}|<!-- | ||
-->{{#ifeq:{{FULLPAGENAME}}|{{{Page|}}}|navbar-text navbar-presentpage|}}}}">{{#if:{{{Page|}}} | [[{{{Page|}}}|{{{Text|}}}]] }}<!-- | -->{{#ifeq:{{FULLPAGENAME}}|{{{Page|}}}|navbar-text navbar-presentpage|}}}}">{{#if:{{{Page|}}} | [[{{{Page|}}}|{{{Text|}}}]] }}<!-- | ||
− | -->{{#if:{{{Href|}}} | | + | -->{{#if:{{{Href|}}} | [{{{Href|}}} {{{Text|}}}] }} }}</li></includeonly> |
Versie van 4 okt 2023 13:04
{{Dropdown link |Page= |Text= }}
OR
{{Dropdown link |Href= |Text= }}
- Alternative
<li>{{#widget:Link|type=a|href={{#ifeq:{{FULLPAGENAME}}|{{{Page|}}}|#|{{fullurl:{{{Page|}}} }} }}|text={{{Text|}}} }}</li>