def METHOD_NAME(self, name):
    user_metadata = self.get_user_metadata(name)
    try:
        params = self.get_metadata_table(name)
    except Exception as e:
        errors.display(e, f"reading metadata info for {name}")
        params = []
    table = '<table class="file-metadata">' + "".join(f"<tr><th>{name}</th><td>{value}</td></tr>" for name, value in params if value is not None) + '</table>'
    return html.escape(name), user_metadata.get('description', ''), table, self.get_card_html(name), user_metadata.get('notes', '')