Template:AutoDMC
This template reads a category's title, splits it into parts, and feeds those parts into {{DMC}}.
Usage
{{AutoDMC |lc= }}
Please keep in mind that this template automatically splits based on the word "by", meaning that if one of the criteria has by in it, it will incorrectly split. This will also happen if the metacat is, for some reason, not split by the word "by". In these cases please use {{DMC}} with manual inputs.
It should also be noted that this template can not tell if the first parameter should be capitalized or not. It defaults to capitalized, which is good if your category starts with a proper noun or a number. Otherwise, though, you'll want to use the lc toggle, or just use regular {{DMC}}.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
lc | If "y", the first section of the title is treated as starting with a regular word rather than a proper noun. | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the Category namespace
The template is intended to be used by the following user groups: all users
Relies on:
Template:DMC
Example
{{AutoDMC|1=anything}}
renders as:
Warning! This is the AutoDMC template! Any parameters you put into this thing will get ignored. Please use regular DMC instead for manual inputs. Thanks.
Localization
This template is not intended to be localized.