Toggle menu
15
236
81
27.8K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Params/doc/examples/list of authors/doc: Difference between revisions

From Kenshi Wiki
Prd (talk | contribs)
Created page with "This example template shows how to use {{mfl|params|call_for_each_group}} in order to create a list of authors in the same way as {{tl|Cite book}} does. == Usage == For instance, writing <syntaxhighlight lang="wikitext">{{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. }}</syntaxh..."
 
Prd (talk | contribs)
No edit summary
Line 40: Line 40:
[[Category:Module documents]]
[[Category:Module documents]]
[[Category:Module misc documents]]
[[Category:Module misc documents]]
{{no documentation}}
</noinclude>
</noinclude>

Revision as of 06:39, 9 March 2025

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