Page 1 of 1

automation: SortWorks & NoWorks

Posted: 22 Oct 2016 09:32
by Richard Mix
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?

Re: automation: SortWorks & NoWorks

Posted: 22 Oct 2016 15:39
by carlos
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