Difference between revisions of "Template:Module category/doc"
Jump to navigation
Jump to search
en>Zyxw (create documentation for new template, based on documentation at Template:Template category/doc) |
(No difference)
|
Revision as of 10:35, 31 January 2016
This is a documentation subpage for Template:Module category. It contains usage information, categories and other content that is not part of the original template page. |
{{Module category}} can be placed at the top of categories that contain module pages and related subcategories.
<templatestyles src="Template:TOC limit/styles.css" />
Usage
Full syntax
{{Module category | topic = | description = | help = }}
Parameters
The template may be used without any parameters, i.e. as {{Module category}}
.
Example: no parameters
|
The following parameters may be used to make the template more informative.
topic
- Use topic to add a description ending "...relating to topic".
Example: topic
{{Module category |topic=''topic''}}
|
description
- Use description to add a description in place of – or in addition to – the topic description above.
Example: description
{{Module category |description=This text is supplied by the ''description'' parameter.}}
|
Example: topic and description
{{Module category | topic = ''topic'' | description = ''description'' }}
|
help
- Use help to replace the instructions on adding a module to the category (second paragraph of the "Further module category notes" section). To omit the default instructions, set help to false, no, etc.
Example: replace help text
{{Module category |help=This text supplied by the ''help'' parameter.}}
|
Example: omit help text
{{Module category |help=no}}
|
See also
Other category-header templates