Difference between revisions of "Template:Category"
(added description and operation) |
m |
||
Line 40: | Line 40: | ||
contains help pages that describe how to use MediaWiki. | contains help pages that describe how to use MediaWiki. | ||
Only pages in "Help:" namespace should be in this category. | Only pages in "Help:" namespace should be in this category. | ||
− | |||
|frontpage=[[Help:Contents]] | |frontpage=[[Help:Contents]] | ||
}} | }} |
Latest revision as of 13:52, 1 December 2010
This template is used on common categories to provide a similarly looking short description and a link to the front page for the category.
Template
{{Category |description= |frontpage= }}
Parameters
- description
- Text added after the category name
- frontpage (optional)
- Link to the front page for the category, if exists.
Operation
- If frontpage is empty and a page with the name of the category exists (page name after
Category:
), it is automatically linked as front page.
Examples
The following is used in the Category:Help page:
{{Category |description= contains help pages that describe how to use MediaWiki. Only pages in "Help:" namespace should be in this category. |frontpage=[[Help:Contents]] }}
For more examples refer to pages, which use this template: What links here.
Help:Templates describes general usage of templates, including treatment of special characters.