Content deleted Content added
Line 1,205:
The first argument indicates at which point in the parameter list the removal must begin, the second argument indicates how many parameters must be discarded among it and what lies ''on the right side''. If the second argument contains zero or a negative number its absolute value indicates what must be left ''at the end of the right side'' of the list of numeric parameters – i.e. <syntaxhighlight lang="wikitext" inline>{{#invoke:params|purging|5|0|list}}</syntaxhighlight> indicates that every numeric argument whose numeric name is greater than <code>4</code> must be removed.
Example #1 (purge the first parameter):
<syntaxhighlight lang="wikitext">{{#invoke:params|purging|
Example #2 (purge the second, third, and four parameters):
<syntaxhighlight lang="wikitext">{{#invoke:params|purging|2|3|call_for_each_value|example template}}</syntaxhighlight>
{{vpad|1.5em|clear=none}}
|