Template talk:NoCo
Pagename vs. Title (Composer)
Is there a template (or can this one be tweaked) that will work with the parenthetical part of the page name, for publication pages or for a sandbox project? (I'm also wondering how to test {{#SortWorks: at User:Richard Mix/Gregorian chant (Gregorian chant)) Richard Mix (talk) 08:55, 27 October 2016 (UTC)
- Hi Richard, the template CompFromWorkTitle seems to do what you need. As an example,
- {{CompFromWorkTitle|Ave Maria (II) (Charles Gounod)}}
- returns Charles Gounod. —Carlos (talk) 16:38, 28 October 2016 (UTC)
- Thanks,
I'll start using it atnot exactly what I was looking for though: is there an alternative to piping every title at Choralis Constantinus (Heinrich Isaac)? Richard Mix (talk) 21:02, 28 October 2016 (UTC)
- Thanks,
If I type {{NoCo|Benedictus es, Domine}} on that page I get the desired italicization, but a link to Benedictus es, Domine (Choralis Constantinus (Heinrich Isaac)) because the NoCo template, being first designed for composer pages, assumes the page name is identical to the composer. It could be more widely useful if it looked for the parenthetical expression. Is it feasible for NoCo to take a page name in the form "Publication (Composer)" and produce a link to "Template argument (Composer)"? Richard Mix (talk) 22:37, 29 October 2016 (UTC)