Misplaced Pages

Module:Params/doc/examples/list of authors/doc

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Module:Params | doc | examples | list of authors
This is a documentation subpage for Module:Params/doc/examples/list of authors.
It may contain usage information, categories and other content that is not part of the original module page.

This example template shows how to use {{#invoke:params|call_for_each_group}} in order to create a list of authors in the same way as {{Cite book}} does.

Usage

For instance, writing

{{module:params/doc/examples/list of authors
	| last1 = Playfair
	| first1 = I. S. O.
	| author-link1 = Ian Stanley Ord Playfair
	| last2 = Stitt
	| first2 = G. M. S.
	| last3 = Molony
	| first3 = C. J. C.
	| last4 = Toomer
	| first4 = S. E.
}}

will generate

Playfair, I. S. O.; Stitt, G. M. S.; Molony, C. J. C. & Toomer, S. E.

Helper subtemplates