Toggle menu
15
236
75
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 06:48, 9 March 2025 by Prd (talk | contribs) (Created page with "This example template shows how to use {{mfl|params|with_name_matching|...}} to emulate Module:Enumerate. {{A note}} For more complex cases, please see {{mfl|params|call_for_each_group}}. == Usage == For instance, <syntaxhighlight lang="wikitext">{{module:params/doc/examples/enumerate | 1 = cream | 2 = bingo | hello = world | foobar1 = one | foobar2 = two | foobar3 = three | foobar4 = foo | foobar5 = bar | foobar6 = Jupiter }}</syntaxhighlight> generates...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Params/doc/examples/enumerate

This example template shows how to use {{#invoke:params|with_name_matching|...}} to emulate Module:Enumerate.

information Note: For more complex cases, please see {{#invoke:params|call_for_each_group}}.

Usage

For instance,

{{module:params/doc/examples/enumerate
	| 1 = cream
	| 2 = bingo
	| hello = world
	| foobar1 = one
	| foobar2 = two
	| foobar3 = three
	| foobar4 = foo
	| foobar5 = bar
	| foobar6 = Jupiter
}}

generates

The parameters of type |foobar1, |foobar2|foobarN passed are:

  • one
  • two
  • three
  • foo
  • bar
  • Jupiter

See also