Would it be possible to extend Template:Lyricist to allow for comments after each individuals' names? This score page looks a bit untidy because the lyricists all have to be listed on separate lines with individual templates. Could we have an optional syntax of:
{{Lyricist|1=Joe Bloggs|Comment1= (part 1)|2=John Smith|Comment2= (part 2)|3=John Brown|Comment3= (part3)}}
which would output:
'''Lyricists:''' [[Joe Bloggs]] (part 1), [[John Smith]] (part 2) and [[John Brown]] (part3)
Extending Template:Lyricist
Extending Template:Lyricist
Rob Nottingham
CPDL Administrator
CPDL Administrator
Re: Extending Template:Lyricist
Is there any chance of this? We have the same problem with this page. TIA!
Rob Nottingham
CPDL Administrator
CPDL Administrator
Re: Extending Template:Lyricist
Done, Rob, the new syntax is as follows:
Whenever just one text is provided, it goes to the end of the line (for compatibility reasons). If more than one text is provided, each one goes right after the corresponding lyricist name.
Taking your example, the same can be accomplished this way:
Code: Select all
{{Lyricist|lyricistname|optionaltext|9=optional_sortkey}}
{{Lyricist|2|lyricistname_1|lyricistname_2|optionaltext|9=optional_sortkey}}
{{Lyricist|2|lyricistname_1|lyricistname_2|optionaltext_1|optionaltext_2|9=optional_sortkey}}
{{Lyricist|3|lyricistname_1|lyricistname_2|lyricistname_3|optional_text|9=optional_sortkey}}
{{Lyricist|3|lyricistname_1|lyricistname_2|lyricistname_3|optionaltext_1|optionaltext_2||9=optional_sortkey}}
{{Lyricist|3|lyricistname_1|lyricistname_2|lyricistname_3|optionaltext_1|optionaltext_2|optionaltext_3|9=optional_sortkey}}
Taking your example, the same can be accomplished this way:
Code: Select all
{{Lyricist|3|Joe Bloggs|5= (part 1)|John Smith|6= (part 2)|John Brown|7= (part3)}}
Re: Extending Template:Lyricist
Thanks, Carlos - that's great. I've just fixed those two score pages.
Rob Nottingham
CPDL Administrator
CPDL Administrator