Difference between revisions of "Template:PrintAuthorsArrayLastNameCommaFirstName"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This template is used to convert an array of author names like "Thomas Kuhn, Imre Lakatos, Larry Laudan" into "Kuhn, Thomas; Lakatos, Imre | + | 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. | '''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page. |
Revision as of 13:55, 7 September 2016
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.
Parameters:
|authors=
- a comma delimited list of authors.|intro=
- initial text that precedes the output, if at least some results exist.|outro=
- text that is appended to the output, if at least some results exist.|default=
- if, for any reason, the query returns no results, this will be printed instead.