Inyandikorugero:Catlist/doc
This is a documentation subpage for Inyandikorugero:Catlist. It contains usage information, categories and other content that is not part of the original inyandikorugero page. |
This template uses Lua: |
Usage
[hindura inkomoko]This template creates a comma-separated list of categories formatted as links. By default, the last two categories are separated by "and".
Examples
[hindura inkomoko]Type this | To get this |
---|---|
{{Catlist|1989|1990|1991|1992|1993}}
|
|
{{Catlist|1989|1990|1991|1992|1993|conjunction=comma}}
|
|
{{Catlist|1989|1990|1991|1992|1993|conjunction=&}}
|
|
{{Catlist|1989|1990|1991|1992|1993|separator=semicolon}}
|
|
{{Catlist|1989|1990|1991|1992|1993|separator=dot}}
|
|
{{Catlist|1989|1990|1991|1992|1993|separator=dash}}
|
|
{{Catlist|1989|1990|1991|1992|1993|separator=slash}}
|
|
{{Catlist|1989|1990|1991|1992|1993|separator=none}}
|
Parameters
[hindura inkomoko]TemplateData for Catlist
This template creates a comma-separated list of pages formatted as links. The last two pages in the list are separated by "and" instead of a comma. Any number of pages may be included in the list.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Namespace | nspace | Namsespace on which the page is located, without the trailing colon (":"). Acceptable values are "Talk", "File", "File talk", "Category", "Category talk", "Help", "Help talk", "Wikipedia", "Wikipedia talk", "Portal", "Portal talk", "Template", "Template talk", "Module", "Module talk", "User", "User talk", and anything added in the future.
| String | optional |
Prefix (starting delimiter) | delim | Wikicode to insert before each page name. Default is nothing. If this parameter is specified and no suffix parameter is specified, the contents of this parameter would also be used as the suffix. | Unbalanced wikitext | optional |
Suffix (ending delimiter) | edelim | Wikicode to insert after each page name. If not specified, the default is the value of the prefix parameter. | Unbalanced wikitext | optional |
Separator | separator | The character(s) used to separate specified page names, excluding the last two. Default is comma.
| String | optional |
Conjunction | conjunction | The character(s) used to separate the last two items. Default is "and".
| String | optional |
Page name 1 | 1 | no description | Unbalanced wikitext | optional |
Page name 2 | 2 | no description | Unbalanced wikitext | optional |
Page name 3 | 3 | no description | Unbalanced wikitext | optional |
Page name 4 | 4 | no description | Unbalanced wikitext | optional |
Page name 5 | 5 | no description | Unbalanced wikitext | optional |
Page name 6 | 6 | no description | Unbalanced wikitext | optional |
Page name 7 | 7 | no description | Unbalanced wikitext | optional |
Page name 8 | 8 | no description | Unbalanced wikitext | optional |
Page name 9 | 9 | no description | Unbalanced wikitext | optional |
Page name 10 | 10 | no description | Unbalanced wikitext | optional |
See also
[hindura inkomoko]- Template:Cat, for a single category
- Template:Pagelist, for pages