Module:Infobox Item: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 56: Line 56:
ret:addClass('infobox-item')
ret:addClass('infobox-item')


ret:addRow{
-- ret:addRow{
{ tag = 'argh', content = 'name', class='infobox-header', colspan = '20' }
-- { tag = 'argh', content = 'name', class='infobox-header', colspan = '20' }
}
-- }
:pad(20)
-- :pad(20)
:addRow{
-- :addRow{
{ tag = 'argd', content = 'image', class = 'infobox-image inventory-image infobox-full-width-content', colspan = '20' }
-- { tag = 'argd', content = 'image', class = 'infobox-image inventory-image infobox-full-width-content', colspan = '20' }
}
-- }
:pad(20)
-- :pad(20)
:addRow{
-- :addRow{
{ tag = 'th', content = 'Released', colspan = '7' },
-- { tag = 'th', content = 'Released', colspan = '7' },
{ tag = 'argd', content = 'release', colspan = '13' }
-- { tag = 'argd', content = 'release', colspan = '13' }
}
-- }


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


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





Navigation menu