Content deleted Content added
m Addressed unclosed tags (tracked syntax error) |
|||
Line 1,374:
<syntaxhighlight lang="wikitext">{{#invoke:params|discarding|1|4|for_each|[$#: $@]}}</syntaxhighlight>
When used to discard single parameters this modifier is equivalent to writing <code>...|[[Module:Params#with_name_not_matching|with_name_not_matching]]|''parameter name''|strict|...</code>. However, due to the fact that <code>[[Module:Params#with_name_not_matching|with_name_not_matching]]</code> will need to cross-check for the possible presence of <code>or</code> keywords, using <code>discarding</code> will be slightly more efficient.
{{A note}} All arguments passed to this modifier and the <code>discarding</code> modifier name itself will be trimmed of their surrounding spaces.
|