def METHOD_NAME(name, dataType, desc, f):
    """
    Produce a table line with attributes using attribute name, type links
    and the description
    """
    f.write('<tr>')
    f.write('<td class="attrlist">%s</td>' % name)
    if dataType is None:
        link = ''
    elif dataType not in vdsmapi.TYPE_KEYS:
        dataType = html_escape(dataType)
        link = '<a href="#%s">%s</a>' % (dataType, dataType)
    else:
        link = dataType
    f.write('<td class="attrlist">%s</td>' % link)
    f.write('<td class="attrlist">%s</td>' % html_escape(desc or ''))
    f.write('</tr>\n')