This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:pluginsyntax:filelist [2022/11/15 01:18] – Alan Shea | wiki:pluginsyntax:filelist [2025/07/17 22:27] (current) – deleting plugin Alan Shea | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======File List Plugin==== | ||
- | The [[http:// | ||
- | |||
- | ===== Usage ===== | ||
- | |||
- | The filelist plugin provides two new commands to be used in wiki pages, '' | ||
- | < | ||
- | {{[ command ]>[ pattern ][ parameterlist ]}} | ||
- | </ | ||
- | |||
- | * **command** must be either '' | ||
- | * **pattern** is a searching pattern for files to include in the generated list, defined using the [[http:// | ||
- | * **parameterlist** can be used to define optional, ''&'' | ||
- | |||
- | ==== Paths ==== | ||
- | |||
- | The filelist plugin supports both absolute as well as relative paths into the filesystem or Dokuwiki media namespaces. All paths are checked against a whitelist of allowed paths for scanning (as defined via the [[# | ||
- | |||
- | Relative paths into the filesystem are interpreted relative to the Dokuwiki basedir. Relative media paths (without a leading '':'' | ||
- | |||
- | ==== Parameters ==== | ||
- | |||
- | ^ Name ^ Description ^ Possible values ^ Default ^ | ||
- | | '' | ||
- | | '' | ||
- | | '' | ||
- | ^ ^ '' | ||
- | | '' | ||
- | | '' | ||
- | | '' | ||
- | | '' | ||
- | | '' | ||
- | | '' | ||
- | | '' | ||
- | | '' | ||
- | ^ ^ '' | ||
- | | '' | ||
- | |||
- | ===== Examples ==== | ||
- | |||
- | ==== filename === | ||
- | |||
- | < | ||
- | |||
- | turns into | ||
- | |||
- | {{filename>: | ||
- | |||
- | ==== filelist === | ||
- | |||
- | == Example 1 == | ||
- | |||
- | < | ||
- | |||
- | turns into | ||
- | |||
- | {{filelist>: | ||
- | |||
- | == Example 2 == | ||
- | |||
- | < | ||
- | |||
- | turns into | ||
- | |||
- | {{filelist> | ||
- | |||
- | == Example 3 == | ||
- | |||
- | < | ||
- | |||
- | turns into | ||
- | |||
- | {{filelist> |
Copyright © Alan Shea, 2011-2025