Модуль:Entity Lookup: различия между версиями
Mhamster (обсуждение | вклад) мНет описания правки |
Mhamster (обсуждение | вклад) мНет описания правки |
||
| Строка 9: | Строка 9: | ||
local entity = p.entities[frame.args[2]] | local entity = p.entities[frame.args[2]] | ||
local pic = frame.args[3] | local pic = frame.args[3] | ||
if frame.args[3] == " | if frame.args[3] ~= nil then | ||
pic = "[[" .. frame.args[3] .. "|64x64px|left|middle|link=]] " | |||
else | else | ||
pic = " " | |||
end | end | ||
if entity ~= nil then do | if entity ~= nil then do | ||