]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FListPagesPlugin
Initialize $html
[SourceForge/phpwiki.git] / pgsrc / Help%2FListPagesPlugin
1 Date: Tue, 27 Nov 2012 11:38:57 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FListPagesPlugin;
5   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
6   charset=UTF-8
7 Content-Transfer-Encoding: binary
8
9 The **~ListPages** [[Help:WikiPlugin|plugin]] is the simplest plugin to explicitly list a set of pages with all available
10 [[Help:PageList|PageList]] options, mainly used for a wikilens theme to display ratings info
11 and recommendations.
12
13 It can also be used with the [[PhpWiki:PluginList]] method to list a set of pages generated by
14 another plugin, and/or to exclude a set of pages generated by another plugin.
15
16 See the [[Help:PageList|PageList]] options.
17
18 == Usage ==
19
20 {{{
21 <<ListPages arguments>>
22 }}}
23
24 == Arguments ==
25
26 All [[Help:PageList|PageList]] arguments, plus the following ones:
27
28 {| class="bordered"
29 |-
30 ! Argument
31 ! Description
32 ! Default value
33 |-
34 | **pages**
35 | Pages to list
36 | false
37 |-
38 | **dimension**
39 |
40 | 0
41 |}
42
43 === Additional info arguments ===
44
45 |= top3recs     | recommendations (wikilens theme only)
46 |= numbacklinks | number of backlinks (links to the given page)
47 |= numpagelinks | number of forward links (links at the given page)
48
49 == Examples ==
50
51 {{{
52 <<ListPages pages=HomePage,FindPage>>
53 }}}
54
55 {{{
56 <<ListPages info=hits
57             sortby=hits
58             pages=<!plugin-list BackLink page=[] !>
59             exclude=ListPagesPlugin,WikiPlugin
60 >>
61 }}}
62
63 <noinclude>
64 ----
65 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
66 </noinclude>