secondary_info does not support template scripts. In some cases an extention can be used (custom_secondary_info), but in some cases that wouldn’t be possible. Why is this not supported anyway by default?
This is covered already:
Add your vote there.