def METHOD_NAME(type, arr):
    arr.append("[" + type + "](https://spelunky-fyi.github.io/overlunky/#" + type + ")")
    if type in entity_class_hierarchy:
        parent_type = entity_class_hierarchy[type]
        METHOD_NAME(parent_type, arr)