Template talk:MCD

Idea to deal with capitalization issues in MCD
I was thinking it would be helpful if this (or more likely a new variant of this) template could be used to do automatic capitalization of MCD links.

The reason I am posting about this is currently we are doing a lot of: and this seems like something we could automate.

Consider: the template takes the link name and:
 * looks it up in a module
 * If the name is in the module, we get the desired caps from there. These act as overrides.
 * If nothing is in the module, we lowercase the whole thing.
 * If a parameter such as initcaps=1 is there, we will initial cap it for sentence starts.

would render as 'boots of swiftness'.

would render as 'Boots of swiftness'.

would have an override and always render as 'Valorie'.

Advantages:
 * Less typing of the same phrase twice
 * If we change caps rules, we only need to change the template

Disadvantages:
 * It's another template to learn

I'm happy to try my hand at this if we think it's useful (I certainly do after typing a bunch of these last night :-)).

Thoughts? - AD OffKilter (talk) 15:16, 2 August 2022 (UTC)