Jump to content

Module:Params/doc/examples/enumerate/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
First draft
 
add internal link
Line 25: Line 25:
| foobar6 = Jupiter
| foobar6 = Jupiter
}}
}}

== See also ==
* {{[[Module:Params/doc/examples/inline ordered list]]}}


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||

Revision as of 02:52, 16 May 2024

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

Usage

For instance,

{{module:params/doc/examples/enumerate
	| 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