Module:Sandbox/BrandonXLF/1/doc: Difference between revisions

Content deleted Content added
Add do note delete notice
clear
Line 1:
{{notice|Please do not delete this module or its doc page.}}
 
[[Module:Call]] calls a template while giving it all the arguments the current page receives. It is meant to be used in the template namespace and will only work in other namespaces if the page it's being used on is transcluded on another page.
 
== Usage ==
There are two ways of using the module, using the <code>default</code> function and using the <code>force</code> function.
 
=== Set '''default''' values for parameters ===
<code>{{((}}#invoke:call{{!}}default{{!}}_=''template''{{))}}</code>
 
When using the <code>default</code> function, parameters supplied to the <code>#invoke</code> call will be overridden by parameters sent to the template calling this module.
 
=== Set '''forced''' values for parameters ===
<code>{{((}}#invoke:call{{!}}force{{!}}_=''template''{{))}}</code>
 
When using the <code>force</code> function, parameters supplied to the <code>#invoke</code> call will override parameters sent to the template calling this module.