1,131
edits
No edit summary |
No edit summary |
||
| Line 70: | Line 70: | ||
{ name = 'skill_level', func = 'has_content' }, | { name = 'skill_level', func = 'has_content' }, | ||
{ name = 'tool_effect', func = 'has_content' }, | { name = 'tool_effect', func = 'has_content' }, | ||
-- Forage item -- | |||
{ name = 'forage_level', func = 'has_content' }, | |||
} | } | ||
| Line 324: | Line 328: | ||
} | } | ||
end | end | ||
end | |||
--[[ | |||
Add rows for forage | |||
]] | |||
if ret:paramDefined('forage_level') then | |||
ret:pad(20) | |||
:addRow{ | |||
{ tag = 'th', content = 'Forage', class = 'infobox-subheader', colspan = '20' }, | |||
} | |||
:pad(20) | |||
:addRow{ | |||
{ tag = 'th', content = 'Level', colspan = '7' }, | |||
{ tag = 'argd', content = 'forage_level', colspan = '13' }, | |||
} | |||
end | end | ||
| Line 344: | Line 364: | ||
-- Added if the parameter has content | -- Added if the parameter has content | ||
defined = { | defined = { | ||
aka = 'Pages with AKA' | aka = 'Pages with AKA', | ||
forage_level = 'Forageable Items', | |||
}, | }, | ||
-- Added if the parameter has no content | -- Added if the parameter has no content | ||