automation: SortWorks & NoWorks

Forum for all users to discuss the implementation and operation of the ChoralWiki at CPDL
Post Reply
Richard Mix
Posts: 117
Joined: 31 Jan 2010 04:51

automation: SortWorks & NoWorks

Post by Richard Mix » 22 Oct 2016 09:32

I find myself wondering if there isn't a way to have a single template do the work of

{{#SortWorks:}}
{{NoWorks}}

both(!) of which I found present on http://www.cpdl.org/wiki/index.php/Joha ... rich_Rolle

Could Born: and Died: templates also replace [[Category:unknown Births &c?

carlos
Site Admin
Posts: 1804
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: automation: SortWorks & NoWorks

Post by carlos » 22 Oct 2016 15:39

Richard Mix wrote:Could Born: and Died: templates also replace [[Category:unknown Births &c?
Hi Richard. Regarding your suggestion above, I was thinking of a broader solution: a Biographic template that would encompass all personal data and make the proper categorizations. In fact such template already exists, in two flavours:

http://www.cpdl.org/wiki/index.php/Temp ... o/composer
http://www.cpdl.org/wiki/index.php/Temp ... o/lyricist

But as Max started creating parser functions (such as {{#SortWorks:}}), I suggested to him the creation of a parser function similar to the templates above:
viewtopic.php?f=16&t=8076&p=22452#p22452

Post Reply