Template:Category navigation/people/cat

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]

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

ParameterDescriptionDefaultStatus
subjectpeople'people' portion of category name, used to look up data and construct other parametersemptyrequired
prefixprefixportion of category name preceding 'people' portion, excluding prepositionsemptyoptional
prefixprepprepositionpreposition from category name between prefix and people portionsemptyoptional
suffixsuffixportion of category name following 'people' portion, excluding prepositionsemptyoptional
suffixprepprepositionpreposition from category name between people and suffix portionsemptyoptional
formformset to use this alternate form of naming, must be a valid form listed in {{People data}}emptyrequired
siany valueadds "*" ahead of sort keyemptyoptional
parcatparent category nameadds category with this name and suppresses all other categorizationemptyoptional
parent1people parentadds category with name constructed using this as the 'people' parent in place of parents listed in {{People data}}emptyoptional
index1index criteriaadds "by index1" to end of category name constructed from parent1emptyoptional
sortsortkeyreplace subject as the primary sort keyemptyoptional
debugany valueenables debug functionality; use only in preview mode--do not publish with debug setemptyoptional

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