Sjabloon:WSNavMenu: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
 
(2 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
 
<noinclude>{{Managed
 
<noinclude>{{Managed
 
|Version=1.4
 
|Version=1.4
|Version notes=1.4 - Replaced arraymap and array parserfunctions (from the extensions PageForms and Arrays) with WSArrays equivalents.
+
|Version notes=1.4 - Replaced caamap and array parserfunctions (from the extensions PageForms and Arrays) with WSArrays equivalents.
 
1.3 - Modified version for Chameleon 2.0
 
1.3 - Modified version for Chameleon 2.0
 
1.2 - Removed duplicate ul
 
1.2 - Removed duplicate ul
Regel 72: Regel 72:
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
 
-->{{#vardefine:@lt|*}}<!--
 
-->{{#vardefine:@lt|*}}<!--
   --><div class="navbar navbar-dark navbar-expand-md bg-primary mt-3 mt-md-0" ><!--
+
   --><div class="navbar navbar-dark navbar-expand-lg bg-primary mt-3 mt-md-0" ><!--
 
     --><wsfield class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar1"><!--
 
     --><wsfield class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar1"><!--
 
     --></wsfield><!--
 
     --></wsfield><!--
Regel 131: Regel 131:
 
       --></li>|\s}}<!--
 
       --></li>|\s}}<!--
 
     --></ul><!--  
 
     --></ul><!--  
    --><div class="d-flex justify-conent-end"><!--
 
      -->{{Login button}}<!--
 
    --></div><!--
 
 
  --></div><!--
 
  --></div><!--
 
--></div><!--
 
--></div><!--
 
--></includeonly>
 
--></includeonly>

Huidige versie van 23 apr 2022 om 15:08


This is the WSNavMenu template. It should be called in the following format:

{{WSNavMenu
|Input=<text> enter a list of pages, with each subitem on a new line and an empty line between main menu items (see example below). Use "*" to add a linktext different from the pagetitle and "-" to add a divider between lines.
}}
{{WSNavMenu
|Input=Main Page*{{Fa|home}} Home

Pages

Search*Search

{{Fa|lock}} Spaces
Special:AddSpace*Add a Space
Special:ActiveSpaces*Manage Active Spaces
Special:ArchivedSpaces*Manage Archived Spaces

{{Fa|lock}} Tools
MediaWiki:Ws-navmenu*NavMenu
MediaWiki:Ws-header*Header
MediaWiki:Ws-footer*Footer
-
Wiki:page-types*Page types
Wiki:Wiki pages*Wiki pages
-
File:Logo.png*Logo
}}

Test