Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Combine document categories

Template page
Template documentation

This template is used to create category names from a list of locations and a list of subjects. A common will be added after locations that require a comma and subjects will be converted to lower case. It is intended for use in templates that create document in the Source: namespace.

{{Combine categories
|locations=''locations''
|subjects=''locality_subjects''
}}

Example

Input:

{{Combine categories
|locations=Bucks County, Pennsylvania;Chester County, Pennsylvania;Pennsylvania
|subjects=Court records;Probate records;Vital records
}}

Output:

[[Category:Pennsylvania court records documents]]
[[Category:Pennsylvania probate records documents]]
[[Category:Pennsylvania vital records documents]]
[[Category:Bucks County, Pennsylvania, court records documents]]
[[Category:Bucks County, Pennsylvania, probate records documents]]
[[Category:Bucks County, Pennsylvania, vital records documents]]
[[Category:Chester County, Pennsylvania, court records documents]]
[[Category:Chester County, Pennsylvania, probate records documents]]
[[Category:Chester County, Pennsylvania, vital records documents]]

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Locationslocations

List of locations separated by a semicolon.

Stringrequired
Subjectssubjects

List of subjects separated by a semicolon.

Stringrequired
Contents