Hi @gn_themes,
thanks for the quick answer!
The get_term_function() works. But I think I didn’t formulate my question correctly: what I need to know is how to figure out the term ID that has been passed to the Query that the code in the template is processing.
In other words, if I hard-code the term ID (as in get_term_link(265)), I would have to create a different template for each set of articles I want to display on the page. If there is a way of getting the term ID parameter through code, I can use the same template for any term.