Module:Shop: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 132: Line 132:
info.text = data.text or specific
info.text = data.text or specific
info['type'] = data['type']
info['type'] = data['type']
 
--if (data['type'] == 'W-Engine') then
--So we don't have dupe pages for Inspo Cards (etc.) and thousands of redirects.
--info.suffix = 'Icon'
--end
--testing something
if (data['type'] == 'Inspo Card') then
if (data['type'] == 'Inspo Card') then
info.text = (info.text .. ' (Inspo Card)')
info.text = ('Inspo Card: ' .. info.text)
end
end
if (data['type'] == 'Eye Color') then
info.text = ('Eye Color: ' .. info.text)
end
if (data['type'] == 'Eye Style') then
info.text = ('Eye Style: ' .. info.text)
end
if (data['type'] == 'Hair Color') then
info.text = ('Hair Color: ' .. info.text)
end
if (data['type'] == 'Hairstyle') then
info.text = ('Hairstyle: ' .. info.text)
end
row:tag('td'):node(Item(info))
row:tag('td'):node(Item(info))