Template talk:NoCo

From ChoralWiki
Jump to navigation Jump to search

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 at not 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)
Template NoComp is the answer: type Inclina aurem tuam on the related line. Claude (talk) 08:34, 29 October 2016 (UTC)