Модуль:Предмет: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 70: | Строка 70: | ||
else | else | ||
repository = table.concat({ | repository = table.concat({ | ||
itemContained, | itemContained, | ||
itemSlot, | itemSlot, | ||
| Строка 79: | Строка 76: | ||
end | end | ||
local result = image .. " " .. repository | local result = image .. " " .. labelOutput .. " " .. itemStack .. " " .. prefix .. " " .. repository | ||
-- Обработка LinkCard, если указан параметр wrapper | -- Обработка LinkCard, если указан параметр wrapper | ||
| Строка 102: | Строка 99: | ||
return frame:preprocess(string.format( | return frame:preprocess(string.format( | ||
"{{LinkCard|name=%s|image=%s|pixel=%s|link=%s|SideStyle=1}}", | "{{LinkCard|name=%s %s %s|pin=%s|image=%s|pixel=%s|link=%s|SideStyle=1}}", | ||
repository, imageParam, pixel, linkParam | labelOutput, itemStack, prefix, repository, imageParam, pixel, linkParam | ||
)) | )) | ||
end | end | ||