Changes

Jump to navigation Jump to search
no edit summary
<noinclude>
This template is used to convert an array of author names like "Thomas Kuhn, Imre Lakatos, Larry Laudan" into a ''pretty'' list of "Kuhn, Thomas; Lakatos, Imre; and Laudan, Larry". If there are more than three authors, the "Kuhn, Thomas ''et al.''" will be returned.
'''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
-->{{#ifexpr: {{#arraysize:authorsArray}} < 4 <!--
-->|{{#arrayprint:authorsArray |;&#32;|@@@@|{{PrintAuthorLastNameCommaFirstName|author=@@@@}}|print=pretty }}<!-- less than four authors
-->|{{PrintAuthorLastNameCommaFirstName|author={{#arrayindex:authorsArray |0 }} }} ''et al.''<!-- more than three authors
-->}}<!--ifexpr
-->{{{outro|}}}<!--

Navigation menu