Module:Extra Effect: Difference between revisions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
function p._main(args, frame) | function p._main(args, frame) | ||
local displaytext = args[1] | local displaytext = args[1] | ||
local effect = lib.isNotEmpty(args[2]) and args[2] or displaytext | local effect = lib.isNotEmpty(args[2]) and args[2] or displaytext -- refers to the name of the effect | ||
local entry | local entry | ||