automation: SortWorks & NoWorks

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

automation: SortWorks & NoWorks

Postby 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/Johann_Heinrich_Rolle

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

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

Re: automation: SortWorks & NoWorks

Postby 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/Template:Bio/composer
http://www.cpdl.org/wiki/index.php/Template:Bio/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


Return to “Operation and Implementation issues”

Who is online

Users browsing this forum: choralia and 2 guests