Module:Bold list: Difference between revisions
Appearance
Orangestar (talk | contribs) m 1 revision imported: Add Infobox stuff and templates |
Orangestar (talk | contribs) m Text replacement - "[[WP:" to "[[wikipedia:WP:" |
||
Line 1: | Line 1: | ||
-- Written by User:Ahecht in response to a thread at [[WP:VPI]] | -- Written by User:Ahecht in response to a thread at [[wikipedia:WP:VPI]] | ||
return { main = function(frame) | return { main = function(frame) | ||
args = {} | args = {} |
Latest revision as of 17:56, 13 June 2024
Documentation for this module may be created at Module:Bold list/doc
-- Written by User:Ahecht in response to a thread at [[wikipedia:WP:VPI]]
return { main = function(frame)
args = {}
for i, v in ipairs(frame:getParent().args) do table.insert(args, v) end
conj = "'''" .. (#args > 2 and ", " or " ") .. (frame.args.conj or "or") .. " '''"
return "'''"..mw.text.listToText(args, "''', '''", conj).."'''"
end }