Модуль:Предмет: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 20: | Строка 20: | ||
local image | local image | ||
if args["image"] then | if args["image"] then | ||
if image ~= "" then | |||
image = string.format("[[Файл:%s|%s]]", args["image"], size) | |||
else | |||
image = "" | |||
end | |||
else | else | ||
image = string.format("[[Файл:%s.png|%s]]", id, size) | image = string.format("[[Файл:%s.png|%s]]", id, size) | ||