Plugin Show Pages
This Wiki Plugin displays a list of links to wiki pages with pagenames that match a search term supplied as a parameter. The name and/or decription of the pages are listed.Table of contents
Usage and Parameters
To use this plugin in a wiki page, use the syntax:Syntax for the SHOWPAGES plugin
{SHOWPAGES(find=> , max=> , display=> name|desc) /}| Parameter | Accepted values | Default | Effect | Required? | Since |
|---|---|---|---|---|---|
| find | any text string | none | This is the search term that is matched against all wiki page names on the site | y | |
| max | positive integer | none (all matching pages listed) | Limits the number of pages shown in the list to this amount | n | |
| display | name or desc |
Both the name and description of the matching pages are shown in the list if this parameter is left blank | Set to name to show only the page name as the link text in the list. Set to desc to show only the page descriptions, but the page name will be shown for pages where there is no description. |
n |
Examples
Both Name and Description
This code,Search plugin with max of 10
{SHOWPAGES(find=>plugin, max=>10,) /}Would produce on this site:
Only Description
This code,Search plugin with max of 10
{SHOWPAGES(find=>plugin, max=>10, display=>desc) /}Would produce on this site:
The same 10 pages are listed here as in the first example, but here the list is a mix of page descriptions and page names because the parameter is set to list page descriptions but page names are still used for those pages without descriptions.
Related pages
- Wiki Plugin
- Mods Type Wikiplugins
- PluginListPages - for more refined searches
- PluginTitleSearch - a similar plugin, but this one produces a table showing page hits and the user who last edited the page
