Модуль:Песочница/Pok: различия между версиями

мНет описания правки
мНет описания правки
Строка 194: Строка 194:
                     end
                     end
                     if foundJob then
                     if foundJob then
                         table.insert(results, "{{ucfirst:{{#invoke:Ftl|main|translation|" .. foundJob .. "}}}}")
                         table.insert(results, "[[{{#invoke:Ftl|main|translation|" .. foundJob .. "}}|{{ucfirst:{{#invoke:Ftl|main|translation|" .. foundJob .. "}}}}]]")
                     end
                     end
                 end
                 end
Строка 235: Строка 235:
                     end
                     end
                     if foundJob then
                     if foundJob then
                         table.insert(results, "{{ucfirst:{{#invoke:Ftl|main|translation|" .. foundJob .. "}}}}")
                         table.insert(results, "[[{{#invoke:Ftl|main|translation|" .. foundJob .. "}}|{{ucfirst:{{#invoke:Ftl|main|translation|" .. foundJob .. "}}}}]]")
                     end
                     end
                 end
                 end
Строка 407: Строка 407:
     local matchingVendingMachinesLinks = {}
     local matchingVendingMachinesLinks = {}
for _, storage in ipairs(matchingVendingMachines) do
for _, storage in ipairs(matchingVendingMachines) do
    table.insert(matchingVendingMachinesLinks, "[[{#invoke:Entity Lookup|getname|" .. storage .. "}}|{{#invoke:Entity Lookup|getname|" .. storage .. "}}]]")
    table.insert(matchingVendingMachinesLinks, "[[{{#invoke:Entity Lookup|getname|" .. storage .. "}}|{{#invoke:Entity Lookup|getname|" .. storage .. "}}]]")
end
end