Template:Module category
Revision as of 19:47, 8 December 2018 by en>Mr. Guye
|
{{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
The above documentation is transcluded from Template:Module category/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |