Модуль:Meta Sprite: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 15: | Строка 15: | ||
function p.main(frame) | function p.main(frame) | ||
local mode = frame.args[1] -- Режим | local mode = frame.args[1] -- Режим | ||
local filepath_module_result = frame:expandTemplate{ title = "FilePath", args = { "getOthersPath", frame.args[2] } } | |||
local path = filepath_module_result -- Путь | |||
if not mode or not path then | if not mode or not path then | ||