program: switch( current_library_name(), 'libraryname1', template1, 'libraryname2', template2, 'libraryname3', template3, fallback_template )