Jump to content

Module:Params/testcases/mdummy/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Grufo (talk | contribs) at 02:46, 31 January 2024. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This submodule is designed to be used as a dummy callback by templates that want to test Module:Params.

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]





Usage

{{#invoke:Params/testcases/mdummy|function_name}}