Difference between revisions of "MediaWiki:WSNavMenu"

From Venlo Samenwerkingswijzer
Line 10: Line 10:
 
{{#ifingroup:admin|<!-- Support -->
 
{{#ifingroup:admin|<!-- Support -->
 
<li class="dropdown">
 
<li class="dropdown">
{{#tag:html|{{#tag:a|Support <b class="caret"></b>|class="dropdown-toggle"|data-toggle="dropdown"|href="#"}}}}
+
{{#widget: Link |type=a |class=dropdown-toggle |data-toggle=dropdown |href=#
 +
|text={{Fa|support fa-fw}} Ondersteuning <b class="caret"></b>
 +
}}
 
<ul class="dropdown-menu p-Support" id="p-Support">
 
<ul class="dropdown-menu p-Support" id="p-Support">
 
<li>{{#widget:Link|type=a|href={{#ifeq:{{FULLPAGENAME}}|Wiki:Onderwerpen|#|{{fullurl:Wiki:Onderwerpen}}}}|text=Onderwerpen}}</li>
 
<li>{{#widget:Link|type=a|href={{#ifeq:{{FULLPAGENAME}}|Wiki:Onderwerpen|#|{{fullurl:Wiki:Onderwerpen}}}}|text=Onderwerpen}}</li>
Line 19: Line 21:
 
</li>}}
 
</li>}}
 
{{#ifingroup:wsadmin|<li class="dropdown">
 
{{#ifingroup:wsadmin|<li class="dropdown">
{{#tag:html|{{#tag:a|Wsadmin <b class="caret"></b>|class="dropdown-toggle"|data-toggle="dropdown"|href="#"}}}}
+
{{#widget: Link |type=a |class=dropdown-toggle |data-toggle=dropdown |href=#
 +
|text={{Fa|lock fa-fw}} Wsadmin <b class="caret"></b>
 +
}}
 
<ul class="dropdown-menu">
 
<ul class="dropdown-menu">
 
<li>{{#widget:Link|type=a|href={{#ifeq:{{FULLPAGENAME}}|Test:Admin|#|{{fullurl:Test:Admin}}}}|text=Admin}}</li>
 
<li>{{#widget:Link|type=a|href={{#ifeq:{{FULLPAGENAME}}|Test:Admin|#|{{fullurl:Test:Admin}}}}|text=Admin}}</li>

Revision as of 13:43, 14 April 2017