Jump to content

Module:ListToText/doc

From wikiNonStop
Revision as of 09:54, 12 April 2026 by Majestix (talk | contribs) (1 revision imported: Initial Setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Module Quality

Usage

This module is invoked by Template:ListToText. To invoke this module from another module, use the call function of this module:

local listToText = require( "Module:ListToText" ).call
-- The following line assigns "1, 2, 3 and 4" to txt:
local txt = listToText { "1", "2", "3", "4" }

Parameters to Template:ListToText are also applicable to this call function. See the template documentation to learn more.