Module:Infobox Scenery: Difference between revisions

no edit summary
(Created page with "-------------------------- -- Module for Template:Infobox Scenery ------------------------ local p = {} local onmain = require('Module:Mainonly').on_main local infobox = require('Module:Infobox') function p.main(frame) local args = frame:getParent().args local ret = infobox.new(args) ret:defineParams{ { name = 'name', func = 'name' }, { name = 'image', func = 'image' }, { name = 'image_smw', func = { name = image_smw, params = { 'image' }, flag = 'p' } },...")
 
No edit summary
 
Line 72:
:pad(20)
 
-- ret:addRow{
-- { tag = 'th', content = 'Released', colspan = '8' },
-- { tag = 'argd', content = 'release', colspan = '12' }
-- }
 
if ret:paramDefined('removal') then
Line 91:
end
 
-- ret:addRow{
-- { tag = 'th', content = '[[Members]]', colspan = '8' },
-- { tag = 'argd', content = 'members', colspan = '12' }
-- }
if ret:paramDefined('quest', 'all') then
Line 104:
ret:addRow{
{ tag = 'th', content = '[[Locations|Location]]', colspan = '8' },
{ tag = 'argd', content = 'location', colspan = '12' }
}
Line 117:
if ret:paramDefined('icon', 'all') then
ret:addRow{
{ tag = 'th', content = '[[Map icon]]', colspan = '8' },
{ tag = 'argd', content = 'icon', colspan = '12' }
}
Line 124:
if ret:paramDefined('options') then
ret:addRow{
{ tag = 'th', content = '[[Choose Option|Options]]', colspan = '8' },
{ tag = 'argd', content = 'options', colspan = '12' }
}
Line 130:
 
ret:addRow{
{ tag = 'th', content = '[[Examine]]', colspan = '8' },
{ tag = 'argd', content = 'examine', colspan = '12' }
}