{% comment %} props: - tag: string of the tag, formatting is handled by this element - search_key: the query parameter key for this type of tags {% endcomment %} {% assign formatted_tag = include.tag | replace: "_", " " %} {% comment %} format resolution tags{% endcomment %} {% if include.search_key == "res" %} {% assign formatted_tag = formatted_tag | upcase %} {% else %} {% assign formatted_tag = formatted_tag | downcase %} {% endif %} {% assign prestige = tag | get_prestige_level %} {{ formatted_tag }}