Module:Shop: Difference between revisions
No edit summary |
No edit summary |
||
| Line 132: | Line 132: | ||
info.text = data.text or specific | info.text = data.text or specific | ||
info['type'] = data['type'] | info['type'] = data['type'] | ||
--So we don't have dupe pages for Inspo Cards (etc.) and thousands of redirects. | |||
--So we don't have dupe pages for Inspo Cards and thousands of redirects. | |||
if (data['type'] == 'Inspo Card') then | if (data['type'] == 'Inspo Card') then | ||
info.text = ('Inspo Card: ' .. info.text) | 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)) | ||