Module:Shop: Difference between revisions
m small tweak. |
No edit summary |
||
| (2 intermediate revisions 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'] == ' | |||
--So we don't have dupe pages for Inspo Cards (etc.) and thousands of redirects. | |||
if (data['type'] == 'Inspo Card') then | |||
info.text = ('Inspo Card: ' .. info.text) | |||
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)) | ||
if (not args.nocat) then category:wikitext('[[Category:Sells ', specific, '|', specific, ']]') end | if (not args.nocat) then category:wikitext('[[Category:Sells ', specific, '|', specific, ']]') end | ||