Module:Infobox Item: Difference between revisions

Jump to navigation Jump to search
143 bytes added ,  09:00, 1 April 2022
no edit summary
No edit summary
No edit summary
Line 20: Line 20:
{ name = 'id', func = 'number' },
{ name = 'id', func = 'number' },
{ name = 'description', func = 'has_content' },
{ name = 'description', func = 'has_content' },
{ name = 'members', func = 'yesNo' },
{ name = 'members', func = 'yes_no' },
{ name = 'level', func = 'number' },
{ name = 'level', func = 'number' },
{ name = 'cost', func = 'has_content' }, -- Todo: Unbuyable
{ name = 'cost', func = 'has_content' }, -- Todo: Unbuyable
Line 27: Line 27:
-- Properties
-- Properties
{ name = 'tradable', func = 'yesNo' },
{ name = 'tradable', func = 'yes_no' },
{ name = 'quest', func = 'has_content' },


-- Market values
-- Market values
Line 34: Line 35:
{ name = 'market_bp_limit', func = 'has_content' }, -- buy price
{ name = 'market_bp_limit', func = 'has_content' }, -- buy price
 
--
}
}


Line 120: Line 121:
:addRow{
:addRow{
{ tag = 'th', content = 'Properties', class = 'infobox-subheader', colspan = '20' },
{ tag = 'th', content = 'Properties', class = 'infobox-subheader', colspan = '20' },
}
:pad(20)
:addRow{
{ tag = 'th', content = 'Tradable', colspan = '7' },
{ tag = 'argd', content = 'tradable', colspan = '13' },
}
:pad(20)
:addRow{
{ tag = 'th', content = '[[Quest|Quests]]', colspan = '7' },
{ tag = 'argd', content = 'quest', colspan = '13' },
}
}


Line 152: Line 165:
end
end


-- if ret:paramDefined('aka') then
-- ret:addRow{
-- { tag = 'th', content = 'Also called', colspan = '7' },
-- { tag = 'argd', content = 'aka', colspan = '13' }
-- }
-- end





Navigation menu