个人工具

UbuntuHelp:WikiSandBox/CategoryConcept/TemplateCategory

来自Ubuntu中文

Wikibot讨论 | 贡献2009年11月17日 (二) 21:18的版本 (重定向页面到 UbuntuHelp:@

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

重定向页面
跳转至: 导航, 搜索

重定向至:

PAGE @/ This page contains instructions about how to create a new category. You should delete most of the content during the creation process.

Instructions for category creation

Categories are a way of grouping content together in a wiki. Categories in this wiki should always have names of the form Category/MajorCategory/MinorCategory. For example Category/Applications/Accessories is the name of the Accessories sub-category within the Applications category. When you create a new category, you should add a standard category footer in this page, and create sub-pages with information about the category. Standard sub-pages are described below. Note: In a real implementation, this page would be " and the @ PAGE @ marks wouldn't have spaces in them. The current page name was chosen to avoid including this concept page in the list of template pages.

Information about the category

You should create information about the current category at [[UbuntuHelp:.]]

Page list

You should create a list of pages in the current category at [[UbuntuHelp:.]] Here is the recommended text for the page:

#title Pages in <CATEGORY NAME>

== Pages in <CATEGORY NAME> ==

<<FullSearchCached(category:@ PAGE @ -category:@ PAGE @/)>>

Sub-category list

You should create a list of sub-categories of this category at [[UbuntuHelp:.]] Here is the recommended text for the page:

#title Subcategories for Applications

== Subcategories for Applications ==

<<FullSearchCached(t:re:@ PAGE @/[^/:]*$)>>

header (optional)

If you want pages to have a header, you should create a header at [[UbuntuHelp:.]] Because this increases the amount of work that page authors are expected to do, page headers are not recommended.

footer (this page)

The current page will be displayed at the bottom of every page in the category. Once you have created all the sub-pages described above, you should replace this page with an appropriate page footer. The standard footer is included below. Unless want to use a specialised category footer, you should just remove everything between the lines marked ## BEGIN CATEGORY INSTRUCTIONS and ## END CATEGORY INSTRUCTIONS.

[[UbuntuHelp:WikiSandBox/ Pages]] [[UbuntuHelp:WikiSandBox/]]