Editing Module:GainLoss
From Fallen London Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 388: | Line 388: | ||
-- Add tracking categories for missing information | -- Add tracking categories for missing information | ||
-- TODO make parent error category Pages missing Gain or Loss information | -- TODO make parent error category Pages missing Gain or Loss information | ||
− | if not (amount or now or occurrence or to | + | if not (amount or now or occurrence or to) then |
result = result .. "{{Noembed|[[Category:Gain or Loss without new value or increase]]}}" | result = result .. "{{Noembed|[[Category:Gain or Loss without new value or increase]]}}" | ||
elseif is_pyramidal and amount and mw.ustring.find(amount, '%?.*CP') then | elseif is_pyramidal and amount and mw.ustring.find(amount, '%?.*CP') then |