Template:Category navigation/people/cat
Jump to navigation
Jump to search
This documentation is transcluded from Template:Category navigation/people/cat/doc.
Sets categories as part of the {{Category navigation}} series; not intended for stand-alone use
Usage
{{Category navigation/people/cat |subject= |prefix= |prefixprep= |suffix= |suffixprep= |form= |si= |parcat= |parent1= |index1= |sort= |debug= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
subject | people | 'people' portion of category name, used to look up data and construct other parameters | empty | required |
prefix | prefix | portion of category name preceding 'people' portion, excluding prepositions | empty | optional |
prefixprep | preposition | preposition from category name between prefix and people portions | empty | optional |
suffix | suffix | portion of category name following 'people' portion, excluding prepositions | empty | optional |
suffixprep | preposition | preposition from category name between people and suffix portions | empty | optional |
form | form | set to use this alternate form of naming, must be a valid form listed in {{People data}} | empty | required |
si | any value | adds "*" ahead of sort key | empty | optional |
parcat | parent category name | adds category with this name and suppresses all other categorization | empty | optional |
parent1 | people parent | adds category with name constructed using this as the 'people' parent in place of parents listed in {{People data}} | empty | optional |
index1 | index criteria | adds "by index1" to end of category name constructed from parent1 | empty | optional |
sort | sortkey | replace subject as the primary sort key | empty | optional |
debug | any value | enables debug functionality; use only in preview mode--do not publish with debug set | empty | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
- Invokes {{Category navigation/cat/standard}} (1 time if input parameter parent1 is set, or if not set, 1 time for each parent found in {{People data}} for the subject)
- debug - passthrough of input debug
- index - for parent1, passthrough of input index1; for each subject parent from the data template, parent#index from data template
- nored - "y"
- sortkey - for parent1, passthrough of input sort; for each subject parent from the data template, parent#sort from data template; concatenated with "*" first if input si set
- topic - structured text based on inputs prefix, prefixprep, suffix, suffixprep, form, and data parameter parent# from {{People data}}
- Invokes {{People data}} seeking the following parameters
- form (this parameter name is set by input parameter form)
- parent1 ... parent4
- parent1index ... parent4index
- parent1sort ... parent4sort
- Invokes {{Mbox}} only if input debug is set
- text