Module:User info 2024: Difference between revisions
Appearance
Content deleted Content added
m RAdimer-WMF moved page Module:Babel from csv to Module:User info 2024: better name, since it can store all functions for that template if needed |
No edit summary |
||
Line 1: | Line 1: | ||
-- Functions needed in [[Template:User info 2024]] |
|||
⚫ | |||
-- Intent is to be used in [[Template:User info 2024]] to allow for a Babel parameter, which takes comma-separated values |
|||
local p = {} |
local p = {} |
||
⚫ | |||
function p.convert( frame ) |
function p.convert( frame ) |
||
return frame:callParserFunction('#babel', mw.text.split(string.gsub(frame.args[1]," ",""),',',plain)) |
return frame:callParserFunction('#babel', mw.text.split(string.gsub(frame.args[1]," ",""),',',plain)) |