Diff: Help/CategoryPagePlugin
Note: You are viewing an old revision of this page. View the current version.
Differences between version 3 and predecessor to the previous major change of Help/CategoryPagePlugin.
Other diffs: Previous Revision, Previous Author
| Newer page: | version 3 | Last edited on 22 May 2014 3:01 | by harold | Revert | 
| Older page: | version 2 | 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** 
 
+| 
 
+| 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 == 
 
+* [[WikiLens:DanFr]] 
 
+ 
 
+== 
See Also ==
  
+* [[
Help:TemplatePlugin|TemplatePlugin]] 
 
+* [[
Help:CreatePagePlugin|CreatePagePlugin]] 
 
+ 
 
+<noinclude>
 
 ---- 
-PhpWikiDocumentation Help:WikiPlugin
 
+[[
PhpWikiDocumentation]] [[CategoryWikiPlugin]] 
 
+</noinclude>
 
version 3
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  | 
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.