(Imported by WSPageSync)
(Imported by PageSync)
Tag: Metadata slot edit
 
Line 1: Line 1:
<noinclude>{{Managed
+
<noinclude>
|Version=1.5
 
|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.2 - Removed duplicate ul
 
1.1 - Add option to use Href for dropdown links, so you can use url parameters.
 
1.0 - First managed version
 
|Short description=
 
|Feature=Wiki:Feature/1530870851
 
|Status=Live
 
|Uses managed items=}}
 
 
 
 
This is the '''WSNavMenu''' template. It should be called in the following format:
 
This is the '''WSNavMenu''' template. It should be called in the following format:
  
ws-base-props
Line 1: Line 1:
 
+
{{Base properties
 +
|Class=Application page
 +
|Title=Template:WSNavMenu
 +
|Version history={{Version history item
 +
|Version number=1.0
 +
|Version description=Initial version
 +
|Version date=2022-12-02 09:14:43
 +
}}
 +
}}
ws-class-props
Line 1: Line 1:
 
+
{{Application page properties
 +
|Type=CSP Basis Core
 +
|Origin=CSP Basis
 +
}}

Latest revision as of 13:46, 18 January 2023

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