Module:RequirementBox: Difference between revisions
no edit summary
Admin Jeremy (talk | contribs) No edit summary |
Admin Jeremy (talk | contribs) No edit summary |
||
| Line 24: | Line 24: | ||
local romance = frame:preprocess(args.romance or "") | local romance = frame:preprocess(args.romance or "") | ||
local tricks = frame:preprocess(args.tricks or "") | local tricks = frame:preprocess(args.tricks or "") | ||
local unblock = frame:preprocess(args.unblock or "") | |||
local evolve = frame:preprocess(args.evolve or "") | |||
local bait = frame:preprocess(args.bait or "") | |||
-- build requirements HTML | -- build requirements HTML | ||
| Line 31: | Line 34: | ||
html = html .. renderCategory("Romance", romance) | html = html .. renderCategory("Romance", romance) | ||
html = html .. renderCategory("Tricks", tricks) | html = html .. renderCategory("Tricks", tricks) | ||
html = html .. renderCategory("Unblock", unblock) | |||
html = html .. renderCategory("Evolve", evolve) | |||
html = html .. renderCategory("Bait", bait) | |||
-- decide whether <details> is open | -- decide whether <details> is open | ||