Module:Drop Tables: Difference between revisions
Created page with "local p = {} local lib = require('Module:Feature') local Item = require('Module:Item')._main local category = mw.html.create():wikitext('Category:Lootboxes') local TS = lib.thousandsSeparator local total = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame) if tonumber(frame:callParserFunction('#var:transclude', '') or '0') == 1 then args.nocat = 1 end return p._main(args) end function p._main(args) local out = mw.html.create(..." |
No edit summary |
||
| Line 89: | Line 89: | ||
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)) | ||