Jump to content

Module:Params/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Grufo (talk | contribs) at 23:41, 29 January 2024 (Grufo moved page User:Grufo/Module:Params/testcases to Module:Params/testcases: Publishing a first draft). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This is the testcases page for testing the behaviour of Module:Params.

The list function

Helper subtemplate {{./echo}}

The {{./echo}} subtemplate calls the list function using the following code:

[[:Module:Params/testcases/echo]]

When transcluded, it echoes the code it was called with, as the following example shows:

Markup Renders as
{{Module:Params/testcases/echo|hello|world|foo=bar}}