Jump to content

Module:ListToText/doc: Difference between revisions

From wikiNonStop
m Cut a trailing newline
 
m 1 revision imported: Initial Setup
 
(No difference)

Latest revision as of 09:54, 12 April 2026

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.