Content deleted Content added
mNo edit summary |
Nomenclature: functions "merge_and_call" and "merge_and_invoke" have been renamed to "concat_and_call" and "concat_and_invoke" |
||
Line 72:
If no arguments are passed the vertical bar (<code>|</code>) will be used as parameter separator, with no header and no footer.
=== <code>
; Brief
: Prepends user-given unnamed arguments to the current parameters, or impose user-given named arguments; then propagate everything to a custom template
; Syntax
: <syntaxhighlight lang="wikitext" inline>{{#invoke:params|
}}</syntaxhighlight>
For example, if our <code><nowiki>{{Example template}}</nowiki></code> had the following code,
<syntaxhighlight lang="wikitext">{{#invoke:params|
and it were called with,
Line 93:
If no other argument besides the template name are provided this function simply echoes the current parameters to another template.
=== <code>
; Brief
: Prepends user-given unnamed arguments to the current parameters, or impose user-given named arguments; then propagate everything to a custom module
; Syntax
: <syntaxhighlight lang="wikitext" inline>{{#invoke:params|
}}</syntaxhighlight>
Exactly like [[#
=== <code>call_for_each</code> ===
|