(Imported by WSPageSync) |
(Imported by WSPageSync) |
||
Line 1: | Line 1: | ||
<noinclude>{{Managed | <noinclude>{{Managed | ||
− | |Version=1. | + | |Version=1.5 |
− | |Version notes=1.4 - Replaced arraymap and array parserfunctions (from the extensions PageForms and Arrays) with WSArrays equivalents. | + | |Version notes=1.5 - Replaced wsfield button with widget:Link |
+ | 1.4 - Replaced arraymap 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 | ||
Line 73: | Line 74: | ||
-->{{#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-md bg-primary mt-3 mt-md-0" ><!-- | ||
− | --> | + | -->{{#widget:Link |type=button |class=navbar-toggler |datatoggle=collapse |datatarget=#navbar1}}<!-- |
− | |||
--><div class="collapse navbar-collapse justify-content-between w-100" id="navbar1"><!-- | --><div class="collapse navbar-collapse justify-content-between w-100" id="navbar1"><!-- | ||
--><ul class="navbar-nav align-items-center"><!-- | --><ul class="navbar-nav align-items-center"><!-- |
Revision as of 08:34, 20 April 2022
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