Модуль:Песочница/Pok: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 69: | Строка 69: | ||
-- Основной блок исследования | -- Основной блок исследования | ||
out = out .. '<div class="research" id="' .. tech.id .. '">' | out = out .. '<div class="research" id="' .. tech.id .. '">' | ||
out = out .. frame:preprocess('<div class="research__images">[[Файл: | out = out .. frame:preprocess('<div class="research__images">[[Файл:' .. iconPath .. ']]</div>') | ||
out = out .. frame:preprocess('<div class="research__name"> | out = out .. frame:preprocess('<div class="research__name">' .. tech.name .. '[[Файл:' .. tech.discipline .. '.png|16px|link=]]</div>') | ||
out = out .. '<div class="research__type">' | out = out .. '<div class="research__type">' | ||
out = out .. '<div>Уровень: <span style="color:' .. tierColor .. ';">' .. tech.tier .. '</span></div>' | out = out .. '<div>Уровень: <span style="color:' .. tierColor .. ';">' .. tech.tier .. '</span></div>' | ||