Module:Infobox regtemp: Difference between revisions

TallKite (talk | contribs)
can't get it to work, reverting
TallKite (talk | contribs)
add color name
Line 23: Line 23:
local mos = frame.args["mosses"]
local mos = frame.args["mosses"]
local ploidacot = frame.args["ploidacot"]
local ploidacot = frame.args["ploidacot"]
local colorname = frame.args["colorname"]
local pergen = frame.args["pergen"]
local pergen = frame.args["pergen"]
Line 142: Line 143:
ploidacot
ploidacot
})
})
if colorname ~= "0" then
table.insert(data, {
"Color name",
colorname
})
end
if pergen ~= "0" then
if pergen ~= "0" then