Module:Char col

From Xeno Series Wiki
Revision as of 00:57, 8 March 2023 by Sir Teatei Moonlight (talk | contribs) (Replaced content with "local col_table = mw.loadData("Module:Char col/data") local char_col = {} function char_col.col( frame ) c = col_table[frame.args[1]] if c then return c else return "127,127,127" end end return char_col")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The colour table is at Module:Char col/data, go there to edit it.


local col_table = mw.loadData("Module:Char col/data")

local char_col = {}

function char_col.col( frame )
	c = col_table[frame.args[1]]
	if c then
		return c
	else
		return "127,127,127"
	end
end

return char_col