DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:nsindex

nsindex Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown
  • 2014-09-29 "Hrun" unknown

plugin List pages/subnamespaces in current namespace in several ways

Last updated on
2017-07-28
Provides
Syntax
Repository
Source

Similar to nspages

Tagged with index

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Notes

  1. The plugin honors ACL settings, so it will list only pages/namespaces where the current user is allowed to access
  2. If useheading is set, the resulting list shows pages titles instead of their names
  3. Pages using this plugin are not cached at all. This is set internally by the plugin, so there is no need to add caching-pragma like .

Examples/Usage

The easiest is to use all defaults and just write {{nsindex}} inside a page, where the list had to be shown.

A

  • Activity
  • Alibaba
  • All-In
  • Alpha

B

  • Backed beans
  • Bold

Syntax

Without any options, the plugin lists all pages and subnamespaces (only first level) found in the current namespace, ordered and grouped alphabetically. Namespace-index pages (usually named start) are omitted by default.

{{nsindex}}

To show contents of other namespace than the current one, just add it after the keyword:

{{nsindex NAMESPACE}}

To change appearance of the list, there are some options:

{{nsindex OPTION...}}
Option Meaning
nopages List subnamespaces in current namespace only
nons List pages in current namespace only
nogroup Do not add alpha grouping-headers to list
notemplate Skip pages named template, _template, __template

Configuration and Settings

This plugin does not have any configuration settings.

Change Log

ToDo/Wish List

Discussion

plugin/nsindex.txt · Last modified: 2017-07-28 12:47 by og