Template:Combine document categories: Difference between revisions
Template page
More actions
Redheadkelly (talk | contribs) Created page with "<includeonly>{{#invoke:Cartesian with comma|combine | {{{locations}}} | {{lc:{{{subjects}}}}} | format = Category:%s %s documents }}</includeonly><noinclude>{{documentation |content= 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 {{NS|Sourc..." |
Redheadkelly (talk | contribs) m 1 revision imported |
(No difference)
| |
Latest revision as of 04:03, 31 March 2026
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Locations | locations | List of locations separated by a semicolon. | String | required |
| Subjects | subjects | List of subjects separated by a semicolon. | String | required |