Template talk:NoCo: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(request)
 
Line 1: Line 1:
==Pagename vs. Title (Composer)==
==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)]]) [[User:Richard Mix|Richard Mix]] ([[User talk:Richard Mix|talk]]) 08:55, 27 October 2016 (UTC)
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)]]) [[User:Richard Mix|Richard Mix]] ([[User talk:Richard Mix|talk]]) 08:55, 27 October 2016 (UTC)
:Hi Richard, the template {{CT|CompFromWorkTitle}} seems to do what you need. As an example,
::{{tl|CompFromWorkTitle|Ave Maria (II) (Charles Gounod)}}
: returns {{CompFromWorkTitle|Ave Maria (II) (Charles Gounod)}}. —[[User:Carlos|Carlos]] [[User talk:Carlos|(talk)]] 16:38, 28 October 2016 (UTC)

Revision as of 16:38, 28 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)