Jump to content

Module:User info 2024

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by meta>RAdimer-WMF at 19:50, 12 July 2024 (Created page with "-- Formats a Babel parser function call from a list of comma-separated language codes. -- Intent is to be used in Template:User info 2024 to allow for a Babel parameter, which takes comma-separated values local p = {} function p.convert( frame ) output = string.gsub(frame.args[1],",","|") return "{{#babel:" .. output .. "}}" end return p"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
-- Formats a Babel parser function call from a list of comma-separated language codes. 
-- Intent is to be used in [[Template:User info 2024]] to allow for a Babel parameter, which takes comma-separated values

local p = {}

function p.convert( frame )
	output = string.gsub(frame.args[1],",","|")
	return "{{#babel:" .. output .. "}}"
end

return p