Модуль:Sandbox: различия между версиями

Нет описания правки
Нет описания правки
Строка 116: Строка 116:
function p.createtexttooltippartvi(frame) -- {{#invoke:Entity Lookup|createtexttooltip|Текст|ProtoID|Pic=картиночка}}
function p.createtexttooltippartvi(frame) -- {{#invoke:Entity Lookup|createtexttooltip|Текст|ProtoID|Pic=картиночка}}
     local out = " "
     local out = " "
     local entity = p.entities[frame.args[2]]
     local entity = p.entities[frame.args[1]]
     local pic = frame.args[3]
     local pic = frame.args[2]
     local stats = frame:expandTemplate{ title = "Особое", args = { frame.args[2] }}
     local stats = frame:expandTemplate{ title = "Особое", args = { frame.args[2] }}
     if entity ~= nil then do
     if entity ~= nil then do
Строка 135: Строка 135:
function p.createtexttooltippartvii(frame) -- {{#invoke:Entity Lookup|createtexttooltip|Текст|ProtoID|Pic=картиночка}}
function p.createtexttooltippartvii(frame) -- {{#invoke:Entity Lookup|createtexttooltip|Текст|ProtoID|Pic=картиночка}}
     local out = " "
     local out = " "
     local entity = p.entities[frame.args[2]]
     local entity = p.entities[frame.args[1]]
     local pic = frame.args[3]
     local pic = frame.args[2]
     local stats = frame:expandTemplate{ title = "Особое", args = { frame.args[2] }}
     local stats = frame:expandTemplate{ title = "Особое", args = { frame.args[2] }}
     if entity ~= nil then do
     if entity ~= nil then do