Difference between revisions of "MediaWiki:WSNavMenu"

From Venlo Samenwerkingswijzer
 
(13 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<div class="col-lg-12">
 
<div class="col-lg-12">
 
<!-- navigation bar -->
 
<!-- navigation bar -->
<div id="mw-navigation-sticky-wrapper" class="sticky-wrapper navbar navbar-default p-navbar full-width noprint sticky" style="height: 72px;">
+
<div id="mw-navigation-sticky-wrapper" class="sticky-wrapper navbar navbar-default p-navbar full-width noprint sticky">
 
<div class="container">
 
<div class="container">
<div class="navbar-collapse" id="mw-navigation-collapse">
+
<div class="navbar navbar-expand-lg navbar-collapse" id="mw-navigation-collapse">
 
<ul class="nav navbar-nav">
 
<ul class="nav navbar-nav">
 
<!-- Startpagina -->
 
<!-- Startpagina -->
 
<li class="{{#ifeq:{{FULLPAGENAME}}|Main Page|navbar-text|}}">[[Main Page|Home]]</li>
 
<li class="{{#ifeq:{{FULLPAGENAME}}|Main Page|navbar-text|}}">[[Main Page|Home]]</li>
<!-- Support -->
+
{{#ifingroup:sysop|<!-- 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 class="{{#ifeq:{{FULLPAGENAME}}|Wiki:Onderwerpen|navbar-text|}}">[[Wiki:Onderwerpen|Onderwerpen]]</li>
+
<li>{{#widget:Link|type=a|href={{#ifeq:{{FULLPAGENAME}}|Wiki:Onderwerpen|#|{{fullurl:Wiki:Onderwerpen}}}}|text=Onderwerpen}}</li>
<li class="{{#ifeq:{{FULLPAGENAME}}|Wiki:Verbeteringen|navbar-text|}}">[[Wiki:Verbeteringen|Verbeteringen]]</li>
+
<li>{{#widget:Link|type=a|href={{#ifeq:{{FULLPAGENAME}}|Wiki:Verbeteringen|#|{{fullurl:Wiki:Verbeteringen}}}}|text=Verbeteringen}}</li>
<li class="{{#ifeq:{{FULLPAGENAME}}|Special:ListFiles|navbar-text|}}">[[Special:ListFiles|Bestanden]]</li>
+
<li {{#ifeq:{{FULLPAGENAME}}|Special:ListFiles|navbar-text|}}>[[Special:ListFiles|Bestanden]]</li>
 +
<li>{{#widget:Link|type=a|href={{#ifeq:{{FULLPAGENAME}}|Wiki:Werken met Imagemap|#|{{fullurl:Wiki:Werken met Imagemap}}}}|text=Werken met Imagemap}}</li>
 
</ul>
 
</ul>
</li>
+
</li>}}
<!-- Contact -->
+
{{#ifingroup:wsadmin|<li class="dropdown">
<li class="{{#ifeq:{{FULLPAGENAME}}|Contact|navbar-text|}}>[[Contact|Contact]]</li>
+
{{#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">
 +
<li>{{#widget:Link|type=a|href={{#ifeq:{{FULLPAGENAME}}|Test:Admin|#|{{fullurl:Test:Admin}}}}|text=Admin}}</li>
 +
</ul>
 +
</li>}}<!--  
 +
Contact  
 +
--><li class="{{#ifeq:{{FULLPAGENAME}}|Contact|navbar-text|}}>[[Contact|Contact]]</li>
 
<!-- Colofon -->
 
<!-- Colofon -->
 
<li class="{{#ifeq:{{FULLPAGENAME}}|Colofon|navbar-text|}}>[[Colofon|Colofon]]</li></ul>
 
<li class="{{#ifeq:{{FULLPAGENAME}}|Colofon|navbar-text|}}>[[Colofon|Colofon]]</li></ul>

Latest revision as of 10:57, 18 March 2021