Module:Infobox Item: Difference between revisions

Jump to navigation Jump to search
260 bytes added ,  15:15, 2 April 2022
no edit summary
No edit summary
No edit summary
Line 35: Line 35:
{ name = 'tradeable', func = 'yes_no' },
{ name = 'tradeable', func = 'yes_no' },
{ name = 'craftable', func = 'yes_no' },
{ name = 'craftable', func = 'yes_no' },
{ name = 'brewable', func = 'yes_no' },
{ name = 'quest', func = 'has_content' },
{ name = 'quest', func = 'has_content' },


Line 179: Line 180:
{ tag = 'th', content = 'Craftable', colspan = '7' },
{ tag = 'th', content = 'Craftable', colspan = '7' },
{ tag = 'argd', content = 'craftable', colspan = '13' },
{ tag = 'argd', content = 'craftable', colspan = '13' },
}
:pad(20)
:addRow{
{ tag = 'th', content = 'Brewable', colspan = '7' },
{ tag = 'argd', content = 'brewable', colspan = '13' },
}
}


Line 416: Line 423:
quest = 'Items missing quest',
quest = 'Items missing quest',
craftable = 'Needs craftable status',
craftable = 'Needs craftable status',
brewable = 'Needs brewable status',
},
},
-- Parameters that have text
-- Parameters that have text
Line 424: Line 432:
tradeable = { yes = 'Tradeable items', no = 'Untradeable items' },
tradeable = { yes = 'Tradeable items', no = 'Untradeable items' },
craftable = { yes = 'Craftable items', no = 'Uncraftable items' },
craftable = { yes = 'Craftable items', no = 'Uncraftable items' },
brewable = { yes = 'Brewable items' },
type = {
type = {
['book'] = 'Books',
['book'] = 'Books',

Navigation menu