24,527
ARTICLES
ON THIS WIKI
ON THIS WIKI
Module:Infobox/Flower
< Module:Infobox
Documentation for this module may be created at Module:Infobox/Flower/doc
local p = {}
local g = require("Module:Common")
local box = require("Module:Infobox")
local invItem = require("Module:Infobox/InvItem")
function p.main(frame)
local frame, args = g.getFrameAndArgs(frame)
local l = ""
if g.isGiven(args.primary) then
l = l .. box.row("Primary Color", args.primary)
end
if g.isGiven(args.secondary) then
l = l .. box.row("Secondary Color", args.secondary)
end
if g.isGiven(args.stem) then
l = l .. box.row("Stem Color", args.stem)
end
if g.isGiven(args.lifespan) then
l = l .. box.row("Lifespan", args.lifespan)
end
if g.isGiven(args.nectar) then
l = l .. box.row("Nectar", args.nectar)
end
if g.isGiven(args.ph) then
l = l .. box.row("PH Tolerance", args.ph)
end
if g.isGiven(args.moist) then
l = l .. box.row("Moisture Tolerance", args.moist)
end
if g.isGiven(args.temp) then
l = l .. box.row("Temperature Tolerance", args.temp)
end
if g.isGiven(args.rows) then
l = l .. args.rows
end
args.rows = l
frame.args = args
return invItem.main(frame)
end
return p
Twitter Feed
Warning: file_get_contents(/srv/common/): failed to open stream: No such file or directory in /var/www/html/skins/MMWiki/SkinMMWiki.php on line 392
Discussion
To discuss the topics on this wiki, you can visit our community forums!