Module:Infobox Item: Difference between revisions

Jump to navigation Jump to search
803 bytes added ,  15:01, 31 March 2022
no edit summary
No edit summary
No edit summary
Line 72: Line 72:
usesinfobox = 'Uses infobox',
usesinfobox = 'Uses infobox',
})
})
ret:addButtonsCaption()
ret:defineName('Infobox Item')
ret:addClass('infobox-item')
ret:addRow{
{ tag = 'argh', content = 'name', class='infobox-header', colspan = '20' }
}
:pad(20)
:addRow{
{ tag = 'argd', content = 'image', class = 'infobox-image inventory-image infobox-full-width-content', colspan = '20' }
}
:pad(20)
:addRow{
{ tag = 'th', content = 'Released', colspan = '7' },
{ tag = 'argd', content = 'release', colspan = '13' }
}
if ret:paramDefined('removal') then
ret:addRow{
{ tag = 'th', content = 'Removal', colspan = '7' },
{ tag = 'argd', content = 'removal', colspan = '13' }
}
end
if ret:paramDefined('aka') then
ret:addRow{
{ tag = 'th', content = 'Also called', colspan = '7' },
{ tag = 'argd', content = 'aka', colspan = '13' }
}
end


end
end


return p
return p

Navigation menu