Diff: Help/CategoryPagePlugin

Differences between current version and predecessor to the previous major change of Help/CategoryPagePlugin.

Other diffs: Previous Revision, Previous Author

Newer page: version 5 Last edited on 17 January 2022 3:00 by harold
Older page: version 4 Last edited on 9 September 2007 0:16 by harold Revert
@@ -1,27 +1,63 @@
-_short description_  
+The **~CategoryPage** [[Help:WikiPlugin|plugin]] puts boilerplate text on a category page to make it easily usable by novices.  
  
-! Usage  
-<verbatim>  
- <?plugin CategoryPage ?>  
-< /verbatim>  
+It finds the file templates /categorypage.tmpl, then loads it with a few variables substituted.  
  
-! Arguments  
+This has only been used in wikilens.org.  
  
-page _(default: current pagename)_:  
- The page to execute upon.  
+== Usage ==  
+{{{  
+<?plugin-form CategoryPage arguments ?>  
+}}}  
  
-! Example  
+== Arguments ==  
  
-<verbatim>  
-<?plugin CategoryPage pagename=CategoryTest ?>  
-</verbatim>  
+{| class="bordered"  
+|-  
+! Argument  
+! Description  
+! Default value  
+|-  
+| **exclude**  
+| Comma-separated list of pages to exclude  
+| false  
+|-  
+| ** pagename**  
+|  
+| current page  
+|-  
+| **plural**  
+|  
+| false  
+|-  
+| **singular**  
+|  
+| false  
+|-  
+| **self_on_create**  
+|  
+| true  
+|-  
+| **showbuds**  
+|  
+| false  
+|}  
  
-<?plugin CategoryPage pagename =CategoryTest ?>  
+== Example ==  
  
-! Author  
-WikiLens:DanFr  
+{{{  
+<?plugin-form CategoryPage pagename=CategoryExample?>  
+}}}  
  
-! See Also  
-Help:TemplatePlugin Help:CreatePagePlugin 
+<?plugin-form CategoryPage pagename=CategoryExample?>  
+  
+== Author ==  
+* Dan Frankowski  
+  
+== See Also ==  
+* [[ Help:TemplatePlugin|TemplatePlugin]]  
+* [[ Help:CreatePagePlugin|CreatePagePlugin]]  
+  
+<noinclude>  
 ---- 
-PhpWikiDocumentation Help:WikiPlugin  
+[[ PhpWikiDocumentation]] [[CategoryWikiPlugin]]  
+</noinclude>  

current version

The CategoryPage plugin puts boilerplate text on a category page to make it easily usable by novices.

It finds the file templates/categorypage.tmpl, then loads it with a few variables substituted.

This has only been used in wikilens.org.

Usage

<?plugin-form CategoryPage arguments ?>

Arguments

Argument

Description

Default value

exclude

Comma-separated list of pages to exclude

false

pagename

current page

plural

false

singular

false

self_on_create

true

showbuds

false

Example

<?plugin-form CategoryPage pagename=CategoryExample?>
Plugin “CategoryPage” does not exist.

Author

  • Dan Frankowski

See Also