Module:Params/doc/examples/enumerate/doc: Difference between revisions
Appearance
Content deleted Content added
add internal link |
mNo edit summary |
||
Line 5: | Line 5: | ||
<syntaxhighlight lang="wikitext">{{module:params/doc/examples/enumerate |
<syntaxhighlight lang="wikitext">{{module:params/doc/examples/enumerate |
||
| 1 = cream |
|||
| 2 = bingo |
|||
| hello = world |
| hello = world |
||
| foobar1 = one |
| foobar1 = one |
||
Line 17: | Line 19: | ||
{{module:params/doc/examples/enumerate |
{{module:params/doc/examples/enumerate |
||
| 1 = cream |
|||
| 2 = bingo |
|||
| hello = world |
| hello = world |
||
| foobar1 = one |
| foobar1 = one |
Revision as of 19:47, 17 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
| 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