apidoc::format_author_list (private)

 apidoc::format_author_list authors

Defined in packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl

Generates an HTML-formatted list of authors (including <dt> and <dd> tags).

Parameters:
authors (required)
the list of author strings.
Returns:
the formatted list, or an empty string if there are no authors.

Partial Call Graph (max 5 caller/called nodes):
%3 apidoc::format_common_elements apidoc::format_common_elements (private) apidoc::format_author_list apidoc::format_author_list apidoc::format_common_elements->apidoc::format_author_list apidoc::format_author apidoc::format_author (public) apidoc::format_author_list->apidoc::format_author

Testcases:
No testcase defined.
Source code:
        if { [llength $authors] == 0 } {
            return ""
        }
        append out "<dt>Author[expr {[llength $authors] > 1 ? "s" : ""}]:</dt>\n"
        foreach author $authors {
            append out "<dd>[format_author $author]</dd>\n"
        }
        return $out
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: