Модуль:Песочница/Pok: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 63: | Строка 63: | ||
for _, prerequisite in ipairs(tech.technologyPrerequisites) do | for _, prerequisite in ipairs(tech.technologyPrerequisites) do | ||
if prerequisite and prerequisite ~= "" then | if prerequisite and prerequisite ~= "" then | ||
prerequisitesStr = prerequisitesStr .. | prerequisitesStr = prerequisitesStr .. mw.getCurrentFrame():preprocess('<li>{{#invoke:Entity Lookup|createimagetooltip|Файл:' | ||
.. prerequisite .. '.png|' .. prerequisite | .. prerequisite .. '.png|' .. prerequisite | ||
.. '|Мета=32x32px,link=}}' | .. '|Мета=32x32px,link=}}' | ||
| Строка 78: | Строка 78: | ||
for _, recipe in ipairs(tech.recipeUnlocks) do | for _, recipe in ipairs(tech.recipeUnlocks) do | ||
if recipe and recipe ~= "" then | if recipe and recipe ~= "" then | ||
unlocksStr = unlocksStr .. | unlocksStr = unlocksStr .. mw.getCurrentFrame():preprocess('<li>{{#invoke:Entity Lookup|createimagetooltip|Файл:' | ||
.. recipe .. '.png|' .. recipe | .. recipe .. '.png|' .. recipe | ||
.. '|Мета=32x32px,link=}} {{#invoke:Entity Lookup|getname|' | .. '|Мета=32x32px,link=}} {{#invoke:Entity Lookup|getname|' | ||