Module:Params/testcases/mdummy/doc: Difference between revisions
From Kenshi Wiki
More actions
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
[[Category:Module testcases]] | [[Category:Module testcases]] | ||
[[Category:Module sand&test]] | [[Category:Module sand&test]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
[[Category:Module documents]] | [[Category:Module documents]] | ||
[[Category:Module sand&test documents]] | [[Category:Module sand&test documents]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:28, 9 March 2025
This submodule is designed to be used as a dummy callback by templates that want to test Module:Params.
Usage
{{#invoke:Params/testcases/mdummy|function_name}}
Functions
Here follows the list of functions.
echo_sb
The echo_sb
function simply echoes all the parameters it was called with, surrounding these within square brackets. It is virtually identical to the {{Module:Params/testcases/tdummy echo sb}} template.
Examples:
{{#invoke:params/testcases/mdummy|echo_sb|foo|bar|Jupiter|hello=world}}
- ↳ [1=foo][2=bar][3=Jupiter][hello=world]