Template talk:NoCo: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
Line 5: Line 5:
: returns {{CompFromWorkTitle|Ave Maria (II) (Charles Gounod)}}. —[[User:Carlos|Carlos]] [[User talk:Carlos|(talk)]] 16:38, 28 October 2016 (UTC)
: returns {{CompFromWorkTitle|Ave Maria (II) (Charles Gounod)}}. —[[User:Carlos|Carlos]] [[User talk:Carlos|(talk)]] 16:38, 28 October 2016 (UTC)
::Thanks, <strike>I'll start using it at</strike> not exactly what I was looking for though: is there an alternative to piping every title at [[Choralis Constantinus (Heinrich Isaac)]]? [[User:Richard Mix|Richard Mix]] ([[User talk:Richard Mix|talk]]) 21:02, 28 October 2016 (UTC)
::Thanks, <strike>I'll start using it at</strike> not exactly what I was looking for though: is there an alternative to piping every title at [[Choralis Constantinus (Heinrich Isaac)]]? [[User:Richard Mix|Richard Mix]] ([[User talk:Richard Mix|talk]]) 21:02, 28 October 2016 (UTC)
:::Template NoComp is the answer: type {{NoComp|Inclina aurem tuam|Heinrich Isaac}} on the related line.  [[User:Claude T|Claude]] ([[User talk:Claude T|talk]]) 08:34, 29 October 2016 (UTC)
:::Template NoComp is the answer: type <NoWiki>{{NoComp|Inclina aurem tuam|Heinrich Isaac}}</NoWiki> on the related line.  [[User:Claude T|Claude]] ([[User talk:Claude T|talk]]) 08:34, 29 October 2016 (UTC)

Revision as of 11:12, 29 October 2016

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 {{NoComp|Inclina aurem tuam|Heinrich Isaac}} on the related line. Claude (talk) 08:34, 29 October 2016 (UTC)