My front-end template calls a partial to load different content based on the collection type. Each entry has fields to provide taxonomy terms, limits, sorting, etc. to each instance in the layout. I've been able to pass various collection filtering/sorting settings through using the partial parameters, except for the individual taxonomy, which needs to change based on the collection. I'd like to be able to send the taxonomy through a partial parameter (called "FILTER_TAXONOMY" in the code samples below).

I could create a different partial file for each collection, but it seems like there should be a way to pass the taxonomy into this code.

  {{ collection
    from="{linked_collection}"
    taxonomy:{FILTER_TAXONOMY}:any="{collection_filter}"
    limit="{ number_of_entries }"
    sort="{ sorting }"
  }}

This is the partial tag:

{{ partial:block-linked_content
       linked_collection="news"
       FILTER_TAXONOMY="news_tags"  // "dept_tags", "asset_tags", etc.
       collection_filter="{filter_by_tags|option_list|strip_text:***/}"
       sorting="{sorting}" 
  }}