Toggle menu
15
236
70
27.5K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 23:33, 10 March 2025 by Prd (talk | contribs) (Created page with "-- Written by User:Ahecht in response to a thread at WP:VPI return { main = function(frame) index, output = {}, "" for k, v in pairs(frame:getParent().args) do if type(k) == 'number' and (v or "") ~= "" then table.insert(index, k) end end table.sort(index) for i, v in ipairs(index) do output = output .. frame:getParent().args[v] .. ((i == #index - 1) and ("'''" .. (#index > 2 and ", " or " ") .. (frame.args.conj or "or") .. " '''") or ((#index > 1 and i < #i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Module:Bold list implements Template:Bold list.



-- Written by User:Ahecht in response to a thread at [[WP:VPI]]
return { main = function(frame)
	index, output = {}, ""
	for k, v in pairs(frame:getParent().args) do
		if type(k) == 'number' and (v or "") ~= "" then table.insert(index, k) end
	end
	table.sort(index)
	for i, v in ipairs(index) do
		output = output .. frame:getParent().args[v] .. ((i == #index - 1) and ("'''" .. (#index > 2 and ", " or " ") .. (frame.args.conj or "or") .. " '''") or ((#index > 1 and i < #index) and "''', '''" or ""))
	end
	return  "'''" .. output .. "'''"
end }