Module:Sandbox/User:Alsang/PotionList: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(seems to work, has input sanitation now)
(back to testing, wont format properly through template)
Line 10: Line 10:
'[[Category:Potions]]',
'[[Category:Potions]]',
'[[Uses facility::Standard Potion Station||Potent Potion Station]]',
'[[Uses facility::Standard Potion Station||Potent Potion Station]]',
'[[Variant of::Fear]]',
'?Profession Level A = lvl',
'?Profession Level A = lvl',
'? #- = name',
'? #- = name',
Line 141: Line 142:
end
end
if param.has_content(item.brewKP) and param.has_content(item.prepKP) and param.has_content(item.prepDuration) then
if param.has_content(item.brewKP) and param.has_content(item.prepKP) and param.has_content(item.brewDuration) and param.has_content(item.prepDuration) then
item.KPPerHourString = '|| {{formatnum:' .. item.KPPerHour .. '}}'
item.KPPerHourString = '|| {{formatnum:' .. item.KPPerHour .. '}}'
else
else