Модуль:Entity Sprite/all: различия между версиями

мНет описания правки
мНет описания правки
Строка 139: Строка 139:
             local base = "https://github.com/space-syndicate/space-station-14/blob/master/Resources/Textures/" .. spritePath .. "/"
             local base = "https://github.com/space-syndicate/space-station-14/blob/master/Resources/Textures/" .. spritePath .. "/"
             joined = mw.ustring.gsub(joined, "([%w_]+)", "[" .. base .. "%1.png %1]")
             joined = mw.ustring.gsub(joined, "([%w_]+)", "[" .. base .. "%1.png %1]")
             stateStr = " (state: " .. joined .. ")"
             stateStr = " " .. joined  
         end
         end
         return mw.getCurrentFrame():preprocess(
         return mw.getCurrentFrame():preprocess(
             "{{Entity Sprite/Image|" .. entry.id ..
             "{{Entity Sprite/Image|" .. entry.id ..
             "|https://github.com/space-syndicate/space-station-14/blob/master/Resources/Textures/" ..
             "|https://github.com/space-syndicate/space-station-14/blob/master/Resources/Textures/" .. spritePath ..
             spritePath .. stateStr .. "}}"
             "|" .. stateStr .. "}}"
         )
         )
     end
     end